New in ASP.NET Core 3: Service provider validation: Exploring ASP.NET Core 3.0 - Part 3

added by DotNetKicks
9/10/2019 10:19:18 AM

2 Kicks, 227 Views

In this post I describe the new "validate on build" feature that has been added to ASP.NET Core 3.0. This can be used to detect when your DI service provider is misconfigured. Specifically, the feature detects where you have a dependency on a service that you haven't registered in the DI container.