# Your First Minimal API

A minimal API maps each address and method straight to a lambda in Program.cs, with MapGet, MapPost, MapPut and MapDelete. The lambda's parameters come from the route and the body, and Results.NotFound(), Results.Created() and friends choose the status code.

![Cheat sheet: Your First Minimal API](https://fsdtrainingmedia.blob.core.windows.net/public/images/2026/11/5c4e5367684948419cf5a73a11cb8a1d.webp)

- Category: ASP.NET Core
- Level: Apprentice
- Tags: aspnet-core, Endpoint (rest-api), MapGet and MapPost, Minimal API, rest-api, Results and TypedResults, Web API
- Updated: November 3, 2026

Source: https://www.ask-codey.com/cheat-sheets/minimal-apis-your-first-minimal-api-cheat-sheet
