Skip to main content
net7.0

A service API versioning library for Microsoft ASP.NET Core.

Published
Sep 15, 2023
3y ago
Total Downloads
170.5M
170,548,471

Install

dotnet add package Asp.Versioning.Http --version 7.1.0
ProductVersions
.NET
net7.0

README

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 Core. The API versioning extensions define simple metadata attributes and conventions that you use to describe which API versions are implemented by your services.

This package contains the foundational library for API versioning with ASP.NET Core and only includes support for Minimal APIs. For additional functionality provided by ASP.NET Core MVC use the API Versioning MVC package.

Commonly Used Types

  • Asp.Versioning.ApiVersioningOptions
  • Asp.Versioning.ApiVersionDescription
  • Asp.Versioning.ApiVersionReader
  • Asp.Versioning.IApiVersionDescriptionProvider
  • Asp.Versioning.IApiVersionSelector
  • Asp.Versioning.IReportApiVersions
  • Asp.Versioning.ISunsetPolicyBuilder
  • Asp.Versioning.ISunsetPolicyManager
  • Asp.Versioning.QueryStringApiVersionReader

Release Notes

  • Add backward compatibility for error objects

Changes from Previous Version

No structural changes between v7.0.1 and v7.1.0.

Adoption Assessment

A verified publisher signal is available. Assess fit from the package's supported frameworks, license and dependency graph rather than popularity alone.

Compatibility metadata lists 1 target framework; confirm the exact target used by your application.

Related Guides & Workflows

Learn how to evaluate, integrate, or audit this package in your .NET project.