Microsoft.Extensions.DependencyInjection.Abstractions 9.0.8

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.Options
Provides a strongly typed way of specifying and accessing settings using dependency injection.
5,070
Microsoft.Extensions.DependencyInjection
Default implementation of dependency injection for Microsoft.Extensions.DependencyInjection.
5,068
HotChocolate.Validation
Package Description
5,058
HotChocolate.Subscriptions.InMemory
Contains an in-memory implementation for a Hot Chocolate GraphQL subscription provider.
5,052
HotChocolate.Execution.Abstractions
Package Description
5,049
Microsoft.Extensions.Options
Provides a strongly typed way of specifying and accessing settings using dependency injection.
5,047
HotChocolate.Types
Contains the Hot Chocolate GraphQL type system.
5,046
OpenTelemetry.Api.ProviderBuilderExtensions
Contains extensions to register OpenTelemetry in applications using Microsoft.Extensions.DependencyInjection
5,036
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,674
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
4,636
Microsoft.Extensions.Hosting.Abstractions
Hosting and startup abstractions for applications.
4,629
Microsoft.Extensions.DependencyInjection
Default implementation of dependency injection for Microsoft.Extensions.DependencyInjection.
4,624
Microsoft.Extensions.Logging.Configuration
Configuration support for Microsoft.Extensions.Logging.
4,623
Microsoft.Extensions.Options.ConfigurationExtensions
Provides additional configuration specific functionality related to Options.
4,620
Microsoft.Extensions.Caching.Memory
In-memory cache implementation of Microsoft.Extensions.Caching.Memory.IMemoryCache.
4,615
Microsoft.Extensions.Options
Provides a strongly typed way of specifying and accessing settings using dependency injection.
4,615
OpenTelemetry.Api.ProviderBuilderExtensions
Contains extensions to register OpenTelemetry in applications using Microsoft.Extensions.DependencyInjection
4,608
Serilog.Extensions.Hosting
Serilog support for .NET Core logging in hosted services
4,607
HotChocolate.Types
Contains the Hot Chocolate GraphQL type system.
4,598
HotChocolate.Validation
Package Description
4,596

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