Microsoft.Extensions.DependencyInjection.Abstractions 9.0.2

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.
4,398
Microsoft.Extensions.Options
Provides a strongly typed way of specifying and accessing settings using dependency injection.
4,394
Microsoft.Extensions.Options
Provides a strongly typed way of specifying and accessing settings using dependency injection.
4,393
HotChocolate.Validation
Package Description
4,391
HotChocolate.Execution.Abstractions
Package Description
4,381
HotChocolate.Subscriptions.InMemory
Contains an in-memory implementation for a Hot Chocolate GraphQL subscription provider.
4,381
OpenTelemetry.Api.ProviderBuilderExtensions
Contains extensions to register OpenTelemetry in applications using Microsoft.Extensions.DependencyInjection
4,379
HotChocolate.Types
Contains the Hot Chocolate GraphQL type system.
4,375
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
4,000
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
3,961
Microsoft.Extensions.Caching.Memory
In-memory cache implementation of Microsoft.Extensions.Caching.Memory.IMemoryCache.
3,950
Microsoft.Extensions.Hosting.Abstractions
Hosting and startup abstractions for applications.
3,950
Microsoft.Extensions.DependencyInjection
Default implementation of dependency injection for Microsoft.Extensions.DependencyInjection.
3,948
OpenTelemetry.Api.ProviderBuilderExtensions
Contains extensions to register OpenTelemetry in applications using Microsoft.Extensions.DependencyInjection
3,948
Microsoft.Extensions.Logging.Configuration
Configuration support for Microsoft.Extensions.Logging.
3,945
Serilog.Extensions.Hosting
Serilog support for .NET Core logging in hosted services
3,944
Microsoft.Extensions.Options.ConfigurationExtensions
Provides additional configuration specific functionality related to Options.
3,942
Microsoft.Extensions.Options
Provides a strongly typed way of specifying and accessing settings using dependency injection.
3,942
HotChocolate.Types
Contains the Hot Chocolate GraphQL type system.
3,932
HotChocolate.Execution.Abstractions
Package Description
3,931

https://go.microsoft.com/fwlink/?LinkID=799421

.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
10.0.0-preview.3.25171.5 6 04/17/2025
10.0.0-preview.2.25163.2 9 03/23/2025
10.0.0-preview.1.25080.5 13 02/26/2025
9.0.4 6 04/14/2025
9.0.3 12 03/12/2025
9.0.2 10 02/16/2025
9.0.1 12 01/23/2025
9.0.0 862 11/13/2024
9.0.0-rc.2.24473.5 23 10/11/2024
9.0.0-rc.1.24431.7 21 09/11/2024
9.0.0-preview.7.24405.7 29 08/14/2024
9.0.0-preview.6.24327.7 26 07/11/2024
9.0.0-preview.5.24306.7 26 06/14/2024
9.0.0-preview.4.24266.19 19 05/21/2024
9.0.0-preview.3.24172.9 31 04/13/2024
9.0.0-preview.2.24128.5 31 03/14/2024
9.0.0-preview.1.24080.9 29 02/19/2024
8.0.2 21 10/12/2024
8.0.1 22 03/14/2024
8.0.0 3,999 11/17/2023
8.0.0-rc.2.23479.6 41 10/20/2023
8.0.0-rc.1.23419.4 30 09/14/2023
8.0.0-preview.7.23375.6 37 08/25/2023
8.0.0-preview.6.23329.7 34 07/20/2023
8.0.0-preview.5.23280.8 31 07/05/2023
8.0.0-preview.4.23259.5 33 06/05/2023
8.0.0-preview.3.23174.8 41 05/01/2023
8.0.0-preview.2.23128.3 499 04/03/2023
8.0.0-preview.1.23110.8 34 02/27/2023
7.0.0 502 11/30/2022
7.0.0-rc.2.22472.3 41 07/14/2023
7.0.0-rc.1.22426.10 46 10/01/2022
7.0.0-preview.7.22375.6 43 09/26/2022
7.0.0-preview.6.22324.4 40 05/29/2023
7.0.0-preview.5.22301.12 34 05/03/2023
7.0.0-preview.4.22229.4 34 05/16/2022
7.0.0-preview.3.22175.4 43 03/15/2023
7.0.0-preview.2.22152.2 34 07/14/2023
7.0.0-preview.1.22076.8 35 05/03/2023
6.0.2-mauipre.1.22102.15 40 03/24/2023
6.0.2-mauipre.1.22054.8 35 07/08/2023
6.0.0 1,901 11/10/2021
6.0.0-rc.2.21480.5 33 06/07/2023
6.0.0-rc.1.21451.13 35 07/08/2023
6.0.0-preview.7.21377.19 42 05/04/2023
6.0.0-preview.6.21352.12 33 05/23/2023
6.0.0-preview.5.21301.5 39 10/31/2022
6.0.0-preview.4.21253.7 35 07/09/2023
6.0.0-preview.3.21201.4 40 09/21/2022
6.0.0-preview.2.21154.6 35 03/19/2023
6.0.0-preview.1.21102.12 39 05/05/2022
5.0.0 83 02/01/2021
5.0.0-rc.2.20475.5 32 07/08/2023
5.0.0-rc.1.20451.14 38 05/23/2023
5.0.0-preview.8.20407.11 35 07/09/2023
5.0.0-preview.7.20364.11 35 02/08/2023
5.0.0-preview.6.20305.6 42 11/02/2022
5.0.0-preview.5.20278.1 33 04/29/2022
5.0.0-preview.4.20251.6 32 07/09/2023
5.0.0-preview.3.20215.2 32 07/10/2023
5.0.0-preview.2.20160.3 48 11/17/2022
5.0.0-preview.1.20120.4 44 07/10/2023
3.1.32 36 07/08/2023
3.1.31 32 11/23/2022
3.1.30 44 05/12/2023
3.1.29 35 05/22/2023
3.1.28 34 03/05/2023
3.1.27 36 05/16/2023
3.1.26 43 10/09/2022
3.1.25 38 05/12/2023
3.1.24 35 07/09/2023
3.1.23 36 11/20/2022
3.1.22 30 03/15/2023
3.1.21 38 11/23/2022
3.1.20 35 05/22/2023
3.1.19 35 07/03/2023
3.1.18 41 05/15/2023
3.1.17 34 07/11/2023
3.1.16 33 05/11/2023
3.1.15 35 05/05/2022
3.1.14 36 07/09/2023
3.1.13 35 03/14/2023
3.1.12 36 03/21/2021
3.1.11 38 06/11/2022
3.1.10 37 12/17/2022
3.1.9 41 03/15/2023
3.1.8 39 11/14/2022
3.1.7 71 11/01/2020
3.1.6 35 10/16/2022
3.1.5 29 03/14/2023
3.1.4 4,407 09/09/2021
3.1.3 35 01/27/2023
3.1.2 37 05/13/2023
3.1.1 37 05/24/2023
3.1.0 4,384 02/01/2021
3.1.0-preview3.19553.2 36 07/10/2023
3.1.0-preview2.19525.4 38 11/30/2022
3.1.0-preview1.19506.1 33 06/02/2023
3.0.3 27 02/24/2023
3.0.2 44 11/24/2022
3.0.1 34 03/29/2023
3.0.0 32 04/30/2023
3.0.0-rc1.19456.10 30 07/14/2023
3.0.0-preview9.19423.4 34 07/07/2023
3.0.0-preview8.19405.4 30 07/08/2023
3.0.0-preview7.19362.4 29 06/06/2023
3.0.0-preview6.19304.6 35 11/28/2022
3.0.0-preview5.19227.9 32 11/12/2022
3.0.0-preview4.19216.2 38 11/04/2022
3.0.0-preview3.19153.1 30 09/03/2022
3.0.0-preview.19074.2 28 07/11/2023
3.0.0-preview.18572.1 37 10/21/2022
2.2.0 37 10/30/2022
2.2.0-preview3-35497 38 05/28/2022
2.2.0-preview2-35157 29 05/03/2023
2.2.0-preview1-35029 37 01/03/2023
2.1.1 1,416 11/09/2020
2.1.0 511 11/01/2020
2.1.0-rc1-final 42 01/27/2023
2.1.0-preview2-final 39 11/13/2022
2.1.0-preview1-final 35 12/28/2022
2.0.0 40 08/31/2022
2.0.0-preview2-final 37 10/04/2022
2.0.0-preview1-final 33 01/13/2023
1.1.1 36 01/23/2023
1.1.0 41 10/07/2022
1.1.0-preview1-final 33 05/15/2023
1.0.2 33 11/07/2022
1.0.1 37 05/12/2023
1.0.0 41 04/28/2022
1.0.0-rc2-final 31 05/14/2023
1.0.0-rc1-final 40 11/18/2022