你的位置: 码友网首页 / 资讯源列表 / ASP.NET Core – fast and automatic dependency injection setup

关于[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/

收录时间: 2020-05-12 浏览量: 1405 分类: ASP.NET Core

| 0 收藏 | 0