Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Provides a set of libraries which add service API versioning to ASP.NET Web API, OData with ASP.NET Web API, and ASP.NET Core.

License

NotificationsYou must be signed in to change notification settings

dotnet/aspnet-api-versioning

Repository files navigation

.NET FoundationMIT LicenseBuild Status

ASP.NET API Versioning

📣 Check out theannouncement regarding upcoming changes

The"Asp" project, more formally known as ASP.NET API Versioning, gives you a powerful, but easy-to-use method foradding API versioning semantics to your new and existing REST services built with ASP.NET. The API versioning extensionsdefine simple metadata attributes and conventions that you use to describe which API versions are implemented by yourservices. 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 theversioning semanticsoutlined by theMicrosoft REST Guidelines. There are also a numberof customization and extension points available to support transitioning services that may not have supported APIversioning in the past or supported API versioning with semantics that are different from theMicrosoft REST versioning guidelines.

The supported flavors of ASP.NET are:

  • ASP.NET Core

    Adds API versioning to your ASP.NET CoreMinimal API applications

    NuGet PackageNuGet DownloadsQuick StartExamples

  • ASP.NET Core MVC

    Adds API versioning to your ASP.NET Core MVC (Core) applications

    NuGet PackageNuGet DownloadsQuick StartExamples

  • ASP.NET Core and OData

    Adds API versioning to your ASP.NET Core applications using OData v4.0

    NuGet PackageNuGet DownloadsQuick StartExamples

  • ASP.NET Web API

    Adds API versioning to your Web API applications

    NuGet PackageNuGet DownloadsQuick StartExamples

  • ASP.NET Web API and OData

    Adds API versioning to your Web API applications using OData v4.0

    NuGet PackageNuGet DownloadsQuick StartExamples

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

    Adds additional API explorer support to your ASP.NET Core applications

    NuGet PackageNuGet DownloadsQuick StartExamples

  • ASP.NET Core with OData API Explorer

    Adds additional API explorer support to your ASP.NET Core applications using OData v4.0

    NuGet PackageNuGet DownloadsQuick StartExamples

  • ASP.NET Web API Versioned API Explorer

    Replaces the default API explorer in your Web API applications

    NuGet PackageNuGet DownloadsQuick StartExamples

  • ASP.NET Web API with OData API Explorer

    Adds an API explorer to your Web API applications using OData v4.0

    NuGet PackageNuGet DownloadsQuick StartExamples

The client-side libraries make it simple to create API version-aware HTTP clients.

  • HTTP Client API Versioning Extensions

    Adds API versioning support to HTTP clients

    NuGet PackageNuGet DownloadsQuick Start

Documentation

You can find additional examples, documentation, and getting started instructions in thewiki.

Discussion

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

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 theMIT license.

.NET Foundation

This project is supported by the.NET Foundation.


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


[8]ページ先頭

©2009-2025 Movatter.jp