🚀 Support me on Patreon to access the source code: https://www.patreon.com/milanjovanovic
☄️ Master the Modular Monolith Architecture: https://bit.ly/3SXlzSt
📌 Accelerate your Clean Architecture skills: https://bit.ly/3PupkOJ
Dependency Injection is powerful, but it’s easy to let Program.cs turn into a mess. In this video, I’ll show you how I structure DI in real-world ASP.NET Core applications:
- Moving service registrations into extension methods
- Using Scrutor for assembly scanning and decorators
- Keeping your code clean, testable, and maintainable
- Avoiding pitfalls with AOT and scanning
By the end, you’ll have a practical setup you can apply right away to make your projects easier to scale and reason about.
Improving ASP.NET Core Dependency Injection With Scrutor
https://www.milanjovanovic.tech/blog/improving-aspnetcore-dependency-injection-with-scrutor
Join my weekly .NET newsletter:
https://www.milanjovanovic.tech
Read my Blog here:
https://www.milanjovanovic.tech/blog
Subscribe for more:
https://www.youtube.com/@MilanJovanovicTech
Chapters