Loic.microsoft.aspnet-api-versioning 1.0.0

dotnet add package Loic.microsoft.aspnet-api-versioning --version 1.0.0                
NuGet\Install-Package Loic.microsoft.aspnet-api-versioning -Version 1.0.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="Loic.microsoft.aspnet-api-versioning" Version="1.0.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Loic.microsoft.aspnet-api-versioning --version 1.0.0                
#r "nuget: Loic.microsoft.aspnet-api-versioning, 1.0.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 Loic.microsoft.aspnet-api-versioning as a Cake Addin
#addin nuget:?package=Loic.microsoft.aspnet-api-versioning&version=1.0.0

// Install Loic.microsoft.aspnet-api-versioning as a Cake Tool
#tool nuget:?package=Loic.microsoft.aspnet-api-versioning&version=1.0.0                

Build status

ASP.NET API Versioning

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. The API versioning extensions define simple metadata attributes and conventions that you use to describe which API versions are implemented by your services. You don't need to learn any new routing concepts or change the way you implement your services in ASP.NET today.

The default API versioning configuration is compliant with the versioning semantics outlined by the Microsoft REST Guidelines. There are also a number of customization and extension points available to support transitioning services that may not have supported API versioning in the past or supported API versioning with semantics that are different from the Microsoft REST versioning guidelines.

The supported flavors of ASP.NET are:

  • ASP.NET Web API ( nuget | quick start | samples ) <br>Adds service API versioning to your Web API applications<br>

  • ASP.NET Web API and OData ( nuget | quick start | samples ) <br>Adds service API versioning to your Web API applications using OData v4.0<br>

  • ASP.NET Core ( nuget | quick start | samples ) <br>Adds service API versioning to your ASP.NET Core applications<br>

  • ASP.NET Core and OData ( nuget | quick start | samples ) <br>Adds service API versioning to your ASP.NET Core applications using OData v4.0

This is also the home of the ASP.NET API versioning API explorers that you can use to easily document your REST APIs with Swagger:

  • ASP.NET Web API Versioned API Explorer ( nuget | quick start | samples ) <br> Replaces the default API explorer in your Web API applications<br>

  • ASP.NET Web API with OData API Explorer ( nuget | quick start | samples ) <br>Adds an API explorer to your Web API applications using OData v4.0<br>

  • ASP.NET Core Versioned API Explorer ( nuget | quick start | samples ) <br>Adds additional API explorer support to your ASP.NET Core applications<br>

  • ASP.NET Core with OData API Explorer ( nuget | quick start | samples ) <br>Adds additional API explorer support to your ASP.NET Core applications using OData v4.0

You can find additional samples, documentation, and getting started instructions in the wiki.

Discussion

Have a general question, suggestion, or other feedback? Check out how you can contribute.

Reporting security issues and bugs

Security issues and bugs should be reported privately, via email, to the Microsoft Security Response Center (MSRC) secure@microsoft.com. You should receive a response within 24 hours. If for some reason you do not, please follow up via email to ensure we received your original message. Further information, including the MSRC PGP key, can be found in the Security TechCenter.

Code of conduct

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.


If you are an existing user, please makes sure you review the release notes between all major and minor package releases.

Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net5.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.0 0 7/31/2021