Microsoft.Extensions.DependencyInjection
Provides fundamental types and interfaces for implementing a dependency injection container.
This namespace is central to the .NET Core and .NET 5+ application development model, enabling services to be registered and resolved throughout an application's lifecycle.
Classes
Represents a collection of service descriptors that can be used to create a service provider.
Represents a service provider that can be used to resolve services.
Options for configuring the behavior of a ServiceProvider.
Specifies the lifetime of a service.
Interfaces
Represents a collection of service descriptors.
Represents a service provider that can be used to resolve services.
Represents a scope for resolving services from an IServiceProvider.
Creates an IServiceScope.
Describes a service registration.
Enums
Specifies the lifetime of a service.