Microsoft.AspNetCore.Mvc.Versioning
5.1.0
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.Mvc.Versioning --version 5.1.0
NuGet\Install-Package Microsoft.AspNetCore.Mvc.Versioning -Version 5.1.0
<PackageReference Include="Microsoft.AspNetCore.Mvc.Versioning" Version="5.1.0" />
paket add Microsoft.AspNetCore.Mvc.Versioning --version 5.1.0
#r "nuget: Microsoft.AspNetCore.Mvc.Versioning, 5.1.0"
// 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 | Versions 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. 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 | netcoreapp3.1 is compatible. |
-
.NETCoreApp 3.1
- No dependencies.
-
net5.0
- No dependencies.
-
net6.0
- No dependencies.
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,174,287 | 5/23/2023 | |
5.0.0 | 93,245,811 | 2/9/2021 | |
5.0.0-preview.2 | 289,309 | 10/25/2020 | |
5.0.0-preview.1 | 13,355 | 10/12/2020 | |
4.2.0 | 11,448,337 | 11/3/2020 | |
4.2.0-rc.2 | 620 | 10/25/2020 | |
4.2.0-rc.1 | 7,398 | 10/10/2020 | |
4.1.1 | 29,328,786 | 12/28/2019 | |
4.1.0 | 4,459,526 | 12/4/2019 | |
4.0.0 | 3,653,960 | 10/30/2019 | |
4.0.0-preview8.19405.7 | 852,350 | 8/15/2019 | |
3.1.6 | 2,315,573 | 8/21/2019 | |
3.1.5 | 302,347 | 8/11/2019 | |
3.1.4 | 691,643 | 7/18/2019 | |
3.1.3 | 448,695 | 7/2/2019 | |
3.1.2 | 4,528,372 | 1/29/2019 | |
3.1.1 | 594,229 | 12/31/2018 | |
3.1.0 | 541,930 | 12/22/2018 | |
3.0.1 | 774,466 | 8/22/2019 | |
3.0.0 | 1,679,126 | 12/17/2018 | |
3.0.0-beta2 | 39,435 | 11/9/2018 | |
3.0.0-beta1 | 153,374 | 7/27/2018 | |
2.3.0 | 5,677,708 | 6/6/2018 | |
2.2.0 | 1,215,046 | 4/1/2018 | |
2.1.0 | 2,649,690 | 1/6/2018 | |
2.0.0 | 787,566 | 8/31/2017 | |
2.0.0-preview2-final | 18,807 | 7/8/2017 | |
1.2.1 | 138,470 | 7/7/2017 | |
1.2.0 | 55,079 | 7/3/2017 | |
1.2.0-beta1 | 2,443 | 6/29/2017 | |
1.1.0-rc2 | 2,777 | 5/26/2017 | |
1.1.0-rc1 | 5,887 | 5/12/2017 | |
1.1.0-beta2 | 13,839 | 4/18/2017 | |
1.1.0-beta1 | 22,072 | 3/10/2017 | |
1.0.3 | 227,750 | 11/27/2016 | |
1.0.2 | 51,738 | 11/9/2016 | |
1.0.1 | 5,314 | 11/7/2016 | |
1.0.0 | 86,153 | 9/19/2016 | |
1.0.0-rc2 | 2,445 | 9/1/2016 | |
1.0.0-rc1 | 2,719 | 8/11/2016 | |
1.0.0-beta1 | 2,945 | 7/27/2016 |