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!
Subscribe to my YouTube Channel
This work by Shawn Wildermuth is licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported License.
Based on a work at wildermuth.com.
If you liked this article, see Shawn's courses on Pluralsight.
Top comments (0)