Microsoft.Data.OData 5.5.0

Classes to serialize, deserialize and validate OData payloads. Enables construction of OData producers and consumers.

Targets .NET 4.0 or Silverlight 4.0.
Localized for CHS, CHT, DEU, ESN, FRA, ITA, JPN, KOR and RUS.

There is a newer version of this package available.
See the version list below for details.
Install-Package Microsoft.Data.OData -Version 5.5.0
dotnet add package Microsoft.Data.OData --version 5.5.0
<PackageReference Include="Microsoft.Data.OData" Version="5.5.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Microsoft.Data.OData --version 5.5.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

------------------------------New Features------------------------------

URI Parser

With this release, the URI Parser in ODataLib is nearly complete. The URI Parser is now capable of parsing nearly every URI supported by the current OData stacks at Microsoft (Web API and WCF Data Services).

Public Data Source Providers

We frequently get requests to make the data source providers in WCF Data Services public. Making these providers public enables a number of profoundly interesting scenarios ranging from changing the behavior of an existing provider to adding support for features we don't currently support. The work completed in this release will allow limited modifications of the existing providers. We plan to enable more scenarios here in the future.

Performance Improvements

We constantly strive to improve performance and reliability with every release. In this release, we have increased performance by double digit percentages for service authors that want to respond with JSON but are not able to (or don't want to) provide a data model to ODataLib.

Improved Developer Experience

In this release we have caught up with some missing IntelliSense guidance and we are uploading symbols and source to We will upload symbols for many of our past releases as well.

------------------------------Bug fixes------------------------------

In addition to the features above, we have included fixes for the following notable bugs:
- Fixes an issue where the reflection provider would not work properly if the generic parameter provided to DataService<T> was an interface
- Fixes an issue where some system headers were not being set when a client called BuildingRequest
- Fixes an issue where setting InstanceContextMode to Single on DataService would result in cache result being returned for subsequent requests
- Fixes an issue where ODataLib would sometimes allow null to be written whether or not the expected type was nullable
- Fixes a regression in 5.4 where ODataLib started writing unnecessary type information in certain instances
- Fixes an issue where the WCF DS client would sometimes not dispose the response if the response had no content
- Improves a number of errors and error messages

Showing the top 10 GitHub repositories that depend on Microsoft.Data.OData:

Repository Stars
Orleans is a cross-platform framework for building distributed applications with .NET
Experience, Learn and Code the latest breakthrough innovations with Microsoft AI
Store securely encrypted backups in the cloud!
The open source diagnostics platform for the web
Welcome to the Bot Framework samples repository. Here you will find task-focused samples in C#, JavaScript and TypeScript to help you get started with the Bot Framework SDK!
Open Source ASP.NET MVC Ecommerce Shopping Cart Solution
SharePoint / Office 365 Developer Patterns and Practices
Collaborative chat done right
.NET is a cross-platform runtime for cloud, IoT, and desktop apps.
Domain Driven Design Example C#

Read more about the GitHub Usage information on our documentation.

Version History

Version Downloads Last updated
5.8.4 3,982,116 8/14/2018
5.7.0 5,755,097 11/20/2015
5.7.0-rc 12,160 10/30/2015
5.7.0-beta 18,595 9/10/2015
5.6.5-beta 35,121 6/26/2015
5.6.4 12,101,921 3/30/2015
5.6.3 979,556 10/21/2014
5.6.2 3,666,288 8/1/2014
5.6.1 682,383 2/25/2014
5.6.0 3,172,536 8/16/2013
5.6.0-rc1 10,451 7/30/2013
5.6.0-alpha1 10,077 6/28/2013
5.5.0 267,530 5/30/2013
5.5.0-rc1 9,398 5/14/2013
5.5.0-alpha2 12,844 4/26/2013
5.5.0-alpha1 8,571 4/9/2013
5.4.0 165,825 4/2/2013
5.4.0-rc1 8,689 3/19/2013
5.3.0 156,018 2/18/2013
5.3.0-rc1 10,010 1/31/2013
5.2.0 5,542,154 12/17/2012
5.2.0-rc1 24,710 12/3/2012
5.1.0 28,481 11/7/2012
5.1.0-rc2 19,999 9/21/2012
5.1.0-rc1 2,841 7/11/2012
5.0.2 127,080 8/29/2012
5.0.2-rc 1,105 8/15/2012
5.0.1 55,591 5/18/2012
5.0.1-rc 1,220 5/8/2012 82,433 4/11/2012
Show less