Making ASP.NET Core Minimal API handlers easier to test
Constructor injection keeps Minimal API handler tests focused as endpoint dependencies grow.
Constructor injection keeps Minimal API handler tests focused as endpoint dependencies grow.
Most ASP.NET Core projects generate OpenAPI from code. This post explores the opposite approach: treating the spec as the source of truth for Minimal APIs.
Manual registration of Minimal API endpoints can clutter your ASP.NET Core apps. This article explores how to automate it for a cleaner setup.