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.
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 :
- DataSvcutil.exe /uri:http://www.nerddinner.com/Services/OData.svc/ /DataServiceCollection /Version:2.0
/out:nerdDinnerClient.cs - 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