Microsoft.Data.OData 5.6.0

Prefix Reserved
Details
Advisory: https://github.com/advisories/GHSA-mv2r-q4g5-j8q5 Severity: high
There is a newer version of this package available.
See the version list below for details.
dotnet add package Microsoft.Data.OData --version 5.6.0                
NuGet\Install-Package Microsoft.Data.OData -Version 5.6.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.6.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.6.0                
#r "nuget: Microsoft.Data.OData, 5.6.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.OData as a Cake Addin
#addin nuget:?package=Microsoft.Data.OData&version=5.6.0

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

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.

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 (231)

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 5 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
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
Version Downloads Last updated
5.8.5 10,405,922 11/12/2021 5.8.5 is deprecated because it has critical bugs.
5.8.4 45,118,286 8/14/2018
5.7.0 10,961,715 11/20/2015 5.7.0 has at least one vulnerability with high severity.
5.7.0-rc 20,327 10/30/2015 5.7.0-rc has at least one vulnerability with high severity.
5.7.0-beta 30,336 9/10/2015 5.7.0-beta has at least one vulnerability with high severity.
5.6.5-beta 59,263 6/26/2015 5.6.5-beta has at least one vulnerability with high severity.
5.6.4 28,847,890 3/30/2015 5.6.4 has at least one vulnerability with high severity.
5.6.3 1,980,518 10/21/2014 5.6.3 has at least one vulnerability with high severity.
5.6.2 7,721,780 8/1/2014 5.6.2 has at least one vulnerability with high severity.
5.6.1 1,104,956 2/25/2014 5.6.1 has at least one vulnerability with high severity.
5.6.0 7,291,670 8/16/2013 5.6.0 has at least one vulnerability with high severity.
5.6.0-rc1 20,605 7/30/2013 5.6.0-rc1 has at least one vulnerability with high severity.
5.6.0-alpha1 17,807 6/28/2013 5.6.0-alpha1 has at least one vulnerability with high severity.
5.5.0 334,860 5/30/2013 5.5.0 has at least one vulnerability with high severity.
5.5.0-rc1 16,913 5/14/2013 5.5.0-rc1 has at least one vulnerability with high severity.
5.5.0-alpha2 22,825 4/26/2013 5.5.0-alpha2 has at least one vulnerability with high severity.
5.5.0-alpha1 16,200 4/9/2013 5.5.0-alpha1 has at least one vulnerability with high severity.
5.4.0 205,107 4/2/2013 5.4.0 has at least one vulnerability with high severity.
5.4.0-rc1 16,273 3/19/2013 5.4.0-rc1 has at least one vulnerability with high severity.
5.3.0 243,110 2/18/2013 5.3.0 has at least one vulnerability with high severity.
5.3.0-rc1 17,749 1/31/2013 5.3.0-rc1 has at least one vulnerability with high severity.
5.2.0 8,871,660 12/17/2012 5.2.0 has at least one vulnerability with high severity.
5.2.0-rc1 36,175 12/3/2012 5.2.0-rc1 has at least one vulnerability with high severity.
5.1.0 43,938 11/7/2012 5.1.0 has at least one vulnerability with high severity.
5.1.0-rc2 37,577 9/21/2012 5.1.0-rc2 has at least one vulnerability with high severity.
5.1.0-rc1 10,557 7/11/2012 5.1.0-rc1 has at least one vulnerability with high severity.
5.0.2 332,838 8/29/2012 5.0.2 has at least one vulnerability with high severity.
5.0.2-rc 8,562 8/15/2012 5.0.2-rc has at least one vulnerability with high severity.
5.0.1 187,095 5/18/2012 5.0.1 has at least one vulnerability with high severity.
5.0.1-rc 8,941 5/8/2012 5.0.1-rc has at least one vulnerability with high severity.
5.0.0.50403 196,110 4/11/2012 5.0.0.50403 has at least one vulnerability with high severity.

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.