API

MapGroup

Creates a route group for common route prefix and conventions.

Formal Syntax & Structure

csharp syntaxcsharp
var group = app.MapGroup("/labels");

Working Example

Example Snippetcsharp
// Documentary fragment; see linked lesson for context.var group = app.MapGroup("/labels");
C# & .NET Reference