Monday, April 30, 2012

Using oData feeds in Windows 8

The oData integration in Windows 8 Metro-Style applications is not yet at the level of other kind of applications. But to get you going Microsoft released a preview version of the client libraries for Windows 8 Metro-Style.

odata

How to use this version?

As the “Add Service Reference” feature for oData in Visual Studio 2012 is not available yet, you’ll have to generate the client
types manually.

  • Open a command prompt as administrator and navigate to %windir%\Microsoft.NET\Framework\v4.0.30128
  • Run the following command :
  • Afterwards you can create a Metro Style application and import the generated file.

More information here: http://blogs.msdn.com/b/phaniraj/archive/2012/04/26/developing-windows-8-metro-style-applications-that-consume-odata.aspx

No comments: