Microsoft.AspNetCore.Mvc.Versioning 5.1.0

.NET 5.0 .NET Core 3.1
dotnet add package Microsoft.AspNetCore.Mvc.Versioning --version 5.1.0
NuGet\Install-Package Microsoft.AspNetCore.Mvc.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.Mvc.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.Mvc.Versioning --version 5.1.0
#r "nuget: Microsoft.AspNetCore.Mvc.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.Mvc.Versioning as a Cake Addin
#addin nuget:?package=Microsoft.AspNetCore.Mvc.Versioning&version=5.1.0

// Install Microsoft.AspNetCore.Mvc.Versioning as a Cake Tool
#tool nuget:?package=Microsoft.AspNetCore.Mvc.Versioning&version=5.1.0
📣 Now Asp.Versioning.Mvc. 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. The API versioning extensions define simple metadata attributes and conventions that you use to describe which API versions are implemented by your services.

This package contains the primary abstractions library for API versioning that can be used to create server and client-based applications.

Commonly Used Types

  • Microsoft.AspNetCore.Mvc.ApiVersion
  • Microsoft.AspNetCore.Mvc.ApiVersionAttribute
  • Microsoft.AspNetCore.Mvc.ControllerNameAttribute
  • Microsoft.AspNetCore.Mvc.MapToApiVersionAttribute
  • Microsoft.AspNetCore.Mvc.ReportApiVersionsAttribute
  • Microsoft.AspNetCore.Mvc.Versioning.ApiVersionModel
  • Microsoft.AspNetCore.Mvc.Versioning.ApiVersioningOptions
  • Microsoft.AspNetCore.Mvc.Versioning.ApiVersionReader
  • Microsoft.AspNetCore.Mvc.Versioning.IApiVersionNeutral
  • Microsoft.AspNetCore.Mvc.Versioning.IApiVersionParameterSource
  • Microsoft.AspNetCore.Mvc.Versioning.IApiVersionProvider
  • Microsoft.AspNetCore.Mvc.Versioning.IApiVersionSelector
  • Microsoft.AspNetCore.Mvc.Versioning.IReportApiVersions
  • Microsoft.AspNetCore.Mvc.Versioning.QueryStringApiVersionReader

Release Notes

https://github.com/dotnet/aspnet-api-versioning/releases/tag/v5.1.0

Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  net5.0-windows was computed.  net6.0 is compatible.  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.
  • .NETCoreApp 3.1

    • No dependencies.
  • net5.0

    • No dependencies.
  • net6.0

    • No dependencies.

NuGet packages (363)

Showing the top 5 NuGet packages that depend on Microsoft.AspNetCore.Mvc.Versioning:

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

ASP.NET Core MVC API explorer functionality for discovering metadata such as the list of API-versioned controllers and actions, and their URLs and allowed HTTP methods.

Volo.Abp.AspNetCore.Mvc The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

Package Description

Microsoft.AspNetCore.OData.Versioning The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

A service API versioning library for Microsoft ASP.NET Core and OData v4.0.

Shesha.Framework

Package Description

Shesha.Application

Package Description

GitHub repositories (48)

Showing the top 5 popular GitHub repositories that depend on Microsoft.AspNetCore.Mvc.Versioning:

Repository Stars
abpframework/abp
Open Source Web Application Framework for ASP.NET Core. Offers an opinionated architecture to build enterprise software solutions with best practices on top of the .NET and the ASP.NET Core platforms. Provides the fundamental infrastructure, production-ready startup templates, application modules, UI themes, tooling, guides and documentation.
dodyg/practical-aspnetcore
Practical samples of ASP.NET Core 2.1, 2.2, 3.1, 5.0, 6.0, 7.0 and 8.0 preview 4 projects you can use. Readme contains explanations on all projects.
RicoSuter/NSwag
The Swagger/OpenAPI toolchain for .NET, ASP.NET Core and TypeScript.
domaindrivendev/Swashbuckle.AspNetCore
Swagger tools for documenting API's built on ASP.NET Core
elsa-workflows/elsa-core
A .NET workflows library
Version Downloads Last updated
5.1.0 79,941 5/23/2023
5.0.0 53,182,808 2/9/2021
5.0.0-preview.2 244,844 10/25/2020
5.0.0-preview.1 12,781 10/12/2020
4.2.0 9,151,293 11/3/2020
4.2.0-rc.2 427 10/25/2020
4.2.0-rc.1 3,870 10/10/2020
4.1.1 24,771,150 12/28/2019
4.1.0 3,551,693 12/4/2019
4.0.0 2,944,593 10/30/2019
4.0.0-preview8.19405.7 683,721 8/15/2019
3.1.6 2,128,835 8/21/2019
3.1.5 274,067 8/11/2019
3.1.4 623,568 7/18/2019
3.1.3 432,648 7/2/2019
3.1.2 4,144,100 1/29/2019
3.1.1 519,268 12/31/2018
3.1.0 484,146 12/22/2018
3.0.1 609,230 8/22/2019
3.0.0 1,407,996 12/17/2018
3.0.0-beta2 37,165 11/9/2018
3.0.0-beta1 136,073 7/27/2018
2.3.0 5,329,591 6/6/2018
2.2.0 1,029,075 4/1/2018
2.1.0 2,355,865 1/6/2018
2.0.0 722,222 8/31/2017
2.0.0-preview2-final 16,399 7/8/2017
1.2.1 132,026 7/7/2017
1.2.0 49,704 7/3/2017
1.2.0-beta1 973 6/29/2017
1.1.0-rc2 1,274 5/26/2017
1.1.0-rc1 4,329 5/12/2017
1.1.0-beta2 12,195 4/18/2017
1.1.0-beta1 20,421 3/10/2017
1.0.3 222,195 11/27/2016
1.0.2 47,025 11/9/2016
1.0.1 3,832 11/7/2016
1.0.0 36,059 9/19/2016
1.0.0-rc2 1,067 9/1/2016
1.0.0-rc1 1,217 8/11/2016
1.0.0-beta1 1,418 7/27/2016