Silverlight Feeds - All your Silverlight feeds in one place.

Sponsors

Tuesday, April 05, 2011

Producing and Consuming OData in a Silverlight and Windows Phone 7 application (Part 3)

by mbcrump via Michael Crump on 4/5/2011 1:45:05 PM

This article is Part 3 of the series “Producing and Consuming OData in a Silverlight and Windows Phone 7 application.” You can read any of the parts you may have missed by clicking on the links below.

  1. Producing and Consuming OData in a Silverlight and Windows Phone 7 application. (Part 1) – Creating our first OData Data Source and querying data through the web browser and LinqPad.
  2. Producing and Consuming OData in a Silverlight and Windows Phone 7 application. (Part 2 ) – Consuming OData in a Silverlight Application.
  3. Producing and Consuming OData in a Silverlight and Windows Phone 7 application. (Part 3)  – Consuming OData in a Windows Phone 7 Application.

To refresh your memory on what OData is:

The Open Data Protocol (OData) is simply an open web protocol for querying and updating data. It allows for the consumer to query the datasource (usually over HTTP) and retrieve the results in Atom, JSON or plain XML format, including pagination, ordering or filtering of the data.

To recap what we learned in the previous section on Silverlight 4:

  • We began by creating the User Interface and setting up our bindings on our elements. 
  • We added a service reference pointing to our OData Data Service inside our project. 
  • Finally, we added code behind to sort and filter the data coming from our OData Data Source into our Silverlight 4 Application.

In this article, I am going to show you how to consume an OData Data Source using Windows Phone 7. After you have read this series of articles you should be able to produce and consume an OData Data Source using the web browser, LinqPad, Silverlight 4 and Windows Phone 7. We have also learned how to do some basic sorting and filtering using all the same. Now that you are equipped with a solid understanding of producing and consuming OData Data Services, you can begin to use this in your own applications. I want to thank you for reading this series and if you ever have any questions feel free to contact me.

    The Full Article

    The full article is hosted on SilverlightShow and you can access it by clicking here. Don’t forget to rate it and leave comments if you have any problems.

    alt Subscribe to my feed

    email it!bookmark it!digg it!

    Original Post: Producing and Consuming OData in a Silverlight and Windows Phone 7 application (Part 3)

    Subscribe

    New Feed

    Product Spotlight

    Recently Updated Sources

    Legal Note

    The content of the postings is owned by the respective author. Silverlight Feeds is not responsible for the contents of the postings. This site is automatically generated and cannot be reviewed for abusive content. If you find abusive content on Silverlight Feeds, please contact us. Designated trademarks and brands are the property of their respective owners. All rights reserved.

    Advertise with us