dotnet-api-versioning
API versioning strategies for ASP.NET Core using the Asp.Versioning library family. URL segment versioning
(/api/v1/) is the preferred approach for simplicity and discoverability. This skill covers URL, header, and query
string versioning with configuration for both Minimal APIs and MVC controllers, sunset policy enforcement, and migration
from legacy packages.
Scope
- URL segment, header, and query string versioning strategies
- Asp.Versioning configuration for Minimal APIs and MVC controllers
- Sunset policies and version deprecation (RFC 8594)
- Combining version readers for migration scenarios
- Legacy package migration guidance
Out of scope
- Minimal API endpoint patterns (route groups, filters, TypedResults) -- see [skill:dotnet-minimal-apis]
- OpenAPI document generation per API version -- see [skill:dotnet-openapi]
- Authentication and authorization per version -- see [skill:dotnet-api-security]
Cross-references: [skill:dotnet-minimal-apis] for Minimal API endpoint patterns, [skill:dotnet-openapi] for versioned
OpenAPI documents.
Package Landscape
| Package |
Target |
Status |
Asp.Versioning.Http |
Minimal APIs |
Current |
Asp.Versioning.Mvc.ApiExplorer |
MVC controllers + API Explorer |
Current |
Asp.Versioning.Mvc |
MVC controllers (no API Explorer) |
Current |
Microsoft.AspNetCore.Mvc.Versioning |
MVC controllers |
Legacy -- migrate to Asp.Versioning.Mvc |
Microsoft.AspNetCore.Mvc.Versioning.ApiExplorer |
MVC + API Explorer |
Legacy -- migrate to Asp.Versioning.Mvc.ApiExplorer |
Install for Minimal APIs:
<PackageReference Include="Asp.Versioning.Http" Version="8.*" />
```xml
Install for MVC controllers:
```xml
<PackageReference Include="Asp.Versioning.Mvc.ApiExplorer" Version="8.*" />
```xml
---
## URL Segment Versioning (Preferred)
URL segment versioning embeds the version in the path (`/api/v1/products`). It is the simplest strategy, works with all
HTTP clients, is cacheable, and clearly visible in logs and documentation.
### Minimal APIs
```csharp
builder.Services.AddApiVersioning(options =>
{
options.DefaultApiVersion = new ApiVersion(1, 0);
options.AssumeDefaultVersionWhenUnspecified = true;
options.ReportApiVersions = true; // Adds api-supported-versions header
options.ApiVersionReader = new UrlSegmentApiVersionReader();
});
var app = builder.Build();
var versionSet = app.NewApiVersionSet()
.HasApiVersion(new ApiVersion(1, 0))
.HasApiVersion(new ApiVersion(2, 0))
.ReportApiVersions()
.Build();
var v1 = app.MapGroup("/api/v{version:apiVersion}/products")
.WithApiVersionSet(versionSet)
.MapToApiVersion(new ApiVersion(1, 0));
var v2 = app.MapGroup("/api/v{version:apiVersion}/products")
.WithApiVersionSet(versionSet)
.MapToApiVersion(new ApiVersion(2, 0));
// V1: returns basic product info
v1.MapGet("/", async (AppDbContext db) =>
TypedResults.Ok(await db.Products
.Select(p => new ProductV1Dto(p.Id, p.Name, p.Price))
.ToListAsync()));
// V2: returns extended product info with category
v2.MapGet("/", async (AppDbContext db) =>
TypedResults.Ok(await db.Products
.Select(p => new ProductV2Dto(p.Id, p.Name, p.Price, p.Category, p.CreatedAt))
.ToListAsync()));
```text
### MVC Controllers
```csharp
builder.Services.AddApiVersioning(options =>
{
options.DefaultApiVersion = new ApiVersion(1, 0);
options.AssumeDefaultVersionWhenUnspecified = true;
options.ReportApiVersions = true;
options.ApiVersionReader = new UrlSegmentApiVersionReader();
})
.AddMvc()
.AddApiExplorer(options =>
{
options.GroupNameFormat = "'v'VVV"; // e.g., v1, v2
options.SubstituteApiVersionInUrl = true;
});
// V1 controller
[ApiController]
[Route("api/v{version:apiVersion}/products")]
[ApiVersion("1.0")]
public sealed class ProductsController(AppDbContext db) : ControllerBase
{
[HttpGet]
public async Task<IActionResult> GetAll() =>
Ok(await db.Products
.Select(p => new ProductV1Dto(p.Id, p.Name, p.Price))
.ToListAsync());
}
// V2 controller -- use explicit route, not [controller] token
[ApiController]
[Route("api/v{version:apiVersion}/products")]
[ApiVersion("2.0")]
public sealed class ProductsV2Controller(AppDbContext db) : ControllerBase
{
[HttpGet]
public async Task<IActionResult> GetAll() =>
Ok(await db.Products
.Select(p => new ProductV2Dto(p.Id, p.Name, p.Price, p.Category, p.CreatedAt))
.ToListAsync());
}
```text
---
## Header Versioning
Header versioning reads the API version from a custom request header. Keeps URLs clean but is less discoverable and
harder to test from a browser.
```csharp
builder.Services.AddApiVersioning(options =>
{
options.DefaultApiVersion = new ApiVersion(1, 0);
options.AssumeDefaultVersionWhenUnspecified = true;
options.ReportApiVersions = true;
options.ApiVersionReader = new HeaderApiVersionReader("X-Api-Version");
});
```text
Client request:
```http
GET /api/products HTTP/1.1
Host: api.example.com
X-Api-Version: 2.0
```text
---
## Query String Versioning
Query string versioning uses a query parameter (default: `api-version`). Simple to use but pollutes URLs and may
conflict with caching strategies.
```csharp
builder.Services.AddApiVersioning(options =>
{
options.DefaultApiVersion = new ApiVersion(1, 0);
options.AssumeDefaultVersionWhenUnspecified = true;
options.ReportApiVersions = true;
options.ApiVersionReader = new QueryStringApiVersionReader("api-version");
});
```text
Client request:
```http
GET /api/products?api-version=2.0 HTTP/1.1
Host: api.example.com
```text
---
## Combining Version Readers
Multiple readers can be combined. The first reader that resolves a version wins. This is useful during migration from
one strategy to another:
```csharp
options.ApiVersionReader = ApiVersionReader.Combine(
new UrlSegmentApiVersionReader(),
new HeaderApiVersionReader("X-Api-Version"),
new QueryStringApiVersionReader("api-version"));
```text
---
## Sunset Policies
Sunset policies communicate to consumers that an API version is deprecated and will be removed. The `Sunset` HTTP
response header follows [RFC 8594](https://datatracker.ietf.org/doc/html/rfc8594).
```csharp
builder.Services.AddApiVersioning(options =>
{
options.DefaultApiVersion = new ApiVersion(2, 0);
options.ReportApiVersions = true;
options.Policies.Sunset(1.0)
.Effective(new DateTimeOffset(2026, 6, 1, 0, 0, 0, TimeSpan.Zero))
.Link("https://docs.example.com/api/migration-v1-to-v2")
.Title("V1 to V2 Migration Guide")
.Type("text/html");
});
```text
Response headers for a v1 request:
```http
api-supported-versions: 1.0, 2.0
api-deprecated-versions: 1.0
Sunset: Sun, 01 Jun 2026 00:00:00 GMT
Link: <https://docs.example.com/api/migration-v1-to-v2>; rel="sunset"; title="V1 to V2 Migration Guide"; type="text/html"
```text
### Deprecating a Version
Mark a version as deprecated using the version set (Minimal APIs) or attribute (MVC):
```csharp
// Minimal APIs
var versionSet = app.NewApiVersionSet()
.HasApiVersion(new ApiVersion(1, 0))
.HasDeprecatedApiVersion(new ApiVersion(1, 0))
.HasApiVersion(new ApiVersion(2, 0))
.ReportApiVersions()
.Build();
// MVC controllers
[ApiVersion("1.0", Deprecated = true)]
[ApiVersion("2.0")]
public sealed class ProductsController : ControllerBase { }
```text
---
## Migration from Legacy Packages
Projects using `Microsoft.AspNetCore.Mvc.Versioning` should migrate to `Asp.Versioning.Mvc` (or `Asp.Versioning.Http`
for Minimal APIs). The API surface is largely compatible with namespace changes:
| Legacy namespace | Current namespace |
| -------------------------------------- | ---------------------------- |
| `Microsoft.AspNetCore.Mvc.Versioning` | `Asp.Versioning` |
| `Microsoft.AspNetCore.Mvc.ApiExplorer` | `Asp.Versioning.ApiExplorer` |
Key migration steps:
1. Replace NuGet package references
2. Update `using` directives from `Microsoft.AspNetCore.Mvc.Versioning` to `Asp.Versioning`
3. Update service registration from `services.AddApiVersioning()` (legacy extension) to the current extension from
`Asp.Versioning`
4. Review any custom `IApiVersionReader` implementations for breaking changes
See the [migration guide](https://github.com/dotnet/aspnet-api-versioning/wiki/Migration-Guide) for detailed steps.
---
## Version Strategy Decision Guide
| Strategy | Pros | Cons | Best for |
| ------------------------------------- | -------------------------------------------- | --------------------------------- | --------------------------------------- |
| **URL segment** (`/api/v1/`) | Simple, visible, cacheable, works everywhere | URL changes per version | Public APIs, most projects (preferred) |
| **Header** (`X-Api-Version: 1.0`) | Clean URLs, no path changes | Less discoverable, harder to test | Internal APIs with controlled clients |
| **Query string** (`?api-version=1.0`) | Easy to add, no path changes | Pollutes URL, cache key issues | Quick prototyping, legacy compatibility |
**Recommendation:** Start with URL segment versioning for all new projects. Add header or query string readers only when
migrating from an existing strategy or when specific client constraints require it.
---
## Agent Gotchas
1. **Do not use the legacy `Microsoft.AspNetCore.Mvc.Versioning` package for new projects** -- use `Asp.Versioning.Http`
(Minimal APIs) or `Asp.Versioning.Mvc` (MVC controllers).
2. **Do not hardcode version numbers in package references** -- use version ranges (e.g., `8.*`) so the package version
matches the latest compatible release.
3. **Do not forget `ReportApiVersions = true`** -- without it, clients cannot discover available versions from response
headers.
4. **Do not mix `MapToApiVersion` and route group prefixes inconsistently** -- each route group should target exactly
one API version.
5. **Do not deprecate a version without a sunset policy** -- always provide a sunset date and migration link so
consumers can plan.
6. **Do not use `AssumeDefaultVersionWhenUnspecified = true` for public APIs** -- it hides versioning requirements from
consumers. Require explicit version selection instead.
---
## Prerequisites
- .NET 8.0+ (LTS baseline)
- `Asp.Versioning.Http` for Minimal APIs
- `Asp.Versioning.Mvc.ApiExplorer` for MVC controllers with API Explorer integration
---
## Code Navigation (Serena MCP)
**Primary approach:** Use Serena symbol operations for efficient code navigation:
1. **Find definitions**: `serena_find_symbol` instead of text search
2. **Understand structure**: `serena_get_symbols_overview` for file organization
3. **Track references**: `serena_find_referencing_symbols` for impact analysis
4. **Precise edits**: `serena_replace_symbol_body` for clean modifications
**When to use Serena vs traditional tools:**
- ✅ **Use Serena**: Navigation, refactoring, dependency analysis, precise edits
- ✅ **Use Read/Grep**: Reading full files, pattern matching, simple text operations
- ✅ **Fallback**: If Serena unavailable, traditional tools work fine
**Example workflow:**
```text
# Instead of:
Read: src/Services/OrderService.cs
Grep: "public void ProcessOrder"
# Use:
serena_find_symbol: "OrderService/ProcessOrder"
serena_get_symbols_overview: "src/Services/OrderService.cs"
```
## References
- [ASP.NET API Versioning](https://github.com/dotnet/aspnet-api-versioning)
- [API Versioning Wiki](https://github.com/dotnet/aspnet-api-versioning/wiki)
- [Asp.Versioning.Http NuGet](https://www.nuget.org/packages/Asp.Versioning.Http)
- [Asp.Versioning.Mvc NuGet](https://www.nuget.org/packages/Asp.Versioning.Mvc)
- [RFC 8594 - The Sunset HTTP Header](https://datatracker.ietf.org/doc/html/rfc8594)
1---2name: dotnet-api-versioning3category: web4subcategory: minimal-apis5description: Versions HTTP APIs. Asp.Versioning.Http/Mvc, URL segment, header, query string, sunset.6license: MIT7targets: ['*']8tags: [api, dotnet, skill]9version: '0.0.1'10author: 'dotnet-agent-harness'11invocable: true12claudecode:13 allowed-tools: ['Read', 'Grep', 'Glob', 'Bash', 'Write', 'Edit']14codexcli:15 short-description: '.NET skill guidance for api tasks'16opencode:17 allowed-tools: ['Read', 'Grep', 'Glob', 'Bash', 'Write', 'Edit']18copilot: {}19geminicli: {}20antigravity: {}21---2223# dotnet-api-versioning2425API versioning strategies for ASP.NET Core using the `Asp.Versioning` library family. URL segment versioning26(`/api/v1/`) is the preferred approach for simplicity and discoverability. This skill covers URL, header, and query27string versioning with configuration for both Minimal APIs and MVC controllers, sunset policy enforcement, and migration28from legacy packages.2930## Scope3132- URL segment, header, and query string versioning strategies33- Asp.Versioning configuration for Minimal APIs and MVC controllers34- Sunset policies and version deprecation (RFC 8594)35- Combining version readers for migration scenarios36- Legacy package migration guidance3738## Out of scope3940- Minimal API endpoint patterns (route groups, filters, TypedResults) -- see [skill:dotnet-minimal-apis]41- OpenAPI document generation per API version -- see [skill:dotnet-openapi]42- Authentication and authorization per version -- see [skill:dotnet-api-security]4344Cross-references: [skill:dotnet-minimal-apis] for Minimal API endpoint patterns, [skill:dotnet-openapi] for versioned45OpenAPI documents.4647---4849## Package Landscape5051| Package | Target | Status |52| ------------------------------------------------- | --------------------------------- | --------------------------------------------------------- |53| `Asp.Versioning.Http` | Minimal APIs | **Current** |54| `Asp.Versioning.Mvc.ApiExplorer` | MVC controllers + API Explorer | **Current** |55| `Asp.Versioning.Mvc` | MVC controllers (no API Explorer) | **Current** |56| `Microsoft.AspNetCore.Mvc.Versioning` | MVC controllers | **Legacy** -- migrate to `Asp.Versioning.Mvc` |57| `Microsoft.AspNetCore.Mvc.Versioning.ApiExplorer` | MVC + API Explorer | **Legacy** -- migrate to `Asp.Versioning.Mvc.ApiExplorer` |5859Install for Minimal APIs:6061````xml6263<PackageReference Include="Asp.Versioning.Http" Version="8.*" />6465```xml6667Install for MVC controllers:6869```xml7071<PackageReference Include="Asp.Versioning.Mvc.ApiExplorer" Version="8.*" />7273```xml7475---7677## URL Segment Versioning (Preferred)7879URL segment versioning embeds the version in the path (`/api/v1/products`). It is the simplest strategy, works with all80HTTP clients, is cacheable, and clearly visible in logs and documentation.8182### Minimal APIs8384```csharp8586builder.Services.AddApiVersioning(options =>87{88 options.DefaultApiVersion = new ApiVersion(1, 0);89 options.AssumeDefaultVersionWhenUnspecified = true;90 options.ReportApiVersions = true; // Adds api-supported-versions header91 options.ApiVersionReader = new UrlSegmentApiVersionReader();92});9394var app = builder.Build();9596var versionSet = app.NewApiVersionSet()97 .HasApiVersion(new ApiVersion(1, 0))98 .HasApiVersion(new ApiVersion(2, 0))99 .ReportApiVersions()100 .Build();101102var v1 = app.MapGroup("/api/v{version:apiVersion}/products")103 .WithApiVersionSet(versionSet)104 .MapToApiVersion(new ApiVersion(1, 0));105106var v2 = app.MapGroup("/api/v{version:apiVersion}/products")107 .WithApiVersionSet(versionSet)108 .MapToApiVersion(new ApiVersion(2, 0));109110// V1: returns basic product info111v1.MapGet("/", async (AppDbContext db) =>112 TypedResults.Ok(await db.Products113 .Select(p => new ProductV1Dto(p.Id, p.Name, p.Price))114 .ToListAsync()));115116// V2: returns extended product info with category117v2.MapGet("/", async (AppDbContext db) =>118 TypedResults.Ok(await db.Products119 .Select(p => new ProductV2Dto(p.Id, p.Name, p.Price, p.Category, p.CreatedAt))120 .ToListAsync()));121122```text123124### MVC Controllers125126```csharp127128builder.Services.AddApiVersioning(options =>129{130 options.DefaultApiVersion = new ApiVersion(1, 0);131 options.AssumeDefaultVersionWhenUnspecified = true;132 options.ReportApiVersions = true;133 options.ApiVersionReader = new UrlSegmentApiVersionReader();134})135.AddMvc()136.AddApiExplorer(options =>137{138 options.GroupNameFormat = "'v'VVV"; // e.g., v1, v2139 options.SubstituteApiVersionInUrl = true;140});141142// V1 controller143[ApiController]144[Route("api/v{version:apiVersion}/products")]145[ApiVersion("1.0")]146public sealed class ProductsController(AppDbContext db) : ControllerBase147{148 [HttpGet]149 public async Task<IActionResult> GetAll() =>150 Ok(await db.Products151 .Select(p => new ProductV1Dto(p.Id, p.Name, p.Price))152 .ToListAsync());153}154155// V2 controller -- use explicit route, not [controller] token156[ApiController]157[Route("api/v{version:apiVersion}/products")]158[ApiVersion("2.0")]159public sealed class ProductsV2Controller(AppDbContext db) : ControllerBase160{161 [HttpGet]162 public async Task<IActionResult> GetAll() =>163 Ok(await db.Products164 .Select(p => new ProductV2Dto(p.Id, p.Name, p.Price, p.Category, p.CreatedAt))165 .ToListAsync());166}167168```text169170---171172## Header Versioning173174Header versioning reads the API version from a custom request header. Keeps URLs clean but is less discoverable and175harder to test from a browser.176177```csharp178179builder.Services.AddApiVersioning(options =>180{181 options.DefaultApiVersion = new ApiVersion(1, 0);182 options.AssumeDefaultVersionWhenUnspecified = true;183 options.ReportApiVersions = true;184 options.ApiVersionReader = new HeaderApiVersionReader("X-Api-Version");185});186187```text188189Client request:190191```http192193GET /api/products HTTP/1.1194Host: api.example.com195X-Api-Version: 2.0196197```text198199---200201## Query String Versioning202203Query string versioning uses a query parameter (default: `api-version`). Simple to use but pollutes URLs and may204conflict with caching strategies.205206```csharp207208builder.Services.AddApiVersioning(options =>209{210 options.DefaultApiVersion = new ApiVersion(1, 0);211 options.AssumeDefaultVersionWhenUnspecified = true;212 options.ReportApiVersions = true;213 options.ApiVersionReader = new QueryStringApiVersionReader("api-version");214});215216```text217218Client request:219220```http221222GET /api/products?api-version=2.0 HTTP/1.1223Host: api.example.com224225```text226227---228229## Combining Version Readers230231Multiple readers can be combined. The first reader that resolves a version wins. This is useful during migration from232one strategy to another:233234```csharp235236options.ApiVersionReader = ApiVersionReader.Combine(237 new UrlSegmentApiVersionReader(),238 new HeaderApiVersionReader("X-Api-Version"),239 new QueryStringApiVersionReader("api-version"));240241```text242243---244245## Sunset Policies246247Sunset policies communicate to consumers that an API version is deprecated and will be removed. The `Sunset` HTTP248response header follows [RFC 8594](https://datatracker.ietf.org/doc/html/rfc8594).249250```csharp251252builder.Services.AddApiVersioning(options =>253{254 options.DefaultApiVersion = new ApiVersion(2, 0);255 options.ReportApiVersions = true;256 options.Policies.Sunset(1.0)257 .Effective(new DateTimeOffset(2026, 6, 1, 0, 0, 0, TimeSpan.Zero))258 .Link("https://docs.example.com/api/migration-v1-to-v2")259 .Title("V1 to V2 Migration Guide")260 .Type("text/html");261});262263```text264265Response headers for a v1 request:266267```http268269api-supported-versions: 1.0, 2.0270api-deprecated-versions: 1.0271Sunset: Sun, 01 Jun 2026 00:00:00 GMT272Link: <https://docs.example.com/api/migration-v1-to-v2>; rel="sunset"; title="V1 to V2 Migration Guide"; type="text/html"273274```text275276### Deprecating a Version277278Mark a version as deprecated using the version set (Minimal APIs) or attribute (MVC):279280```csharp281282// Minimal APIs283var versionSet = app.NewApiVersionSet()284 .HasApiVersion(new ApiVersion(1, 0))285 .HasDeprecatedApiVersion(new ApiVersion(1, 0))286 .HasApiVersion(new ApiVersion(2, 0))287 .ReportApiVersions()288 .Build();289290// MVC controllers291[ApiVersion("1.0", Deprecated = true)]292[ApiVersion("2.0")]293public sealed class ProductsController : ControllerBase { }294295```text296297---298299## Migration from Legacy Packages300301Projects using `Microsoft.AspNetCore.Mvc.Versioning` should migrate to `Asp.Versioning.Mvc` (or `Asp.Versioning.Http`302for Minimal APIs). The API surface is largely compatible with namespace changes:303304| Legacy namespace | Current namespace |305| -------------------------------------- | ---------------------------- |306| `Microsoft.AspNetCore.Mvc.Versioning` | `Asp.Versioning` |307| `Microsoft.AspNetCore.Mvc.ApiExplorer` | `Asp.Versioning.ApiExplorer` |308309Key migration steps:3103111. Replace NuGet package references3122. Update `using` directives from `Microsoft.AspNetCore.Mvc.Versioning` to `Asp.Versioning`3133. Update service registration from `services.AddApiVersioning()` (legacy extension) to the current extension from314 `Asp.Versioning`3154. Review any custom `IApiVersionReader` implementations for breaking changes316317See the [migration guide](https://github.com/dotnet/aspnet-api-versioning/wiki/Migration-Guide) for detailed steps.318319---320321## Version Strategy Decision Guide322323| Strategy | Pros | Cons | Best for |324| ------------------------------------- | -------------------------------------------- | --------------------------------- | --------------------------------------- |325| **URL segment** (`/api/v1/`) | Simple, visible, cacheable, works everywhere | URL changes per version | Public APIs, most projects (preferred) |326| **Header** (`X-Api-Version: 1.0`) | Clean URLs, no path changes | Less discoverable, harder to test | Internal APIs with controlled clients |327| **Query string** (`?api-version=1.0`) | Easy to add, no path changes | Pollutes URL, cache key issues | Quick prototyping, legacy compatibility |328329**Recommendation:** Start with URL segment versioning for all new projects. Add header or query string readers only when330migrating from an existing strategy or when specific client constraints require it.331332---333334## Agent Gotchas3353361. **Do not use the legacy `Microsoft.AspNetCore.Mvc.Versioning` package for new projects** -- use `Asp.Versioning.Http`337 (Minimal APIs) or `Asp.Versioning.Mvc` (MVC controllers).3382. **Do not hardcode version numbers in package references** -- use version ranges (e.g., `8.*`) so the package version339 matches the latest compatible release.3403. **Do not forget `ReportApiVersions = true`** -- without it, clients cannot discover available versions from response341 headers.3424. **Do not mix `MapToApiVersion` and route group prefixes inconsistently** -- each route group should target exactly343 one API version.3445. **Do not deprecate a version without a sunset policy** -- always provide a sunset date and migration link so345 consumers can plan.3466. **Do not use `AssumeDefaultVersionWhenUnspecified = true` for public APIs** -- it hides versioning requirements from347 consumers. Require explicit version selection instead.348349---350351## Prerequisites352353- .NET 8.0+ (LTS baseline)354- `Asp.Versioning.Http` for Minimal APIs355- `Asp.Versioning.Mvc.ApiExplorer` for MVC controllers with API Explorer integration356357---358359360361## Code Navigation (Serena MCP)362363**Primary approach:** Use Serena symbol operations for efficient code navigation:3643651. **Find definitions**: `serena_find_symbol` instead of text search3662. **Understand structure**: `serena_get_symbols_overview` for file organization3673. **Track references**: `serena_find_referencing_symbols` for impact analysis3684. **Precise edits**: `serena_replace_symbol_body` for clean modifications369370**When to use Serena vs traditional tools:**371- ✅ **Use Serena**: Navigation, refactoring, dependency analysis, precise edits372- ✅ **Use Read/Grep**: Reading full files, pattern matching, simple text operations373- ✅ **Fallback**: If Serena unavailable, traditional tools work fine374375**Example workflow:**376```text377# Instead of:378Read: src/Services/OrderService.cs379Grep: "public void ProcessOrder"380381# Use:382serena_find_symbol: "OrderService/ProcessOrder"383serena_get_symbols_overview: "src/Services/OrderService.cs"384```385## References386387- [ASP.NET API Versioning](https://github.com/dotnet/aspnet-api-versioning)388- [API Versioning Wiki](https://github.com/dotnet/aspnet-api-versioning/wiki)389- [Asp.Versioning.Http NuGet](https://www.nuget.org/packages/Asp.Versioning.Http)390- [Asp.Versioning.Mvc NuGet](https://www.nuget.org/packages/Asp.Versioning.Mvc)391- [RFC 8594 - The Sunset HTTP Header](https://datatracker.ietf.org/doc/html/rfc8594)392````