Start using Dependency Injection with ASP.NET Core

added by DotNetKicks
11/17/2016 12:39:15 PM

3 Kicks, 173 Views

ASP.NET Core ships with a built-in Dependency Injection Framework. DI frameworks give you a way to set up all your dependencies in one place. You can then use these dependencies anywhere in your web application. The common approach is to inject them via constructors.