DEV Community

Shawn Wildermuth
Shawn Wildermuth

Posted on • Originally published at wildermuth.com on

1

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!

Subscribe to my YouTube Channel

Creative Commons License

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.

AWS Q Developer image

Your AI Code Assistant

Ask anything about your entire project, code and get answers and even architecture diagrams. Built to handle large projects, Amazon Q Developer works alongside you from idea to production code.

Start free in your IDE

Top comments (0)

Billboard image

Create up to 10 Postgres Databases on Neon's free plan.

If you're starting a new project, Neon has got your databases covered. No credit cards. No trials. No getting in your way.

Try Neon for Free →

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay