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.

Posted July 15th, 2:47 PM - Link

View Comments

Another Sample Library

I’ve posted another RestSharp-based library on GitHub called FoSharp for accessing the Notifo API. This is a really useful and simple API that currently lets you send notifications to an iPhone (other devices are in the works). The API is small and straightforward and with RestSharp I wrote a wrapper in under 30 minutes. Expect to see more of these types of projects pop up on my GitHub page.

Posted March 30th, 7:28 PM - Link

View Comments