Keel.Endpoints.Versioning 1.0.0-rc.1

This is a prerelease version of Keel.Endpoints.Versioning.
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package Keel.Endpoints.Versioning --version 1.0.0-rc.1
                    
NuGet\Install-Package Keel.Endpoints.Versioning -Version 1.0.0-rc.1
                    
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="Keel.Endpoints.Versioning" Version="1.0.0-rc.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Keel.Endpoints.Versioning" Version="1.0.0-rc.1" />
                    
Directory.Packages.props
<PackageReference Include="Keel.Endpoints.Versioning" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Keel.Endpoints.Versioning --version 1.0.0-rc.1
                    
#r "nuget: Keel.Endpoints.Versioning, 1.0.0-rc.1"
                    
#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.
#:package Keel.Endpoints.Versioning@1.0.0-rc.1
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Keel.Endpoints.Versioning&version=1.0.0-rc.1&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Keel.Endpoints.Versioning&version=1.0.0-rc.1&prerelease
                    
Install as a Cake Tool

Keel.Endpoints.Versioning

API versioning for Keel.Endpoints, on top of Asp.Versioning: one folder per version, and nothing to repeat on each endpoint.

builder.Services.AddApiVersioning(o =>
    {
        o.ReportApiVersions = true;
        o.ApiVersionReader = new UrlSegmentApiVersionReader();   // the version is in the URL (AV0015)
    })
    .AddApiExplorer(o => { o.GroupNameFormat = "'v'V"; o.SubstituteApiVersionInUrl = true; });

app.NewVersionedApi()
    .MapKeelEndpoints("/api/v{version:apiVersion}")
    .WithKeelVersioning();
Features/V1/Orders/Get/Endpoint.cs   → GET /api/v1/orders/{id}, operation OrdersGetV1
Features/V2/Orders/Get/Endpoint.cs   → GET /api/v2/orders/{id}, operation OrdersGetV2
  • Version from the folder: V2, V2_1, v2026_10_01 in the namespace, as Asp.Versioning reads them. [ApiVersion(2.0)], [MapToApiVersion] or [ApiVersionNeutral] on the class win.
  • Unique operation names: an endpoint serving one version gets it as a suffix (OrdersGetV2); without it two versions of an operation have the same name and ASP.NET Core refuses to route.
  • KEEL001 knows about versions: the same route in V1 and V2 is not a duplicate.

Routing by version, api-supported-versions headers, deprecation and sunset policies are Asp.Versioning's. See the versioning guide.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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-rc.8 41 11/12/2026
1.0.0-rc.7 66 11/1/2026
1.0.0-rc.6 61 11/1/2026
1.0.0-rc.5 58 10/31/2026
1.0.0-rc.4 66 10/31/2026
1.0.0-rc.3 66 10/31/2026
1.0.0-rc.2 64 10/31/2026
1.0.0-rc.1 67 10/24/2026
1.0.0-preview.6 152 10/23/2026