ASP.NET Core Pitfalls - Dependency Injection Lifetime Validation

added by DotNetKicks
11/24/2020 5:23:46 PM

381 Views

As you can imagine, it doesn't make much sense to have a service that is registered as singleton to depend on another service that is registered as scoped, because the singleton instantiation will only happen once.


0 comments