During the BUILD conference, right after the announcement of the public release of the Windows Phone 8 SDK, Microsoft has also announced, as expected, that Azure Mobile Services, that we’ve learned to use in the previous posts, are now compatible with Windows Phone 8.
Do you remember the tricky procedure that we had to implement in this post to manually interact with the server? If you’re going to develop an application for Windows Phone 8 you can forget it, since now the same great SDK we used to develop a Windows Store app is now available also for mobile. This means that we can use the same exact APIs and classes we’ve seen in this post, without having to make HTTP requests to the server and manually parsing the JSON response.
The approach is exact the same: create an instance of the MobileServiceClient class (passing your service’s address and the secret key) and start doing operations using the available methods.
The only bad news? If your application is targeting Windows Phone 7, you still have to go with the manual approach, since the new SDK is based on WinRT and it’s compatible just with Windows Phone 8.
You can download the SDK from the following link: https://go.microsoft.com/fwLink/?LinkID=268375&clcid=0x409
Hi, I realy enjoyed your post, but for my WP 7 app I’m using RestSharp for building my request, and I need to get my result after applying a sort on a particular column. Is there anyway of doing it with RestSharp when building my request?
Regards,
Selekat
Give a look to the OData documentation: http://www.odata.org/documentation/overview It’s possible to do queries by appending some parameters in GET to the request.
Thanks Mateo, this link was very helpful.