Microsoft.AspNet.WebApi.Versioning 5.1.0

.NET Framework 4.5
Suggested Alternatives

Asp.Versioning.WebApi

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.

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

// Install Microsoft.AspNet.WebApi.Versioning as a Cake Tool
#tool nuget:?package=Microsoft.AspNet.WebApi.Versioning&version=5.1.0
📣 Now Asp.Versioning.WebApi. 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 Web API. 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.Web.Http.ApiVersion
  • Microsoft.Web.Http.ApiVersionAttribute
  • Microsoft.Web.Http.ControllerNameAttribute
  • Microsoft.Web.Http.MapToApiVersionAttribute
  • Microsoft.Web.Http.ReportApiVersionsAttribute
  • Microsoft.Web.Http.Versioning.ApiVersionModel
  • Microsoft.Web.Http.Versioning.ApiVersioningOptions
  • Microsoft.Web.Http.Versioning.ApiVersionReader
  • Microsoft.Web.Http.Versioning.IApiVersionNeutral
  • Microsoft.Web.Http.Versioning.IApiVersionParameterSource
  • Microsoft.Web.Http.Versioning.IApiVersionProvider
  • Microsoft.Web.Http.Versioning.IApiVersionSelector
  • Microsoft.Web.Http.Versioning.IReportApiVersions
  • Microsoft.Web.Http.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 Framework net45 is compatible.  net451 was computed.  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. 
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (10)

Showing the top 5 NuGet packages that depend on Microsoft.AspNet.WebApi.Versioning:

Package Downloads
Microsoft.AspNet.WebApi.Versioning.ApiExplorer

The API Explorer for Microsoft ASP.NET Web API Versioning.

Microsoft.AspNet.OData.Versioning

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

Platform.Core

Platform.Core

Bit.Server.WebApi

Bit.Server.WebApi

Bit.WebApi

Bit.WebApi

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on Microsoft.AspNet.WebApi.Versioning:

Repository Stars
RicoSuter/NSwag
The Swagger/OpenAPI toolchain for .NET, ASP.NET Core and TypeScript.
Version Downloads Last updated
5.1.0 61,686 5/23/2023
4.1.1 1,243,427 2/9/2021
4.1.0 388,444 11/3/2020
4.1.0-rc.2 505 10/25/2020
4.1.0-rc.1 521 10/10/2020
4.0.0 1,349,732 10/30/2019
4.0.0-preview8.19405.7 4,777 8/15/2019
3.0.4 561,974 8/21/2019
3.0.3 18,271 8/11/2019
3.0.2 183,869 7/2/2019
3.0.1 965,337 1/3/2019
3.0.0 58,461 12/17/2018
3.0.0-beta2 4,467 11/9/2018
3.0.0-beta1 19,508 7/27/2018
2.3.0 1,441,593 4/1/2018
2.2.0 582,073 1/6/2018
2.1.0 934,649 6/12/2017
2.1.0-rc1 37,499 5/12/2017
2.1.0-beta2 15,749 4/18/2017
2.1.0-beta1 2,610 3/10/2017
2.0.3 519,110 11/27/2016
2.0.2 64,356 11/9/2016
2.0.1 8,405 11/7/2016
2.0.0 23,757 9/19/2016
2.0.0-rc2 1,765 9/1/2016
2.0.0-rc1 1,072 8/11/2016
2.0.0-beta1 1,451 7/27/2016