O'Reilly logo

Windows Phone 7.5 Data Cookbook by Ramesh Thalli

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

Consuming OData services

This recipe demonstrates how to access OData using a simple URI. For this recipe, we will use the DataSvcUtil to generate the proxy classes instead of adding a reference.

Getting ready

For this sample, we will be using an OData API exposed by Netflix, an online movie rental company. At the time of writing the book, this service was in preview mode; please refer to the online documentation for the latest changes:

  1. Using your browser you can navigate to http://developer.netflix.com/docs/oData_Catalog to find all the documentation about the OData API.
  2. You can browse OData using http://odata.netflix.com/catalog/. We will be using this link to consume the data in this recipe.
  3. There are several features available for us to consume ...

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