views:

60

answers:

1

I have a WCF RESTful service using the WebHttpBinding and I want to know if I can use this in Silverlight 3 without any modifications?

+1  A: 

You can make HTTP requests from a Silverlight client, so therefore yes you can access a WCF Restful service using WebHttpBinding.

What part of making an HTTP request do you not know how to do?

Darrel Miller
AWC
Just don't do it. Using the client proxy will cause all sorts of bad habits. MS have a great HTTP client library in their REST starter kit and someone has done a port of it to Silverlight here http://www.hardcodet.net/2010/02/wcf-rest-starter-kit-for-silverlight
Darrel Miller
@Darrel - thanks for the heads up...
AWC