Downloads of v 5.6.0


Average downloads per day


Last published

Share on Social Networks

ODataLib for OData v1-3


Classes to serialize, deserialize and validate OData payloads. Enables construction of OData producers and consumers. Targets .NET 4.0, Silverlight 4.0 or .NET Portable Lib with support for .NET 4.0, SL 4.0, Win Phone 7, and Win 8. Localized for CHS, CHT, DEU, ESN, FRA, ITA, JPN, KOR and RUS.

To install ODataLib for OData v1-3, run the following command in the Package Manager Console

Install-Package Microsoft.Data.OData -Version 5.6.0

Release Notes

What is in the release:

Visual Studio 2013 Support

The WCF DS 5.6.0 tooling installer has support for Visual Studio 2013. If you are using Visual Studio 2013 and would like to consume OData services, you can use this tooling installer to get Add Service Reference support for OData. Should you need to use one of our prior runtimes, you can still do so using the normal NuGet package management commands (you will need to uninstall the installed WCF DS NuGet packages and install the older WCF DS NuGet packages).

Portable Libraries

All of our client-side libraries now have portable library support. This means that you can now use the new JSON format in Windows Phone and Windows Store apps. The core libraries have portable library support for .NET 4.0, Silverlight 5, Windows Phone 8 and Windows Store apps. The WCF DS client has portable library support for .NET 4.5, Silverlight 5, Windows Phone 8 and Windows Store apps. Please note that this version of the client does not have tombstoning, so if you need that feature for Windows Phone apps you will need to continue using the Windows Phone-specific tooling.

URI Parser Integration

The URI parser is now integrated into the WCF Data Services server bits, which means that the URI parser is capable of parsing any URL supported in WCF DS. We have also added support for parsing functions in the URI Parser.

Public Provider Improvements - Reverted

In the 5.5.0 release we started working on making our providers public. In this release we hoped to make it possible to override the behavior of included providers with respect to properties that don’t have native support in OData v3, for instance enum and spatial properties. Unfortunately we ran into some non-trivial bugs with $select and $orderby and needed to cut the feature for this release.

Public Transport Layer

In the 5.4.0 release we added the concept of a request and response pipeline to WCF Data Service Client. In this release we have made it possible for developers to directly handle the request and response streams themselves. This was built on top of ODataLib's IODataRequestMessage and IODataResponseMessage framework that specifies how requests and responses are sent and recieved. With this addition developers are able to tweak the request and response streams or even completely replace the HTTP layer if they so desire. We are working on a blog post and sample documenting how to use this functionality.

Breaking Changes

In this release we took a couple of breaking changes. As these bugs are tremendously unlikely to affect anyone, we opted not to increment the major version number but we wanted everyone to be aware of what they were:
- Developers using the reading/writing pipeline must write to Entry rather than Entity on the WritingEntryArgs
- Developers should no longer expect to be able to modify the navigation property source in OnNavigationLinkStarting and OnNavigationLinkEnding
- Developers making use of the DisablePrimitiveTypeConversion knob may see a minor change in their JSON payloads; the knob previously only worked for the ATOM format

Bug Fixes

- Fixes a performance issue with models that have lots of navigation properties
- Fixes a performance issue with the new JSON format when creating or deleting items
- Fixes a bug where DisablePrimitiveTypeConversion would cause property type annotations to be ignored in the new JSON format
- Fixes a bug where LoadProperty does not remove elements from a collection after deleting a link
- Fixes an issue where the URI Parser would not properly bind an action to a collection of entities
- Improves some error messages

Known Issues

The NuGet runtime in Visual Studio needs to be 2.0+ for Add Service Reference to work properly. If you are having issues with Add Service Reference in Visual Studio 2012, please ensure that NuGet is up-to-date.



Microsoft Corporation



Version History

Version Downloads Last updated
ODataLib for... 5.8.2 752,919 Monday, February 6, 2017
ODataLib for... 5.8.1 426,188 Tuesday, November 8, 2016
ODataLib for... 5.8.0 65,099 Monday, October 31, 2016
ODataLib for... 5.8.0-beta 7,687 Friday, September 30, 2016
ODataLib for... 5.7.0 2,016,626 Friday, November 20, 2015
ODataLib for... 5.7.0-rc 10,544 Friday, October 30, 2015
ODataLib for... 5.7.0-beta 9,948 Thursday, September 10, 2015
ODataLib for... 5.6.5-beta 26,553 Friday, June 26, 2015
ODataLib for... 5.6.4 3,529,383 Monday, March 30, 2015
ODataLib for... 5.6.3 595,655 Tuesday, October 21, 2014
ODataLib for... 5.6.2 1,607,521 Friday, August 1, 2014
ODataLib for... 5.6.1 499,598 Tuesday, February 25, 2014
ODataLib for... 5.6.0 (this version) 1,769,662 Friday, August 16, 2013
ODataLib 5.6.0-rc1 9,556 Tuesday, July 30, 2013
ODataLib 5.6.0-alpha1 9,215 Friday, June 28, 2013
ODataLib 5.5.0 230,288 Thursday, May 30, 2013
ODataLib 5.5.0-rc1 8,545 Tuesday, May 14, 2013
ODataLib 5.5.0-alpha2 11,375 Friday, April 26, 2013
ODataLib 5.5.0-alpha1 7,744 Tuesday, April 9, 2013
ODataLib 5.4.0 150,167 Tuesday, April 2, 2013
ODataLib 5.4.0-rc1 7,851 Tuesday, March 19, 2013
ODataLib 5.3.0 140,846 Monday, February 18, 2013
ODataLib 5.3.0-rc1 8,933 Thursday, January 31, 2013
ODataLib 5.2.0 4,729,755 Monday, December 17, 2012
ODataLib 5.2.0-rc1 21,971 Monday, December 3, 2012
ODataLib 5.1.0 26,786 Wednesday, November 7, 2012
ODataLib 5.1.0-rc2 17,828 Friday, September 21, 2012
ODataLib 5.1.0-rc1 2,124 Wednesday, July 11, 2012
ODataLib 5.0.2 100,404 Wednesday, August 29, 2012
ODataLib 5.0.2-rc 563 Wednesday, August 15, 2012
ODataLib 5.0.1 41,670 Friday, May 18, 2012
ODataLib 5.0.1-rc 638 Tuesday, May 8, 2012
ODataLib 34,200 Wednesday, April 11, 2012