Microsoft.Extensions.DependencyInjection.Abstractions 9.0.0
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.ActivatorUtilitiesMicrosoft.Extensions.DependencyInjection.IServiceCollectionMicrosoft.Extensions.DependencyInjection.ServiceCollectionMicrosoft.Extensions.DependencyInjection.ServiceCollectionDescriptorExtensionsMicrosoft.Extensions.DependencyInjection.ServiceDescriptorMicrosoft.Extensions.DependencyInjection.IServiceProviderFactory<TContainerBuilder>
Additional Documentation
- Conceptual documentation
- API documentation
Related Packages
Microsoft.Extensions.DependencyInjectionMicrosoft.Extensions.HostingMicrosoft.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 |
|---|---|
|
Microsoft.Extensions.Hosting.Abstractions
.NET Core hosting and startup abstractions for applications.
|
844 |
|
Microsoft.Extensions.DependencyInjection
Default implementation of dependency injection for Microsoft.Extensions.DependencyInjection.
|
829 |
|
Microsoft.Extensions.Options.ConfigurationExtensions
Provides additional configuration specific functionality related to Options.
|
824 |
|
Microsoft.Extensions.Options
Provides a strongly typed way of specifying and accessing settings using dependency injection.
|
819 |
|
Microsoft.Extensions.Options.ConfigurationExtensions
Provides additional configuration specific functionality related to Options.
|
816 |
|
Microsoft.Extensions.Options
Provides a strongly typed way of specifying and accessing settings using dependency injection.
This package was built from the source code at https://github.com/aspnet/Extensions/tree/9bc79b2f25a3724376d7af19617c33749a30ea3a
|
744 |
|
Microsoft.Extensions.Hosting.Abstractions
.NET Core hosting and startup abstractions for applications.
This package was built from the source code at https://github.com/aspnet/Hosting/tree/0724e6cde1149ee1a19bfec9c13a2c9327b71213
|
711 |
|
Microsoft.Extensions.Options
Provides a strongly typed way of specifying and accessing settings using dependency injection.
|
707 |
|
Microsoft.Extensions.Options.ConfigurationExtensions
Provides additional configuration specific functionality related to Options.
|
700 |
|
Microsoft.Extensions.Logging
Logging infrastructure default implementation for Microsoft.Extensions.Logging.
|
698 |
|
Microsoft.Extensions.Hosting.Abstractions
Hosting and startup abstractions for applications.
|
677 |
|
Microsoft.Extensions.Options
Provides a strongly typed way of specifying and accessing settings using dependency injection.
|
652 |
|
Microsoft.Extensions.DependencyInjection
Default implementation of dependency injection for Microsoft.Extensions.DependencyInjection.
|
640 |
|
Microsoft.Extensions.DependencyInjection
Default implementation of dependency injection for Microsoft.Extensions.DependencyInjection.
|
598 |
|
Microsoft.Extensions.Logging.Abstractions
Logging abstractions for Microsoft.Extensions.Logging.
Commonly Used Types:
Microsoft.Extensions.Logging.ILogger
Microsoft.Extensions.Logging.ILoggerFactory
Microsoft.Extensions.Logging.ILogger<TCategoryName>
Microsoft.Extensions.Logging.LogLevel
Microsoft.Extensions.Logging.Logger<T>
Microsoft.Extensions.Logging.LoggerMessage
Microsoft.Extensions.Logging.Abstractions.NullLogger
|
588 |
|
Microsoft.Extensions.Caching.Memory
In-memory cache implementation of Microsoft.Extensions.Caching.Memory.IMemoryCache.
|
529 |
|
Microsoft.Extensions.Logging.Abstractions
Logging abstractions for Microsoft.Extensions.Logging.
Commonly Used Types:
Microsoft.Extensions.Logging.ILogger
Microsoft.Extensions.Logging.ILoggerFactory
Microsoft.Extensions.Logging.ILogger<TCategoryName>
Microsoft.Extensions.Logging.LogLevel
Microsoft.Extensions.Logging.Logger<T>
Microsoft.Extensions.Logging.LoggerMessage
Microsoft.Extensions.Logging.Abstractions.NullLogger
|
520 |
|
Microsoft.Extensions.Hosting.Abstractions
Hosting and startup abstractions for applications.
|
517 |
|
Microsoft.Extensions.DependencyInjection
Default implementation of dependency injection for Microsoft.Extensions.DependencyInjection.
|
451 |
|
Microsoft.Extensions.Logging.Abstractions
Logging abstractions for Microsoft.Extensions.Logging.
Commonly Used Types:
Microsoft.Extensions.Logging.ILogger
Microsoft.Extensions.Logging.ILoggerFactory
Microsoft.Extensions.Logging.ILogger<TCategoryName>
Microsoft.Extensions.Logging.LogLevel
Microsoft.Extensions.Logging.Logger<T>
Microsoft.Extensions.Logging.LoggerMessage
Microsoft.Extensions.Logging.Abstractions.NullLogger
|
420 |
https://go.microsoft.com/fwlink/?LinkID=799421
.NET Framework 4.6.2
- Microsoft.Bcl.AsyncInterfaces (>= 9.0.0)
- 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)
- System.Threading.Tasks.Extensions (>= 4.5.4)
.NET Standard 2.1
- No dependencies.
| Version | Downloads | Last updated |
|---|---|---|
| 9.0.0 | 377 | 01/04/2025 |
| 8.0.2 | 20 | 08/09/2025 |
| 8.0.1 | 434 | 06/03/2024 |
| 8.0.0 | 679 | 05/31/2024 |
| 7.0.0 | 538 | 06/03/2024 |
| 6.0.0 | 388 | 05/31/2024 |
| 5.0.0 | 9 | 12/21/2024 |
| 3.1.0 | 510 | 06/03/2024 |
| 3.0.0 | 313 | 06/15/2024 |
| 2.2.0 | 482 | 06/03/2024 |
| 2.1.1 | 790 | 05/31/2024 |
| 2.1.0 | 808 | 05/31/2024 |
| 2.0.0 | 390 | 05/31/2024 |
| 1.0.0 | 738 | 05/31/2024 |