minimal API

An ASP.NET Core style that declares each route and its handler together, as in app.MapGet("/api/ping", () => Results.Ok("catalog")).

In more detail

Handler parameters are bound from the request and from dependency injection by type and name. It removes the controller class, not the pipeline, validation or testing; route groups share prefixes and metadata.

Related terms

Taught in

References