Silverlight and Windows Phone 7 Now Supported
I’ve added support for Silverlight 4 and Windows Phone 7 to RestSharp. Please try it out and report back any errors or other feedback you have. You can download the latest revision here.
Here’s an example:
var client = new RestClient("http://example.com");
var request = new RestRequest("resource", Method.POST);
client.ExecuteAsync<Resource>(request, (response) => {
var resource = response.Data;
});
As a side note, the core library is also now set to use the Client Profile by default. The Async methods from Silverlight/WP7 are also available in the core library as well.
