Microsoft.Extensions.DependencyInjection.Abstractions 9.0.21

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

  • 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
Microsoft.Extensions.DependencyInjection
Default implementation of dependency injection for Microsoft.Extensions.DependencyInjection.
2,165
Serilog.Extensions.Hosting
Serilog support for .NET Core logging in hosted services
1,895
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
1,804
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
1,780
Microsoft.Extensions.Caching.Memory
In-memory cache implementation of Microsoft.Extensions.Caching.Memory.IMemoryCache.
1,773
Microsoft.Extensions.Diagnostics.Abstractions
Diagnostic abstractions for Microsoft.Extensions.Diagnostics. Commonly Used Types: Microsoft.Extensions.Diagnostics.Metrics.IMetricsBuilder Microsoft.Extensions.Diagnostics.Metrics.IMetricsListener Microsoft.Extensions.Diagnostics.Metrics.InstrumentRule Microsoft.Extensions.Diagnostics.Metrics.MeterScope Microsoft.Extensions.Diagnostics.Metrics.MetricsBuilderExtensions Microsoft.Extensions.Diagnostics.Metrics.MetricsOptions
1,771
Microsoft.Extensions.Options
Provides a strongly typed way of specifying and accessing settings using dependency injection.
1,762
Microsoft.Extensions.Caching.Memory
In-memory cache implementation of Microsoft.Extensions.Caching.Memory.IMemoryCache.
1,755
Microsoft.Extensions.Logging.Configuration
Configuration support for Microsoft.Extensions.Logging.
1,754
Mediator.Abstractions
Abstractions for the Mediator.SourceGenerator package.
1,754
Microsoft.Extensions.Hosting.Abstractions
Hosting and startup abstractions for applications.
1,754
Microsoft.Extensions.Options
Provides a strongly typed way of specifying and accessing settings using dependency injection.
1,752
OpenTelemetry.Api.ProviderBuilderExtensions
Contains extensions to register OpenTelemetry in applications using Microsoft.Extensions.DependencyInjection
1,752
Microsoft.Extensions.Hosting.Abstractions
Hosting and startup abstractions for applications.
1,750
HotChocolate.Execution.Abstractions
Package Description
1,748
Microsoft.Extensions.Hosting
Hosting and startup infrastructures for applications.
1,747
Microsoft.Extensions.Options
Provides a strongly typed way of specifying and accessing settings using dependency injection.
1,746
HotChocolate.Validation
Package Description
1,746
Microsoft.Extensions.Options.ConfigurationExtensions
Provides additional configuration specific functionality related to Options.
1,745
Microsoft.Extensions.Diagnostics.Abstractions
Diagnostic abstractions for Microsoft.Extensions.Diagnostics. Commonly Used Types: Microsoft.Extensions.Diagnostics.Metrics.IMetricsBuilder Microsoft.Extensions.Diagnostics.Metrics.IMetricsListener Microsoft.Extensions.Diagnostics.Metrics.InstrumentRule Microsoft.Extensions.Diagnostics.Metrics.MeterScope Microsoft.Extensions.Diagnostics.Metrics.MetricsBuilderExtensions Microsoft.Extensions.Diagnostics.Metrics.MetricsOptions
1,743

.NET Framework 4.6.2

.NET 8.0

  • No dependencies.

.NET 9.0

  • No dependencies.

.NET Standard 2.0

.NET Standard 2.1

  • No dependencies.

Version Downloads Last updated
11.0.0-rc.2.26504.105 4 10/13/2026
11.0.0-rc.1.26425.128 15 09/09/2026
11.0.0-preview.7.26381.103 16 08/13/2026
11.0.0-preview.6.26359.118 24 07/15/2026
11.0.0-preview.5.26302.115 22 06/11/2026
11.0.0-preview.4.26230.115 30 05/14/2026
11.0.0-preview.3.26207.106 46 04/15/2026
11.0.0-preview.2.26159.112 51 03/11/2026
11.0.0-preview.1.26104.118 41 02/12/2026
10.0.13 6 10/13/2026
10.0.12 10 09/09/2026
10.0.11 103 08/12/2026
10.0.10 48 07/15/2026
10.0.9 21 06/11/2026
10.0.8 31 05/14/2026
10.0.7 2,173 04/23/2026
10.0.6 39 04/15/2026
10.0.5 68 03/14/2026
10.0.4 62 03/11/2026
10.0.3 304 02/11/2026
10.0.2 67 01/13/2026
10.0.1 386 09/28/2026
10.0.0 426 09/28/2026
10.0.0-rc.2.25502.107 46 12/21/2025
10.0.0-rc.1.25451.107 4 10/02/2026
10.0.0-preview.7.25380.108 5 09/28/2026
10.0.0-preview.6.25358.103 37 12/16/2025
10.0.0-preview.5.25277.114 39 01/01/2026
10.0.0-preview.4.25258.110 46 12/20/2025
10.0.0-preview.3.25171.5 50 01/01/2026
10.0.0-preview.2.25163.2 41 12/14/2025
10.0.0-preview.1.25080.5 3 10/01/2026
9.0.21 5 10/13/2026
9.0.20 14 09/11/2026
9.0.19 16 08/13/2026
9.0.18 16 07/15/2026
9.0.17 16 06/12/2026
9.0.16 26 05/14/2026
9.0.15 44 04/15/2026
9.0.14 47 03/11/2026
9.0.13 44 02/12/2026
9.0.12 50 01/13/2026
9.0.11 53 12/16/2025
9.0.10 44 12/14/2025
9.0.9 42 12/14/2025
9.0.8 2 10/10/2026
9.0.7 3 10/06/2026
9.0.6 3 10/05/2026
9.0.5 42 12/14/2025
9.0.4 44 12/14/2025
9.0.3 46 12/20/2025
9.0.2 1,758 12/11/2025
9.0.1 47 12/14/2025
9.0.0 19 09/28/2026
9.0.0-rc.2.24473.5 44 12/13/2025
9.0.0-rc.1.24431.7 22 12/12/2025
9.0.0-preview.7.24405.7 4 10/07/2026
9.0.0-preview.6.24327.7 28 12/15/2025
9.0.0-preview.5.24306.7 3 09/29/2026
9.0.0-preview.4.24266.19 51 12/14/2025
9.0.0-preview.3.24172.9 9 09/28/2026
9.0.0-preview.2.24128.5 30 12/13/2025
9.0.0-preview.1.24080.9 43 12/16/2025
8.0.2 27 09/28/2026
8.0.1 9 09/28/2026
8.0.0 450 09/28/2026
8.0.0-rc.2.23479.6 42 12/11/2025
8.0.0-rc.1.23419.4 42 12/14/2025
8.0.0-preview.7.23375.6 39 12/17/2025
8.0.0-preview.6.23329.7 30 12/14/2025
8.0.0-preview.5.23280.8 41 12/14/2025
8.0.0-preview.4.23259.5 33 12/14/2025
8.0.0-preview.3.23174.8 36 12/14/2025
8.0.0-preview.2.23128.3 33 12/21/2025
8.0.0-preview.1.23110.8 40 12/13/2025
7.0.0 38 12/20/2025
7.0.0-rc.2.22472.3 38 12/14/2025
7.0.0-rc.1.22426.10 39 12/14/2025
7.0.0-preview.7.22375.6 7 09/28/2026
7.0.0-preview.6.22324.4 33 12/14/2025
7.0.0-preview.5.22301.12 32 12/14/2025
7.0.0-preview.4.22229.4 2 10/10/2026
7.0.0-preview.3.22175.4 44 12/13/2025
7.0.0-preview.2.22152.2 35 12/14/2025
7.0.0-preview.1.22076.8 27 12/21/2025
6.0.2-mauipre.1.22102.15 28 12/28/2025
6.0.2-mauipre.1.22054.8 38 12/14/2025
6.0.0 661 12/11/2025
6.0.0-rc.2.21480.5 41 12/14/2025
6.0.0-rc.1.21451.13 26 12/18/2025
6.0.0-preview.7.21377.19 34 12/14/2025
6.0.0-preview.6.21352.12 42 12/14/2025
6.0.0-preview.5.21301.5 38 12/16/2025
6.0.0-preview.4.21253.7 28 12/14/2025
6.0.0-preview.3.21201.4 25 12/14/2025
6.0.0-preview.2.21154.6 39 12/21/2025
6.0.0-preview.1.21102.12 23 12/14/2025
5.0.0 51 12/20/2025
5.0.0-rc.2.20475.5 34 12/21/2025
5.0.0-rc.1.20451.14 3 09/28/2026
5.0.0-preview.8.20407.11 30 12/14/2025
5.0.0-preview.7.20364.11 34 12/14/2025
5.0.0-preview.6.20305.6 26 12/21/2025
5.0.0-preview.5.20278.1 25 12/21/2025
5.0.0-preview.4.20251.6 41 12/14/2025
5.0.0-preview.3.20215.2 34 12/21/2025
5.0.0-preview.2.20160.3 4 10/05/2026
5.0.0-preview.1.20120.4 36 12/13/2025
3.1.32 41 12/19/2025
3.1.31 42 12/15/2025
3.1.30 41 12/14/2025
3.1.29 37 12/13/2025
3.1.28 31 12/14/2025
3.1.27 42 12/14/2025
3.1.26 5 10/03/2026
3.1.25 39 12/20/2025
3.1.24 30 12/15/2025
3.1.23 32 12/13/2025
3.1.22 47 12/14/2025
3.1.21 43 12/20/2025
3.1.20 44 12/14/2025
3.1.19 42 12/14/2025
3.1.18 40 12/14/2025
3.1.17 49 12/14/2025
3.1.16 5 09/29/2026
3.1.15 43 12/20/2025
3.1.14 42 12/14/2025
3.1.13 42 12/14/2025
3.1.12 40 12/14/2025
3.1.11 46 12/20/2025
3.1.10 43 12/14/2025
3.1.9 34 12/20/2025
3.1.8 41 12/13/2025
3.1.7 38 12/20/2025
3.1.6 44 12/11/2025
3.1.5 42 12/14/2025
3.1.4 66 12/11/2025
3.1.3 47 12/21/2025
3.1.2 41 12/20/2025
3.1.1 31 12/14/2025
3.1.0 2 10/02/2026
3.1.0-preview3.19553.2 37 12/20/2025
3.1.0-preview2.19525.4 41 12/13/2025
3.1.0-preview1.19506.1 23 12/21/2025
3.0.3 50 12/13/2025
3.0.2 34 12/20/2025
3.0.1 47 12/16/2025
3.0.0 34 12/13/2025
3.0.0-rc1.19456.10 24 12/14/2025
3.0.0-preview9.19423.4 39 12/21/2025
3.0.0-preview8.19405.4 38 01/03/2026
3.0.0-preview7.19362.4 23 12/15/2025
3.0.0-preview6.19304.6 40 12/14/2025
3.0.0-preview5.19227.9 35 12/14/2025
3.0.0-preview4.19216.2 20 12/16/2025
3.0.0-preview3.19153.1 36 12/21/2025
3.0.0-preview.19074.2 29 12/21/2025
3.0.0-preview.18572.1 35 12/13/2025
2.2.0 98 12/13/2025
2.2.0-preview3-35497 40 12/21/2025
2.2.0-preview2-35157 40 12/14/2025
2.2.0-preview1-35029 35 12/21/2025
2.1.1 15 09/28/2026
2.1.0 74 12/14/2025
2.1.0-rc1-final 44 12/13/2025
2.1.0-preview2-final 40 12/21/2025
2.1.0-preview1-final 36 12/21/2025
2.0.0 51 12/17/2025
2.0.0-preview2-final 42 12/13/2025
2.0.0-preview1-final 32 12/15/2025
1.1.1 30 12/14/2025
1.1.0 44 12/14/2025
1.1.0-preview1-final 39 12/21/2025
1.0.2 40 12/13/2025
1.0.1 37 12/20/2025
1.0.0 35 12/20/2025
1.0.0-rc2-final 37 12/21/2025
1.0.0-rc1-final 42 12/13/2025