1

Minimal APIs Are Fast. They're Also Easy to Get Wrong

ahextech901
Minimal APIs are genuinely excellent — less ceremony, faster startup, Native AOT compatibility, same Kestrel throughput in fewer lines. They're also easy to build insecurely, because much of what controllers gave you for free is now opt-in. Authorization isn't automatic. With controllers, [Authorize] at class level protects every action. With minimal APIs, you must apply it p... https://ahex.co/asp-dot-net-core/
Report this page

Comments

    HTML is allowed

Who Upvoted this Story