Microsoft.Data.Services 5.5.0

The ID prefix of this package has been reserved for one of the owners of this package by Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package Microsoft.Data.Services --version 5.5.0
NuGet\Install-Package Microsoft.Data.Services -Version 5.5.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Microsoft.Data.Services" 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.Services --version 5.5.0
#r "nuget: Microsoft.Data.Services, 5.5.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Microsoft.Data.Services as a Cake Addin
#addin nuget:?package=Microsoft.Data.Services&version=5.5.0

// Install Microsoft.Data.Services as a Cake Tool
#tool nuget:?package=Microsoft.Data.Services&version=5.5.0

Fully-featured server API for responding to OData queries and consuming/producing OData payloads. Supports OData v3. Targets .NET 4.0 or Silverlight 4.0. Localized for CHS, CHT, DEU, ESN, FRA, ITA, JPN, KOR and RUS.

Product Compatible and additional computed target framework versions.
.NET Framework net40 is compatible.  net403 was computed.  net45 was computed.  net451 was computed.  net452 was computed.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (12)

Showing the top 5 NuGet packages that depend on Microsoft.Data.Services:

Package Downloads
Microsoft.OData.EntityFrameworkProvider The ID prefix of this package has been reserved for one of the owners of this package by

Server API for responding to OData queries and consuming/producing OData payloads based on entity framework version 6.0 or higher Supports OData v3. Targets .NET 4.0.

DevExpress.Xpo.Extensions The ID prefix of this package has been reserved for one of the owners of this package by

eXpress Persistent Objects (XPO) is an Object-Relational Mapping (ORM) tool that handles all aspects of database creation and object persistence, allowing you to concentrate on your application's business logic. With XPO, you can build applications that work with multiple database systems without making any changes to your code. More than a dozen of today's most popular database engines are supported, including MS SQL Server, PostgreSQL, MySQL and Oracle.


MongoDB OData provider




This assembly sets up and delivers the OData and WCF webservices.

GitHub repositories (5)

Showing the top 5 popular GitHub repositories that depend on Microsoft.Data.Services:

Repository Stars
NuGet Gallery is a package repository that powers Use this repo for reporting issues.
The Azure Automation PowerShell ISE Add-On makes it easy to author and test your runbooks in your local PowerShell ISE
Hawk protocol implementation for .NET
Version Downloads Last updated
5.8.5 173,337 11/12/2021
5.8.4 831,237 8/14/2018
5.8.3 225,787 9/8/2017
5.8.1 88,845 11/8/2016
5.8.0 7,416 10/31/2016
5.8.0-beta 1,264 9/30/2016
5.7.0 322,111 11/20/2015
5.7.0-rc 1,713 10/30/2015
5.7.0-beta 2,411 9/10/2015
5.6.5-beta 25,407 6/26/2015
5.6.4 453,222 3/30/2015
5.6.3 47,427 10/21/2014
5.6.2 162,667 8/4/2014
5.6.1 56,857 2/25/2014
5.6.0 244,531 8/16/2013
5.6.0-rc1 1,550 7/30/2013
5.6.0-alpha1 1,733 6/29/2013
5.5.0 33,148 5/30/2013
5.5.0-rc1 1,382 5/14/2013
5.5.0-alpha2 1,313 4/26/2013
5.5.0-alpha1 1,234 4/9/2013
5.4.0 17,990 4/2/2013
5.4.0-rc1 1,288 3/19/2013
5.3.0 66,538 2/18/2013
5.3.0-rc1 1,966 1/31/2013
5.2.0 13,125 12/17/2012
5.2.0-rc1 1,443 12/3/2012
5.1.0 10,378 11/7/2012
5.1.0-rc2 2,037 9/21/2012
5.1.0-rc1 2,198 7/11/2012
5.0.2 30,218 8/29/2012
5.0.2-rc 1,362 8/15/2012
5.0.1 45,367 5/18/2012
5.0.1-rc 1,561 5/8/2012 73,179 4/11/2012

------------------------------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