Build a .NET 10 Web API with Minimal APIs, Entity Framework Core and SQL Server, using Clean Architecture and FluentValidation.
Learn why Minimal APIs are now recommended in .NET and follow a step-by-step guide to migrate from controllers to Minimal APIs with versioning and Swagger.
Secure your .NET Minimal API quickly using API key authentication, with full Swagger support for testing and protecting endpoints.
Learn why Minimal APIs often miss OpenAPI response types and how to fix missing 404, 400, and 500 responses using TypedResults and Produces methods.
Learn how ASP.NET Core route constraints work, the built-in constraint types available, and how to add them to your Minimal API or controller routes with examples.
Learn how to upload files with IFormFile and IFormFileCollection using minimal APIs in ASP.NET Core, and how to generate antiforgery tokens.
Learn how to unit test minimal API endpoint handlers in ASP.NET Core using xUnit by organising routes and handlers into separate classes.
Learn how to add API key authentication to minimal API endpoints using a saved key in the config and apply a fallback policy to secure all routes.
Learn how to add multiple endpoint filters to minimal API routes to run custom logic before and after your endpoint handlers.
Learn when to use TypedResults vs Results in minimal APIs and explore the different response types available for returning API responses.