关于[New in ASP.NET Core 3: Service provider validation: Exploring ASP.NET Core 3.0 - Part 3]的摘要:
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.
原文地址: https://andrewlock.net/new-in-asp-net-core-3-service-provider-validation/