I know SL 3 didn’t have this but from reading about SL 4, it sounds like it supports WebHttpBinding for REST…
But how do I create one in code? I can’t find WebHttpBinding anywhere in the ServiceModel.* assemblies for Silverlight?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You don’t get the webHttpBinding per se in SL4:
(source: Silverlight and WCF Feature Comparison)
but you can access a WCF REST service since it’s really “just” XML over HTTP.
Check out this MSDN library article here:
Accessing HTTP and REST-Based Services Directly