Tuesday, January 31, 2017

Dependency Injection 101 in ASP.NET Core



Dependency Injection is an application design that enables class dependencies to be automatically added to an instantiated object.  The net effect is a loose coupling between classes, with dependencies provided to a class as constructor parameters or properties.  These parameters or properties typically reference an interface so that a concrete object that implements that interface can be passed in.