Microsoft.Data.OData 5.4.0

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package Microsoft.Data.OData --version 5.4.0
                    
NuGet\Install-Package Microsoft.Data.OData -Version 5.4.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.OData" Version="5.4.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Microsoft.Data.OData" Version="5.4.0" />
                    
Directory.Packages.props
<PackageReference Include="Microsoft.Data.OData" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Microsoft.Data.OData --version 5.4.0
                    
#r "nuget: Microsoft.Data.OData, 5.4.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.
#addin nuget:?package=Microsoft.Data.OData&version=5.4.0
                    
Install Microsoft.Data.OData as a Cake Addin
#tool nuget:?package=Microsoft.Data.OData&version=5.4.0
                    
Install Microsoft.Data.OData as a Cake Tool

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.

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. 
Silverlight sl4 is compatible.  sl5 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (234)

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

Package Downloads
Microsoft.Data.Services.Client

LINQ-enabled client API for issuing OData queries and consuming OData payloads. Supports OData v3. Targets .NET 4.0, Silverlight 4.0 or .NET Portable Lib with support for .NET 4.5, Win Phone 8, Win Phone 8.1, and Win 8. Localized for CHS, CHT, DEU, ESN, FRA, ITA, JPN, KOR and RUS.

Microsoft.AspNetCore.DataProtection.AzureStorage

Microsoft Azure Blob storage support as key store. This library has been replaced by the following new Azure SDK. https://www.nuget.org/packages/Azure.Extensions.AspNetCore.DataProtection.Blobs It is recommended that you move to the new package. This package was built from the source code at https://github.com/aspnet/AspNetCore/tree/d1fa2cb155ab9226f20b87ab0d7a1eb16b8a8b69

Microsoft.AspNet.WebApi.OData

This package contains everything you need to create OData endpoints using ASP.NET Web API and to support OData query syntax for your web APIs.

Microsoft.Azure.ActiveDirectory.GraphClient

This is the .NET Client Library for Microsoft Azure Active Directory Graph API. Learn more about Azure AD Graph API @ https://msdn.microsoft.com/Library/Azure/Ad/Graph/howto/azure-ad-graph-api-operations-overview. NOTE: Azure AD Graph API functionality is also available through Microsoft Graph, a unified API that also includes APIs from other Microsoft services like Outlook, OneDrive, OneNote, Planner, and Office Graph, all accessed through a single endpoint with a single access token. Find out more about Microsoft Graph @ http://graph.microsoft.com, and find the Microsoft Graph .Net Client Library @ https://www.nuget.org/packages/Microsoft.Graph and the open source code and further documentation @ https://github.com/microsoftgraph/msgraph-sdk-dotnet Usage information is available on our AAD Graph blog @ http://blogs.msdn.com/b/aadgraphteam/archive/2014/12/12/announcing-azure-ad-graph-api-client-library-2-0.aspx and sample usage on github @ https://github.com/AzureADSamples/WebApp-GraphAPI-DotNet and https://github.com/AzureADSamples/ConsoleApp-GraphAPI-DotNet.

SharePointPnPCoreOnline

Retired - please use PnP Framework (https://github.com/pnp/pnpframework) going forward. Core CSOM extension methods for SharePoint Online add-in model development. This will increase productivity of the developers by abstracting complex operations.

GitHub repositories (109)

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

Repository Stars
microsoft/ailab
Experience, Learn and Code the latest breakthrough innovations with Microsoft AI
OrchardCMS/Orchard
Orchard is a free, open source, community-focused Content Management System built on the ASP.NET MVC platform.
Glimpse/Glimpse
The open source diagnostics platform for the web
pnp/PnP
SharePoint / Office 365 Developer Patterns and Practices - Archived older solutions. Please see https://aka.ms/m365pnp for updated guidance
zkavtaskin/Domain-Driven-Design-Example
Blog series supplementary domain-driven design C# repository that (hopefully) actually makes sense.
microsoft/WhatTheHack
A collection of challenge based hack-a-thons including student guide, coach guide, lecture presentations, sample/instructional code and templates. Please visit the What The Hack website at: https://aka.ms/wth
Azure/durabletask
Durable Task Framework allows users to write long running persistent workflows in C# using the async/await capabilities.
JabbR/JabbR
Collaborative chat done right
OfficeDev/Microsoft-Teams-Samples
Welcome to the Microsoft Teams samples repository. Here you will find task-focused samples in C#, JavaScript and TypeScript to help you get started with the Microsoft Teams App!
pnp/PnP-PowerShell
SharePoint PnP PowerShell CmdLets
OfficeDev/TrainingContent
Training Content used for developer.microsoft.com/office
OData/WebApi
OData Web API: A server library built upon ODataLib and WebApi
sjkp/letsencrypt-siteextension
Azure Web App Site Extension for easy installation and configuration of Let's Encrypt issued SSL certifcates for custom domain names.
xamarinhq/app-conference
Pre-build conference application built with Xamarin
dotnet/arcade
Tools that provide common build infrastructure for multiple .NET Foundation projects.
SparkDevNetwork/Rock
An open source CMS, Relationship Management System (RMS) and Church Management System (ChMS) all rolled into one.
NuGet/NuGet.Server
NuGet Server is a lightweight standalone NuGet server
microsoft/uwp-experiences
Universal Windows Platform (UWP) samples and showcases
dotnet/dotnet
Home of .NET's Virtual Monolithic Repository which includes all the code needed to build the .NET SDK.
maartenba/MvcSiteMapProvider
An ASP.NET MVC SiteMapProvider implementation for the ASP.NET MVC framework.
Version Downloads Last updated
5.8.5 12,243,162 11/12/2021 5.8.5 is deprecated because it has critical bugs.
5.8.4 47,641,860 8/14/2018
5.7.0 11,178,875 11/20/2015 5.7.0 has at least one vulnerability with high severity.
5.7.0-rc 20,806 10/30/2015 5.7.0-rc has at least one vulnerability with high severity.
5.7.0-beta 31,791 9/10/2015 5.7.0-beta has at least one vulnerability with high severity.
5.6.5-beta 63,000 6/26/2015 5.6.5-beta has at least one vulnerability with high severity.
5.6.4 29,672,983 3/30/2015 5.6.4 has at least one vulnerability with high severity.
5.6.3 2,024,958 10/21/2014 5.6.3 has at least one vulnerability with high severity.
5.6.2 7,905,800 8/1/2014 5.6.2 has at least one vulnerability with high severity.
5.6.1 1,132,081 2/25/2014 5.6.1 has at least one vulnerability with high severity.
5.6.0 7,555,511 8/16/2013 5.6.0 has at least one vulnerability with high severity.
5.6.0-rc1 20,896 7/30/2013 5.6.0-rc1 has at least one vulnerability with high severity.
5.6.0-alpha1 18,107 6/28/2013 5.6.0-alpha1 has at least one vulnerability with high severity.
5.5.0 337,987 5/30/2013 5.5.0 has at least one vulnerability with high severity.
5.5.0-rc1 17,217 5/14/2013 5.5.0-rc1 has at least one vulnerability with high severity.
5.5.0-alpha2 23,155 4/26/2013 5.5.0-alpha2 has at least one vulnerability with high severity.
5.5.0-alpha1 16,478 4/9/2013 5.5.0-alpha1 has at least one vulnerability with high severity.
5.4.0 206,776 4/2/2013 5.4.0 has at least one vulnerability with high severity.
5.4.0-rc1 16,545 3/19/2013 5.4.0-rc1 has at least one vulnerability with high severity.
5.3.0 248,037 2/18/2013 5.3.0 has at least one vulnerability with high severity.
5.3.0-rc1 18,056 1/31/2013 5.3.0-rc1 has at least one vulnerability with high severity.
5.2.0 9,019,899 12/17/2012 5.2.0 has at least one vulnerability with high severity.
5.2.0-rc1 36,523 12/3/2012 5.2.0-rc1 has at least one vulnerability with high severity.
5.1.0 44,376 11/7/2012 5.1.0 has at least one vulnerability with high severity.
5.1.0-rc2 37,904 9/21/2012 5.1.0-rc2 has at least one vulnerability with high severity.
5.1.0-rc1 10,847 7/11/2012 5.1.0-rc1 has at least one vulnerability with high severity.
5.0.2 340,491 8/29/2012 5.0.2 has at least one vulnerability with high severity.
5.0.2-rc 8,840 8/15/2012 5.0.2-rc has at least one vulnerability with high severity.
5.0.1 190,541 5/18/2012 5.0.1 has at least one vulnerability with high severity.
5.0.1-rc 9,235 5/8/2012 5.0.1-rc has at least one vulnerability with high severity.
5.0.0.50403 203,613 4/11/2012 5.0.0.50403 has at least one vulnerability with high severity.

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

Client deserialization/serialization hooks

We have a number of investments planned in the “request pipeline” area. In 5.4.0 we have a very big set of hooks for reaching into and modifying data as it is being read from or written to the wire format. These hooks provide extensibility points that enable a number of different scenarios such as modifying wire types, property names, and more.

Instance annotations on atom payloads

As promised in the 5.3.0 release notes, we now support instance annotations on Atom payloads. Instance annotations are an extensibility feature in OData feeds that allow OData requests and responses to be marked up with annotations that target feeds, single entities (entries), properties, etc. We do still have some more work to do in this area, such as the ability to annotate properties.

Client consumption of instance annotations

Also in this release, we have added APIs to the client to enable the reading of instance annotations on the wire. These APIs make use of the new deserialization/serialization pipelines on the client (see above). This API surface includes the ability to indicate which instance annotations the client cares about via the Prefer header. This will streamline the responses from OData services that honor the odata.include-annotations preference.

Simplified transition between Atom and JSON formats

In this release we have bundled a few less-noticeable features that should simplify the transition between the Atom and (the new) JSON format. (See also the bug fixes below on type resolver fixes.)

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

In addition to the features above, we have included fixes for the following notable bugs:
- Fixes an issue where reading a collection of complex values would fail if the new JSON format was used and a type resolver was not provided
- Fixes an issue where ODataLib was not escaping literal values in IDs and edit links
- Fixes an issue where requesting the service document with application/json;odata=nometadata would fail
- Fixes an issue where using the new JSON format without a type resolver would create issues with derived types
- (Usability bug) Makes it easier to track the current item in ODataLib in many situations
- Fixes an issue where the LINQ provider on the client would produce $filter instead of a key expression for derived types with composite keys
- (Usability bug) Fixes an issue where the inability to set EntityState and ETag values forced people to detach and attach entities for some operations
- Fixes an issue where some headers required a case-sensitive match on the WCF DS client
- Fixes an issue where 304 responses were sending back more headers than appropriate per the HTTP spec
- Fixes an issue where a request for the new JSON format could result in an error that used the Atom format
- Fixes an issue where it was possible to write an annotation value that was invalid according to the term
- Fixes an issue where PATCH requests for OData v1/v2 payloads would return a 500 error rather than 405