Registering a type as an interface and as self with ASP.NET Core dependency injection

added by DotNetKicks
10/19/2018 1:12:40 PM

2 Kicks, 198 Views

While I am a big fan of Autofac to serve as the framework for making Inversion of Control (IoC) and Dependency Injection (DI) work in an application, it is quite convenient in simple projects to use the built-in dependency injection in ASP.NET Core.


0 comments