O'Reilly logo

Microsoft Silverlight 5 Data and Services Cookbook by Kevin Dockx, Gill Cleeren

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Accessing REST services from Windows Phone 7 using JSON

In the previous recipe, we looked at how we could connect to a REST service that returned XML. The REST service itself was a WCF service that was configured to act as a REST service. XML is not the only format often used in REST scenarios; often JSON is used. In this recipe, we'll look at how we can connect and communicate from a WP7 application with a REST service that returns JSON.

Getting ready

If you have been working through the recipes of this chapter, you can keep using your own code. Alternatively, you can use the starting solution located in the Chapter13/BluRayCollector_JSON_Starter folder. The completed solution is located in the Chapter13/BluRayCollector_JSON_Completed folder. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required