Microsoft.Extensions.DependencyInjection.Abstractions 9.0.0-preview.2.24128.5
About
Supports the lower-level abstractions for the dependency injection (DI) software design pattern which is a technique for achieving Inversion of Control (IoC) between classes and their dependencies.
Key Features
- Interfaces for DI implementations which are provided in other packages including
Microsoft.Extensions.DependencyInjection
. - An implementation of a service collection, which is used to add services to and later retrieve them either directly or through constructor injection.
- Interfaces, attributes and extensions methods to support various DI concepts including specifying a service's lifetime and supporting keyed services.
How to Use
This package is typically used with an implementation of the DI abstractions, such as Microsoft.Extensions.DependencyInjection
.
Main Types
The main types provided by this library are:
Microsoft.Extensions.DependencyInjection.ActivatorUtilities
Microsoft.Extensions.DependencyInjection.IServiceCollection
Microsoft.Extensions.DependencyInjection.ServiceCollection
Microsoft.Extensions.DependencyInjection.ServiceCollectionDescriptorExtensions
Microsoft.Extensions.DependencyInjection.ServiceDescriptor
Microsoft.Extensions.DependencyInjection.IServiceProviderFactory<TContainerBuilder>
Additional Documentation
- Conceptual documentation
- API documentation
Related Packages
Microsoft.Extensions.DependencyInjection
Microsoft.Extensions.Hosting
Microsoft.Extensions.Options
Feedback & Contributing
Microsoft.Extensions.DependencyInjection.Abstractions is released as open source under the MIT license. Bug reports and contributions are welcome at the GitHub repository.
Showing the top 20 packages that depend on Microsoft.Extensions.DependencyInjection.Abstractions.
Packages | Downloads |
---|---|
Autofac.Extensions.DependencyInjection
Autofac implementation of the interfaces in Microsoft.Extensions.DependencyInjection.Abstractions, the .NET Framework dependency injection abstraction.
|
14,272 |
FluentValidation.DependencyInjectionExtensions
Dependency injection extensions for FluentValidation
|
3,564 |
FluentValidation.DependencyInjectionExtensions
Dependency injection extensions for FluentValidation
|
13,993 |
Microsoft.AspNetCore.DataProtection
ASP.NET Core logic to protect and unprotect data, similar to DPAPI.
This package was built from the source code at https://github.com/aspnet/AspNetCore/tree/2e51a0b6eba74bdf02aee71944e973487937cb99
|
907 |
Microsoft.AspNetCore.DataProtection
ASP.NET Core logic to protect and unprotect data, similar to DPAPI.
This package was built from the source code at https://github.com/dotnet/aspnetcore/tree/3eeb12e106b9e913c3a4dec1a7d16da7b74149eb
|
8,849 |
Microsoft.AspNetCore.Hosting.Abstractions
ASP.NET Core hosting and startup abstractions for web applications.
|
6,926 |
Microsoft.Extensions.Caching.Memory
In-memory cache implementation of Microsoft.Extensions.Caching.Memory.IMemoryCache.
|
5,450 |
Microsoft.Extensions.Caching.Memory
In-memory cache implementation of Microsoft.Extensions.Caching.Memory.IMemoryCache.
|
8,871 |
Microsoft.Extensions.DependencyInjection
Default implementation of dependency injection for Microsoft.Extensions.DependencyInjection.
|
5,415 |
Microsoft.Extensions.DependencyInjection
Default implementation of dependency injection for Microsoft.Extensions.DependencyInjection.
|
9,100 |
Microsoft.Extensions.Hosting.Abstractions
.NET Core hosting and startup abstractions for applications.
|
5,535 |
Microsoft.Extensions.Hosting.Abstractions
.NET Core hosting and startup abstractions for applications.
|
9,099 |
Microsoft.Extensions.Http
The HttpClient factory is a pattern for configuring and retrieving named HttpClients in a composable way. The HttpClient factory provides extensibility to plug in DelegatingHandlers that address cross-cutting concerns such as service location, load balancing, and reliability. The default HttpClient factory provides built-in diagnostics and logging and manages the lifetimes of connections in a performant way.
Commonly used types:
System.Net.Http.IHttpClientFactory
|
1,075 |
Microsoft.Extensions.Http
The HttpClient factory is a pattern for configuring and retrieving named HttpClients in a composable way. The HttpClient factory provides extensibility to plug in DelegatingHandlers that address cross-cutting concerns such as service location, load balancing, and reliability. The default HttpClient factory provides built-in diagnostics and logging and manages the lifetimes of connections in a performant way.
Commonly used types:
System.Net.Http.IHttpClientFactory
|
13,748 |
Microsoft.Extensions.Localization
Application localization services and default implementation based on ResourceManager to load localized assembly resources.
|
948 |
Microsoft.Extensions.Localization
Application localization services and default implementation based on ResourceManager to load localized assembly resources.
|
9,124 |
Microsoft.Extensions.Options
Provides a strongly typed way of specifying and accessing settings using dependency injection.
|
9,074 |
Microsoft.Extensions.Options.ConfigurationExtensions
Provides additional configuration specific functionality related to Options.
|
5,445 |
Microsoft.Extensions.Options.ConfigurationExtensions
Provides additional configuration specific functionality related to Options.
|
8,918 |
Serilog.Extensions.Hosting
Serilog support for .NET Core logging in hosted services
|
13,798 |
https://go.microsoft.com/fwlink/?LinkID=799421
.NET Framework 4.6.2
- Microsoft.Bcl.AsyncInterfaces (>= 9.0.0-preview.2.24128.5)
- System.Threading.Tasks.Extensions (>= 4.5.4)
.NET 8.0
- No dependencies.
.NET 9.0
- No dependencies.
.NET Standard 2.0
- Microsoft.Bcl.AsyncInterfaces (>= 9.0.0-preview.2.24128.5)
- System.Threading.Tasks.Extensions (>= 4.5.4)
.NET Standard 2.1
- No dependencies.