关于[ASP.NET Core – fast and automatic dependency injection setup]的摘要:
This article introduces a small library called NetCore.AutoRegisterDi (NuGet link) that can automatically register classes with interfaces in an assembly into the built-in ASP.NET Core DI container. The reason I built this library is because ASP.NET Core’s DI container turns out to be quick – at least 5 times quicker than AutoFac. I also describe how I use this in applications that have a lot of assemblies.
原文地址: https://www.thereformedprogrammer.net/asp-net-core-fast-and-automatic-dependency-injection-setup-2/