☄️ Master the Modular Monolith Architecture: https://bit.ly/3SXlzSt
📌 Accelerate your Clean Architecture skills: https://bit.ly/3PupkOJ
🚀 Support me on Patreon to access the source code: / milanjovanovic
Having thin controllers in an ASP.NET Core API is a good practice. It helps to keep any logic away from your ASP.NET Core controllers, increasing maintainability and simplifying your endpoint. I'll show you an interesting approach to making your ASP.NET Core API controllers incredibly simple with a few functional programming concepts.
Join my weekly .NET newsletter:
https://www.milanjovanovic.tech
Read my Blog here:
https://www.milanjovanovic.tech/blog
Subscribe for more:
/ @milanjovanovictech
Chapters
0:00 Benefits of "Thin" Controllers
1:34 Rewriting the controller endpoint
2:24 Defining the Bind function
4:19 Defining the Match function
7:05 Fluent controller endpoints
Смотрите видео Make Your ASP.NET Core API Controllers Incredibly Simple онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Milan Jovanović 28 Февраль 2023, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 23,736 раз и оно понравилось 747 людям.