Microsoft.Extensions.DependencyInjection.Abstractions 9.0.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

  • 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.
4,602
Microsoft.Extensions.DependencyInjection
Default implementation of dependency injection for Microsoft.Extensions.DependencyInjection.
4,601
HotChocolate.Validation
Package Description
4,593
Microsoft.Extensions.Options
Provides a strongly typed way of specifying and accessing settings using dependency injection.
4,592
HotChocolate.Subscriptions.InMemory
Contains an in-memory implementation for a Hot Chocolate GraphQL subscription provider.
4,585
HotChocolate.Execution.Abstractions
Package Description
4,584
HotChocolate.Types
Contains the Hot Chocolate GraphQL type system.
4,582
OpenTelemetry.Api.ProviderBuilderExtensions
Contains extensions to register OpenTelemetry in applications using Microsoft.Extensions.DependencyInjection
4,579
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,202
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,168
Microsoft.Extensions.Hosting.Abstractions
Hosting and startup abstractions for applications.
4,156
Microsoft.Extensions.DependencyInjection
Default implementation of dependency injection for Microsoft.Extensions.DependencyInjection.
4,153
Microsoft.Extensions.Caching.Memory
In-memory cache implementation of Microsoft.Extensions.Caching.Memory.IMemoryCache.
4,151
Microsoft.Extensions.Logging.Configuration
Configuration support for Microsoft.Extensions.Logging.
4,151
OpenTelemetry.Api.ProviderBuilderExtensions
Contains extensions to register OpenTelemetry in applications using Microsoft.Extensions.DependencyInjection
4,149
Microsoft.Extensions.Options.ConfigurationExtensions
Provides additional configuration specific functionality related to Options.
4,148
Serilog.Extensions.Hosting
Serilog support for .NET Core logging in hosted services
4,148
Microsoft.Extensions.Options
Provides a strongly typed way of specifying and accessing settings using dependency injection.
4,147
HotChocolate.Types
Contains the Hot Chocolate GraphQL type system.
4,137
HotChocolate.Execution.Abstractions
Package Description
4,132

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