Coding Shorts: Dependency Injection Explained
source link: https://wildermuth.com/2021/07/05/Coding-Shorts-Dependency-Injection-Explained
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Coding Shorts: Dependency Injection Explained
Like most of you, I've been using Dependency Injection in my projects for quite a while. Whether it be the built-in .NET Core Dependency Injection layer, Ninject, StructureMap, Unity, MEF, etc. I've been using a DI layer to do this work for many years. But before I understood the benefit, I did so somewhat reluctantly.
For me, it seemed like a lot of boilerplate for little benefit. But once I started using it, it clicked why it was so important. In this new Coding Shorts video, I show you why Dependency Injection is so important and why you'll want to use it once you understand how it works:
If you like the video, don't forget to subscribe to be notified of new videos!
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK