dependency-injection

Two gotchas with scoped and singleton dependencies in ASP.NET Core

April 17, 2017 · asp.net-core c# dependency-injection

With ASP.NET Core a new built-in lightweight Dependency Injection framework was introduced in the Microsoft.Extensions.DependencyInjection package, thus in ASP.NET Core applications we don't necessarily need an external library such as Ninject or Unity to do DI, »