Make Your ASP.NET Core API Controllers Incredibly Simple

Published: 28 February 2023
on channel: Milan Jovanović
23,736
747

☄️ 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


Watch video Make Your ASP.NET Core API Controllers Incredibly Simple online without registration, duration hours minute second in high quality. This video was added by user Milan Jovanović 28 February 2023, don't forget to share it with your friends and acquaintances, it has been viewed on our site 23,736 once and liked it 747 people.