Get the source code for this video for FREE → [ Ссылка ]
☄️ Master the Modular Monolith Architecture: [ Ссылка ]
📌 Accelerate your Clean Architecture skills: [ Ссылка ]
🚀 Support me on Patreon to access the source code: [ Ссылка ]
Minimal APIs were added in .NET 6 and keep improving with each new version. Minimal APIs are easy to work with, more lightweight than controllers, and perform better. But how do you move from Controllers to Minimal APIs? That's what I will show you in today's video.
Join my weekly .NET newsletter:
[ Ссылка ]
Read my Blog here:
[ Ссылка ]
Chapters
0:00 Controllers are dinosaurs
1:31 Going from Controllers to Minimal APIs
4:27 Using static methods for endpoints
9:19 How to use Groups to manage endpoints
10:35 Exposing endpoints on the API level
12:30 Strong typing for Minimal APIs
Fix Your Controllers By Refactoring To Minimal APIs
Теги
minimal apisminimal apis cminimal apis vs controllersminimal apis dependency injectionminimal apis dotnetminimal apis authenticationminimal apis swaggerminimal apis in asp.net core 6minimal apis middlewareasp.net minimal apisminimal apis controllerscontrollers to minimal apisrefactor controllers to minimal apisminimal apis .net 6minimal apis .net 7minimal apis .net 8minimal apis clean architectureminimal apis vertical slice architecture