Awesome
ASP.NET API Versioning
:mega: Check out the announcement regarding upcoming changes |
---|
The "Asp" project, more formally known as 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 Core
<div>Adds API versioning to your ASP.NET Core <i>Minimal API</i> applications</div> -
ASP.NET Core MVC
<div>Adds API versioning to your ASP.NET Core MVC (Core) applications</div> -
ASP.NET Core and OData
<div>Adds API versioning to your ASP.NET Core applications using OData v4.0</div> -
ASP.NET Web API
<div>Adds API versioning to your Web API applications</div> -
ASP.NET Web API and OData
<div>Adds API versioning to your Web API applications using OData v4.0</div>
This is also the home of the ASP.NET API versioning API explorers that you can use to easily document your REST APIs with OpenAPI:
-
ASP.NET Core Versioned API Explorer
<div>Adds additional API explorer support to your ASP.NET Core applications</div> -
ASP.NET Core with OData API Explorer
<div>Adds additional API explorer support to your ASP.NET Core applications using OData v4.0</div> -
ASP.NET Web API Versioned API Explorer
<div>Replaces the default API explorer in your Web API applications</div> -
ASP.NET Web API with OData API Explorer
<div>Adds an API explorer to your Web API applications using OData v4.0</div>
The client-side libraries make it simple to create API version-aware HTTP clients.
Documentation
You can find additional examples, documentation, and getting started instructions in the wiki.
Discussion
Have a general question, suggestion, or other feedback? Check out how you can contribute.
Code of Conduct
This project has adopted the code of conduct defined by the Contributor Covenant to clarify expected behavior in our community. For more information see the .NET Foundation Code of Conduct.
License
This project is licensed under the MIT license.
.NET Foundation
<img align="right" width="100px" style="margin:-70px 0px 0px 0px" src="https://dotnetfoundation.org/img/logo_v4.svg" /> This project is supported by the .NET Foundation.
<div style="text-align:center;margin-top:32px;font-size:small">Logo by <a href="https://sacramento-design.com" target="_blank">Sacramento Design Works</a></div>If you are an existing user, please makes sure you review the release notes between all major and minor package releases.