Microsoft.AspNetCore.Mvc.Versioning 1.2.0

Suggested Alternatives

Asp.Versioning.Mvc

Additional Details

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.

There is a newer version of this package available.
See the version list below for details.

Requires NuGet 2.5 or higher.

dotnet add package Microsoft.AspNetCore.Mvc.Versioning --version 1.2.0                
NuGet\Install-Package Microsoft.AspNetCore.Mvc.Versioning -Version 1.2.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="1.2.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 1.2.0                
#r "nuget: Microsoft.AspNetCore.Mvc.Versioning, 1.2.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=1.2.0

// Install Microsoft.AspNetCore.Mvc.Versioning as a Cake Tool
#tool nuget:?package=Microsoft.AspNetCore.Mvc.Versioning&version=1.2.0                

A service API versioning library for Microsoft ASP.NET Core.

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.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser 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 netcoreapp1.0 was computed.  netcoreapp1.1 was computed.  netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard1.6 is compatible.  netstandard2.0 was computed.  netstandard2.1 was computed. 
.NET Framework net451 is compatible.  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. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen30 was computed.  tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (358)

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

Package Downloads
Microsoft.AspNetCore.Mvc.Versioning.ApiExplorer

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.

Microsoft.AspNetCore.OData.Versioning

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

Shesha.Framework

Package Description

Elsa.Server.Api

Elsa is a set of workflow libraries and tools that enable lean and mean workflowing capabilities in any .NET Core application. This package provides API endpoints to interact with the workflow host.

Shesha.Application

Package Description

GitHub repositories (46)

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

Repository Stars
dodyg/practical-aspnetcore
Practical samples of ASP.NET Core 9, 8.0, 7.0, 6.0, 5.0, 3.1, 2.2, and 2.1,projects you can use. Readme contains explanations on all projects.
domaindrivendev/Swashbuckle.AspNetCore
Swagger tools for documenting API's built on ASP.NET Core
ivanpaulovich/clean-architecture-manga
:cyclone: Clean Architecture with .NET6, C#10 and React+Redux. Use cases as central organizing structure, completely testable, decoupled from frameworks
fullstackhero/blazor-starter-kit
Clean Architecture Template for Blazor WebAssembly Built with MudBlazor Components.
dotnet/samples
Sample code referenced by the .NET documentation
Version Downloads Last updated
5.1.0 24,371,143 5/23/2023 5.1.0 is deprecated.
5.0.0 93,409,762 2/9/2021 5.0.0 is deprecated.
5.0.0-preview.2 289,785 10/25/2020 5.0.0-preview.2 is deprecated.
5.0.0-preview.1 13,367 10/12/2020 5.0.0-preview.1 is deprecated.
4.2.0 11,459,563 11/3/2020 4.2.0 is deprecated.
4.2.0-rc.2 624 10/25/2020 4.2.0-rc.2 is deprecated.
4.2.0-rc.1 7,427 10/10/2020 4.2.0-rc.1 is deprecated.
4.1.1 29,350,664 12/28/2019 4.1.1 is deprecated.
4.1.0 4,464,981 12/4/2019 4.1.0 is deprecated.
4.0.0 3,657,553 10/30/2019 4.0.0 is deprecated.
4.0.0-preview8.19405.7 852,635 8/15/2019 4.0.0-preview8.19405.7 is deprecated.
3.1.6 2,316,633 8/21/2019 3.1.6 is deprecated.
3.1.5 302,484 8/11/2019 3.1.5 is deprecated.
3.1.4 691,823 7/18/2019 3.1.4 is deprecated.
3.1.3 448,808 7/2/2019 3.1.3 is deprecated.
3.1.2 4,529,674 1/29/2019 3.1.2 is deprecated.
3.1.1 594,414 12/31/2018 3.1.1 is deprecated.
3.1.0 541,966 12/22/2018 3.1.0 is deprecated.
3.0.1 775,149 8/22/2019 3.0.1 is deprecated.
3.0.0 1,681,366 12/17/2018 3.0.0 is deprecated.
3.0.0-beta2 39,443 11/9/2018 3.0.0-beta2 is deprecated.
3.0.0-beta1 153,460 7/27/2018 3.0.0-beta1 is deprecated.
2.3.0 5,679,147 6/6/2018 2.3.0 is deprecated.
2.2.0 1,215,723 4/1/2018 2.2.0 is deprecated.
2.1.0 2,650,944 1/6/2018 2.1.0 is deprecated.
2.0.0 787,800 8/31/2017 2.0.0 is deprecated.
2.0.0-preview2-final 18,817 7/8/2017 2.0.0-preview2-final is deprecated.
1.2.1 138,476 7/7/2017 1.2.1 is deprecated.
1.2.0 55,085 7/3/2017 1.2.0 is deprecated.
1.2.0-beta1 2,448 6/29/2017 1.2.0-beta1 is deprecated.
1.1.0-rc2 2,782 5/26/2017 1.1.0-rc2 is deprecated.
1.1.0-rc1 5,892 5/12/2017 1.1.0-rc1 is deprecated.
1.1.0-beta2 13,844 4/18/2017 1.1.0-beta2 is deprecated.
1.1.0-beta1 22,086 3/10/2017 1.1.0-beta1 is deprecated.
1.0.3 227,765 11/27/2016 1.0.3 is deprecated.
1.0.2 51,745 11/9/2016 1.0.2 is deprecated.
1.0.1 5,319 11/7/2016 1.0.1 is deprecated.
1.0.0 86,852 9/19/2016 1.0.0 is deprecated.
1.0.0-rc2 2,450 9/1/2016 1.0.0-rc2 is deprecated.
1.0.0-rc1 2,724 8/11/2016 1.0.0-rc1 is deprecated.
1.0.0-beta1 2,950 7/27/2016 1.0.0-beta1 is deprecated.

• Remove need for UseApiVersioning (Issue #152)