Microsoft.AspNet.WebApi.Versioning 5.1.0

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)
Included target framework(s) (in package)
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 126,430 5/23/2023
4.1.1 1,402,557 2/9/2021
4.1.0 407,026 11/3/2020
4.1.0-rc.2 534 10/25/2020
4.1.0-rc.1 552 10/10/2020
4.0.0 1,426,965 10/30/2019
4.0.0-preview8.19405.7 4,806 8/15/2019
3.0.4 591,763 8/21/2019
3.0.3 18,564 8/11/2019
3.0.2 192,490 7/2/2019
3.0.1 1,010,349 1/3/2019
3.0.0 61,605 12/17/2018
3.0.0-beta2 4,552 11/9/2018
3.0.0-beta1 20,271 7/27/2018
2.3.0 1,497,332 4/1/2018
2.2.0 617,051 1/6/2018
2.1.0 958,923 6/12/2017
2.1.0-rc1 37,546 5/12/2017
2.1.0-beta2 15,788 4/18/2017
2.1.0-beta1 2,630 3/10/2017
2.0.3 561,238 11/27/2016
2.0.2 67,557 11/9/2016
2.0.1 8,634 11/7/2016
2.0.0 24,321 9/19/2016
2.0.0-rc2 1,801 9/1/2016
2.0.0-rc1 1,100 8/11/2016
2.0.0-beta1 1,482 7/27/2016