AspNetCore.Docs
AspNetCore.Docs copied to clipboard
Minimal API - Versioning support available.
The Asp.Versioning.Http package helps to implement versioning in Minimal API. Here is an example - (MinimalApiExample)
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.
- ID: b391017f-25e1-d5e1-c4f7-020408ade7b5
- Version Independent ID: 263a7b64-2e42-bbfc-c1d3-61680438e1e4
- Content: Create web APIs with ASP.NET Core
- Content Source: aspnetcore/web-api/index.md
- Product: aspnet-core
- Technology: aspnetcore-webapi
- GitHub Login: @Rick-Anderson
- Microsoft Alias: riande
@anuraj that's not just for Minimal API's, works with controllers too.
https://github.com/dotnet/aspnet-api-versioning
We'll just point to the samples
I think this can be updated.

It's not there in .NET 7