Odata services in Portable class library

Motivation:

Today I’m working in a sample for consuming services in Windows 8 Store Apps. For this sample I will use:

Northwind Service – Read-Only

This service exposes the famous Northwind sample database in read-only mode via OData.

browse…

When I started I thought of using Portable Class Library for after to add this project as a reference in a Windows 8 and Windows Phone project.

Problem

After I created the project, as a Portable Class Library, I tried to add the service reference:

http://services.odata.org/Northwind/Northwind.svc/

But I had problems, here is the message:

2.4

 

I went to the link reference: WCF Data Services Tools for Visual Studio  but this contains only reference for

and I need for Portable Class Libraries.

After some search I read this:

Conclusion:

I conclude the OData Service is not supported in Portable Class Libraries., yet!

Related References:

Open Data Protocol – .NET/Silverlight/WP7 Libraries and Frameworks

 

2 thoughts on “Odata services in Portable class library

  1. Pingback: Sharing Code between Windows Store and Windows Phone App (PCL + MVVM + OData) | typeof(saramgsilva)

  2. Pingback: Creating portable code in Windows Store Apps (PCL + MVVM + OData Services) | typeof(saramgsilva)

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>