Get started with dependency injection using IServiceCollection!
In this article that I wrote, you can learn about IServiceCollection in CSharp and dependency injection.
See how Dependency Inversion, Single Responsibility, and Open/Closed Principles fit together!
This is the default dependency injection that gets used with ASP NET Core, so it's a great opportunity to see some of the basics!
Check out the article:
https://www.devleader.ca/2024/02/21/iservicecollection-in-c-simplified-beginners-guide-for-dependency-injection/
Enjoyed the article? Make sure to check out my videos:
https://youtube.com/@devleader
What topics do YOU want to see covered in a write-up? Let me know!
Struggling to post consistently to social media? Ask me about how #BrandGhost can help you out!