关于[ASP.NET Core Dependency Injection: What is the IServiceCollection?]的摘要:
If you’ve built applications using ASP.NET Core then you’ve most likely used the built-in dependency injection container from Microsoft.Extensions.DependencyInjection. This package provides an implementation of the corresponding abstractions found in Microsoft.Extensions.DependencyInjection.Abstractions. In this post, I wanted to take a deeper look at the first concept from the Microsoft Dependency Injection (DI) container, the IServiceCollection hopefully demystifying it a little.
原文地址: https://www.stevejgordon.co.uk/aspnet-core-dependency-injection-what-is-the-iservicecollection