关于[Avoiding Startup service injection in ASP.NET Core 3: Upgrading to ASP.NET Core 3.0 - Part 3]的摘要:
This is the third post in the series: Upgrading to ASP.NET Core 3.0. In this post I describe one of the changes to Startup when moving from an ASP.NET Core 2.x app to .NET Core 3; you can not longer inject arbitrary services into the Startup constructor.
原文地址: https://andrewlock.net/avoiding-startup-service-injection-in-asp-net-core-3/