Hanselminutes with Scott Hanselman cover image

ASP.NET Core in Action with Andrew Lock

Hanselminutes with Scott Hanselman

00:00

The Importance of Dependency Injection

The idea of dependency injection has gone from being something that the fringe or more advanced developers did to now, everyone does. The main thing that I find is that it just makes unit testing things easier a lot of the time. If you can inject an interface instead of a concrete version of a class, then you can test that class in isolation. Just making testing so much easier makes it worthwhile in my book.

Transcript
Play full episode

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app