Minimal APIs

Minimal APIs are a lightweight way to build HTTP APIs in ASP.NET Core using concise endpoint mapping without full MVC scaffolding.

Minimal APIs provide a lightweight approach to building endpoints in ASP.NET Core using MapGet, MapPost and friends.

  • Fast to build and easy to host
  • Works with DI, validation and OpenAPI
  • Ideal for small services and back-office APIs