Microsoft.AspNetCore.OData.Versioning 5.1.0

The ID prefix of this package has been reserved for one of the owners of this package by Prefix Reserved
.NET Core 3.1
dotnet add package Microsoft.AspNetCore.OData.Versioning --version 5.1.0
NuGet\Install-Package Microsoft.AspNetCore.OData.Versioning -Version 5.1.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.AspNetCore.OData.Versioning" Version="5.1.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Microsoft.AspNetCore.OData.Versioning --version 5.1.0
#r "nuget: Microsoft.AspNetCore.OData.Versioning, 5.1.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.AspNetCore.OData.Versioning as a Cake Addin
#addin nuget:?package=Microsoft.AspNetCore.OData.Versioning&version=5.1.0

// Install Microsoft.AspNetCore.OData.Versioning as a Cake Tool
#tool nuget:?package=Microsoft.AspNetCore.OData.Versioning&version=5.1.0
📣 Now Asp.Versioning.OData. See the announcement.

ASP.NET API versioning gives you a powerful, but easy-to-use method for adding API versioning semantics to your new and existing REST services built with ASP.NET Core MVC and OData v4.0. The API versioning extensions define simple metadata attributes and conventions that you use to describe which API versions are implemented by your services.

Commonly Used Types

  • Microsoft.AspNet.OData.Builder.IModelConfiguration
  • Microsoft.AspNet.OData.Builder.VersionedODataModelBuilder
  • Microsoft.AspNet.OData.Routing.VersionedAttributeRoutingConvention
  • Microsoft.AspNet.OData.Routing.VersionedMetadataRoutingConvention
  • Microsoft.AspNet.OData.VersionedMetadataController
  • Microsoft.AspNetCore.Mvc.Versioning.ODataApiVersioningOptions
  • Microsoft.OData.Edm.ApiVersionAnnotation
  • Microsoft.OData.Edm.IEdmModelSelector

Release Notes

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed. 
.NET Core netcoreapp3.1 is compatible. 
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (4)

Showing the top 4 NuGet packages that depend on Microsoft.AspNetCore.OData.Versioning:

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

The API Explorer for Microsoft ASP.NET Core and OData v4.0.


Framework to enable the fast development of ASP.Net Core 3.1 Web APIs utilising Swagger and OData.


Package Description


Package Description

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on Microsoft.AspNetCore.OData.Versioning:

Repository Stars
Open source, headless, multi-tenant eCommerce platform built with .NET Core, MongoDB, AWS DocumentDB, Azure CosmosDB, Vue.js.
Version Downloads Last updated
5.1.0 7,539 5/23/2023
5.0.0 535,091 11/3/2020
5.0.0-rc.2 381 10/25/2020
5.0.0-rc.1 1,476 10/10/2020
4.1.1 1,295,204 12/28/2019
4.0.0 132,538 10/30/2019
4.0.0-preview8.19405.7 1,873 8/15/2019
3.2.4 126,617 8/21/2019
3.2.3 3,611 8/11/2019
3.2.2 8,313 8/8/2019
3.2.1 46,773 7/18/2019
3.2.0 70,669 7/2/2019
3.1.0 211,762 12/22/2018
3.0.0 76,395 12/17/2018
3.0.0-beta2 6,722 11/9/2018
3.0.0-beta1 17,082 7/30/2018