Microsoft.OData.Core 6.0.0-beta1

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

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

Release Notes

This OData V6.0 release includes beta versions of the core .NET libraries described below for implementing OData clients and services that comply with the Committee Specification 02 of the OASIS OData V4 Specification (http://docs.oasis-open.org/odata/odata/v4.0/cs02/part1-protocol/odata-v4.0-cs02-part1-protocol.doc). The libraries support the OData V4 JSON (http://docs.oasis-open.org/odata/odata-json-format/v4.0/cs02/odata-json-format-v4.0-cs02.doc) format; the Atom format is not supported in this release.

What is in the release?

•         Feature Parity
OData V6.0-beta1 release contains all the JSON features in OData V5.6 release that are compatible with OData V4 Protocol, including ODataLib, EdmLib, ODataClient, Spatial. OData V6.0-beta1 supports V4 Protocol only and is not backward compatible with V1-3 Protocol.

•         Enum support
Enum is fully supported for server scenario in JSON. OData client supports CRUD enum property.

•         Singleton support
In this release we get the most common singleton support for server scenario, including defining singleton in EDM, and serializing/deserializing payload in JSON format. UriParser also supports singleton path segment in URI, but it doesn’t support $filter/$select/$expand.

•         Containment support
In this release we get the most common containment support for server scenario, including defining containment in EDM, and serializing/ deserializing payload in JSON format. UriParser also supports containment path segment & $expand in URI, but it doesn’t support $filter/$orderby/$select.

•         Action/Function Support
Action/Function now is now fully supported, except for singleton & containment.

•         V4 compatibility
JSON Reader/Writer, Edmx Reader/Writer and URI Parser have been updated for V4 compatibility, now they all support OData V4 Protocol.

Known Limitations
This beta release of the OData V4 libraries targets functional equivalence with the 5.6.0 release. The OData Client supports the functionality exposed by services written using the server libraries, but there are features required for client interoperability with generic OData V4 services that are not yet supported in this alpha release. Most notably:
• EdmLib doesn't currently support TypeDefinitions, nor referencing external metadata documents, and will fail on services exposing metadata with these constructs
• ODataLib doesn't currently support the presence of singletons, functions, or nested service documents in a service document, and will fail when reading a service document containing these constructs
• ODataLib, EdmLib, and OData Client don't yet support the Date or TimeOfDay datatype, relative IRIs for IDs in JSON, some of the new features of complex types like navigation properties, inheritance, and use in referential constraints, nor some of the new features in singletons and containment.

NuGet packages (98)

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

Package Downloads
Microsoft.AspNet.OData
This package contains everything you need to create OData v4.0 endpoints using ASP.NET Web API and to support OData query syntax for your web APIs.
Microsoft.Azure.Cosmos.Table
This client library enables working with the Microsoft Azure CosmosDB Table storage, with support for global distribution, automatic secondary indexes, dedicated throughput, and single-digit millisecond latency. See "Getting started with the Azure Cosmos DB: Table API" at https://aka.ms/premiumtables. For reporting issue, please file it at: https://github.com/Azure/azure-cosmos-table-dotnet/issues.
Microsoft.OData.Client
LINQ-enabled client API for issuing OData queries and consuming OData JSON payloads. Supports OData v4. Targets .NET 4.5 and .NET Platform Standard 1.1. OData .NET library is open source at http://github.com/OData/odata.net. Documentation for the library can be found at https://odata.github.io/odata.net.
Microsoft.AspNetCore.OData
This package contains everything you need to create OData v4.0 endpoints using ASP.NET Core MVC and to support OData query syntax for your web APIs.
Simple.OData.Client
Simple.OData.Client is a multiplatform OData client library supporting .NET 4.x, .NET Standard, .NET Core, iOS and Android. The adapter provides a great alternative to WCF Data Services client. It does not require generation of context or entity classes and fits RESTful nature of OData services. The package Simple.OData.Client contains libraries that can work with OData feeds that implement both V1-3 and V4 OData protocol. Packages Simple.OData.V3.Client and Simple.OData.V4.Client have smaller footprints and target V1-3 and V4 respectively.

GitHub repositories (22)

Showing the top 5 popular GitHub repositories that depend on Microsoft.OData.Core:

Repository Stars
smartstore/SmartStoreNET
Open Source ASP.NET MVC Enterprise eCommerce Shopping Cart Solution
pnp/PnP
SharePoint / Office 365 Developer Patterns and Practices
Squidex/squidex
Headless CMS and Content Managment Hub
OData/WebApi
OData Web API: A server library built upon ODataLib and WebApi
OfficeDev/TrainingContent
Training Content used for developer.microsoft.com/office

Version History

Version Downloads Last updated
7.7.2 15,779 9/23/2020
7.7.1 66,023 9/1/2020
7.7.0 98,197 6/26/2020
7.7.0-beta 2,367 5/29/2020
7.6.4 405,965 3/25/2020
7.6.3 354,417 1/30/2020
7.6.2 166,267 11/21/2019
7.6.1 1,601,842 9/30/2019
7.6.1-beta 537 9/18/2019
7.6.0 605,806 6/5/2019
7.6.0-beta 12,272 4/1/2019
7.5.4 286,095 2/15/2019
7.5.3 338,252 12/19/2018
7.5.2 98,794 11/20/2018
7.5.1 314,219 9/17/2018
7.5.0 5,692,708 6/27/2018
7.4.4 327,043 4/4/2018
7.4.3 43,488 3/21/2018
7.4.1 121,299 2/16/2018
7.4.0 130,185 1/22/2018
7.4.0-beta3 939 1/12/2018
7.4.0-beta2 883 12/18/2017
7.4.0-beta 2,369 11/2/2017
7.3.1 339,622 8/14/2017
7.3.0 51,519 7/24/2017
7.3.0-beta 721 7/17/2017
7.2.0 607,219 5/3/2017
7.1.1 103,109 4/11/2017
7.0.0 565,680 8/22/2016
7.0.0-beta 986 8/4/2016
6.19.0 309,863 11/14/2017
6.18.0 95,495 9/7/2017
6.18.0-beta 8,060 7/27/2017
6.17.0 178,265 6/12/2017
6.16.0 136,232 4/3/2017
6.16.0-beta 914 1/13/2017
6.15.0 1,876,101 3/18/2016
6.15.0-beta 4,989 1/25/2016
6.14.0 273,039 12/15/2015
6.14.0-rc2 853 12/2/2015
6.14.0-rc 2,793 10/30/2015
6.14.0-beta 683 10/16/2015
6.13.0 671,504 7/22/2015
6.13.0-rc 833 7/14/2015
6.13.0-beta 912 6/19/2015
6.12.0 248,745 5/22/2015
6.12.0-beta 809 5/15/2015
6.11.0 393,586 3/30/2015
6.10.0 131,609 2/6/2015
6.9.0 138,272 12/10/2014
6.8.1 168,409 10/20/2014
6.8.0 12,740 9/23/2014
6.7.0 9,468 8/29/2014
6.6.0 11,381 7/31/2014
6.5.0 70,731 6/30/2014
6.4.0 126,556 5/30/2014
6.3.0 5,480 4/28/2014
6.2.0 2,797 4/1/2014
6.1.0 1,436 3/4/2014
6.0.0 21,320 1/27/2014
6.0.0-beta1 3,359 12/9/2013
6.0.0-alpha2 1,018 11/7/2013
6.0.0-alpha1 780 10/4/2013
Show less