Oh Add Reference... OData. OData Client Tools for Windows Phone 8 now available (And a VB.Net for WinRT OData article thrown in as a bonus!)
OData Client Tools for Windows Phone 8 brings OData V3 support to the Windows Phone platform. This release enables you to consume OData V3 services in your Windows Phone application. More specifically, this exciting release extends the Add Service Reference experience with client-side OData support for developing Windows Phone 7 and Windows Phone 8 applications using Windows Phone SDK 8.0. The tooling adds references that are capable of consuming OData services up to v3.
How can I get the installer?
You can download the installer for OData Client Tools for Windows Phone 8 from the download center. This release is not included with Windows Phone SDK 8.0 and needs to be installed separately. This release model will enable us to make release updates and fixes for the client tools and runtime components in a more efficient way.
If you don’t install the client tools and start using Add Service Reference to consume an OData service you will be prompted with a message such as the below:
What is in this release?
As mentioned at the beginning, this release brings OData V3 support to Windows Phone platform. You can now write Windows Phone 7.1 and Windows Phone 8 applications using Windows Phone SDK 8.0 and take advantage of exciting OData v3 features like:
- Spatial: You can now take advantage of the spatial support in OData v3 to create location aware OData enabled phone apps
- Actions: You can now invoke actions defined on an OData V3 service.
- Any/All Queries: You can now express queries like “are there any customers which have no orders”
- Vocabularies: You can now consume vocabularies for creating richer experiences on Windows Phone applications
- Properties Defined on Subtypes: You can now have better inheritance support by consuming models which have properties (primitive, complex and navigation) defined on subtypes of the base type associated with the set.
- ODataLib/EdmLib: You can now use these lower level libraries on Windows Phone.
The OData Client Tools for Windows Phone Apps installer brings OData v3 support for Windows Phone apps and extends the Add Service Reference experience with client-side OData support for developing Windows Phone 7 and Windows Phone 8 applications using Windows Phone SDK 8.0.
Date published: 10/29/2012
WcfDataServicesWindowsPhone.exe, 7.9 MB
The OData Client Tools for Windows Phone Apps installer extends the Add Service Reference experience with client-side OData support for developing Windows Phone 7 and Windows Phone 8 applications using Windows Phone SDK 8.0. The tooling will add references capable of consuming OData services up to v3.
Supported operating systems: Windows 8
- Other Requirements:
- Microsoft .NET Framework 4.5
- Microsoft Visual Studio 2012 with Windows Phone SDK 8.0 or Microsoft Visual Studio Express 2012 for Windows Phone 8
"As I’ve been searching the internet to try and find ways of accessing OData Feeds in visual basic .net and not finding much help I thought I’d put together a small example to help others.
This will use a demo OData feed to pull customer records from an example banking application. The feed is located in an Azure Cloud Service and is accessed by the following URL
(This feed may be removed in the future)
The first thing to do is create a Visual Basic Blank Windows Store XAML application.
Also add a basic page called CustomerPage.
We've got some C#, VB.Net and OData! What more could you want? (okay, okay... I know. It's been a long day... ;). But seriously, this tool will make consuming OData much easier. As for the VB post, VB needs some post love too...