A newer package is available as of August 2022. While this package will continue to receive critical bug fixes, we strongly encourage you to upgrade. See the migration guide at https://github.com/dotnet/aspnet-api-versioning/wiki/Migration for more details.
dotnet add package Microsoft.AspNetCore.OData.Versioning --version 5.1.0
NuGet\Install-Package Microsoft.AspNetCore.OData.Versioning -Version 5.1.0
<PackageReference Include="Microsoft.AspNetCore.OData.Versioning" Version="5.1.0" />
paket add Microsoft.AspNetCore.OData.Versioning --version 5.1.0
#r "nuget: Microsoft.AspNetCore.OData.Versioning, 5.1.0"
// 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
|Product||Versions 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. net8.0 was computed. net8.0-android was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed.|
|.NET Core||netcoreapp3.1 is compatible.|
NuGet packages (4)
Showing the top 4 NuGet packages that depend on Microsoft.AspNetCore.OData.Versioning:
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.
GitHub repositories (1)
Showing the top 1 popular GitHub repositories that depend on Microsoft.AspNetCore.OData.Versioning:
Open source, headless, multi-tenant eCommerce platform built with .NET Core, MongoDB, AWS DocumentDB, Azure CosmosDB, Vue.js.