route group

A set of minimal API endpoints created with MapGroup that share a URL prefix and metadata such as tags, authorization or rate limiting.

In more detail

Anything configured on the group, such as tags or authorization, applies to every endpoint inside it. app.MapGroup("/api/products") then maps each route relative to the prefix.

Related terms

Taught in

References