minimal API
A web API written as a few lines mapping addresses straight to C# functions.
A minimal API maps routes to handler delegates with MapGet/MapPost/... on a WebApplication, without controllers.
Loading interactive…
Examples
app.MapGet("/hello", () => "Hello!");is a whole endpoint in one line.
See also