ASP.NET Monsters #12 - Dependency Injection in ASP.NET Core

Sign in to queue


What is dependency injection, and how can it be leveraged in your project? Monster James walks through the default setup in an application as it relates to the default configured project in ASP.NET Core and MVC Core in this episode of the Monsters Weekly.

If you've managed to avoid the use of dependency injection so far, your run has come to an end. You can think of DI as a first-class citizen - in fact, it's part of the framework now - but a citizen that is very lightweight and politely gets out of the way if you need something more heavy duty (...and yes! We'll cover that in greater detail in a future episode).

Be sure to follow the Monsters on Twitter and check out the blog for related posts.

The production code for this episode is Ug.



Download this episode

The Discussion

Add Your 2 Cents