Service routing WCF RestFul/JSON - wcf

What would be the best approach to use the build-in ServiceRouter in 4.0 for WCF/JSON services?
Does anybody know any good article sample about this? I need to know how to filter the messages for an specific service in order to assing them like with the case WCF/SOAP
Thanks in advance

I was looking for answer myself and this is what I've found:
The Routing Service does not currently support routing of WCF REST services. To route REST calls, consider using System.Web.Routing or Application Request Routing

Related

Using basicHttpbinding and get the response in raw data

I've looked all day and I couldn't able to find a correct answer on how get the response of my Web Service using basicHttpBinding without the SOAP formatting.
Can anyone know how to do that ? or another way for getting the raw data ? (like a string)
You have to use webhttpBinding. Look at the following articles, it might help you:
Creating WCF Service with SOAP/REST Endpoints
How to enable REST and SOAP both on the same WCF Service
An Introduction To RESTful Services With WCF

Requesting data from WCF Webservice with Qooxdoo

I have a qooxdoo web application which should be able to request data from a WCF web service. The WCF service uses SOAP. I'm currently looking for a way to set up the communication between my qooxdoo application and the WCF web service.
Is there a way to get this done? I saw that qooxdoo is supporting REST and I'm looking for something like a SOAP module in qooxdoo.
Thanks in advance!
There's an ancient contrib, probably unmaintained, at http://svn.code.sf.net/p/qooxdoo-contrib/code/trunk/qooxdoo-contrib/Soap/0.5.1/. You might not be able to use it right away, but I think the source code there will need just a few changes to become usable.

WCF Resftul webHttpBinding Service with custom authentication filter

Masters,
I am new to WCF but aware about Web API's [Authorize] attribute.
Same i want to duplicate for WCF REST basic authentication service, Expecting as the security header will pass in every subsequent request once authenticated.
We target to make Restful service using webHttpBinding. Please provide any relevant example to achieve this. Also we target to run same on Https then.
Things seems much simpler in Web API but not in WCF.
I googled and get some answers like
Something like an operation filter in WCF REST?
Can anybody give me simpler way to achieve this very straight forward as we do in Web API.
Thanks.
There's some nice article and projects for activating authentication in WCF:
http://blogs.msdn.com/b/pedram/archive/2007/10/05/wcf-authentication-custom-username-and-password-validator.aspx
http://www.codeproject.com/Articles/36289/8-steps-to-enable-windows-authentication-on-WCF-Ba
And then: http://msdn.microsoft.com/en-us/library/bb398990.aspx
Edit:
See this article: Custom Basic Authentication for RESTful services
Hope helps.

ASPNetCacheProfile for Self Hosted WCF?

I think the answer is "no", but is it possible to use ASPNetCacheProfile or something equally easy to cache certain response patterns in a self-hosted WCF 4.0 REST service?
Thanks.
Was answering some other posts for WCF when i stumbled upon this question i think this is what you are looking for http://blogs.msdn.com/b/endpoint/archive/2010/01/28/integrating-asp-net-output-caching-with-wcf-webhttp-services.aspx the answes is yes you can use ASPNetCacheProfile to cache response for WCF Rest Service

WCF 4 Routing service wif

Does anybody know would be the configuration of the routing service for one scenario like the one described here http://zamd.net/2011/02/08/silverlight-claim-based-security/?
Regards
My answer is not complete since I have not fully tested yet. However the following link seems interesting : WCF4 routing with WIF
Also this