Series
Multi-part guides meant to be read in order, each building on the last.
Minimal APIs in Production
Taking .NET Minimal APIs from a single-file demo to a maintainable, secured, observable production service.
- 1. Structuring a .NET Minimal API Project That Survives Growth
Program.cs stops scaling around twenty endpoints. Here is a vertical-slice layout for Minimal APIs that keeps routing, validation, and handlers organised as the project grows.
- 2. How to Secure a .NET Minimal API with JWT Bearer Authentication
A complete, working setup for JWT bearer auth in ASP.NET Core Minimal APIs — token validation, role policies, and the configuration mistakes that silently disable security.