Microsoft.Extensions.DependencyInjection.Abstractions 10.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.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.
6,156
OpenTelemetry.Api.ProviderBuilderExtensions
Contains extensions to register OpenTelemetry in applications using Microsoft.Extensions.DependencyInjection
6,151
Microsoft.Extensions.Options
Provides a strongly typed way of specifying and accessing settings using dependency injection.
5,889
Microsoft.Extensions.DependencyInjection
Default implementation of dependency injection for Microsoft.Extensions.DependencyInjection.
5,884
HotChocolate.Validation
Package Description
5,869
HotChocolate.Subscriptions.InMemory
Contains an in-memory implementation for a Hot Chocolate GraphQL subscription provider.
5,864
HotChocolate.Types
Contains the Hot Chocolate GraphQL type system.
5,860
HotChocolate.Execution.Abstractions
Package Description
5,859
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
5,815
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
5,764
Microsoft.Extensions.Hosting.Abstractions
Hosting and startup abstractions for applications.
5,763
Microsoft.Extensions.DependencyInjection
Default implementation of dependency injection for Microsoft.Extensions.DependencyInjection.
5,753
Microsoft.Extensions.Options
Provides a strongly typed way of specifying and accessing settings using dependency injection.
5,746
Microsoft.Extensions.Caching.Memory
In-memory cache implementation of Microsoft.Extensions.Caching.Memory.IMemoryCache.
5,735
Serilog.Extensions.Hosting
Serilog support for .NET Core logging in hosted services
5,716
Microsoft.Extensions.Logging.Configuration
Configuration support for Microsoft.Extensions.Logging.
5,623
Microsoft.Extensions.Options.ConfigurationExtensions
Provides additional configuration specific functionality related to Options.
5,615
HotChocolate.Types
Contains the Hot Chocolate GraphQL type system.
5,405
HotChocolate.Validation
Package Description
5,400
HotChocolate.Execution.Abstractions
Package Description
5,394

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

.NET Framework 4.6.2

.NET 8.0

  • No dependencies.

.NET 9.0

  • No dependencies.

.NET 10.0

  • No dependencies.

.NET Standard 2.0

.NET Standard 2.1

  • No dependencies.

Version Downloads Last updated
10.0.0 130 11/13/2025
10.0.0-rc.2.25502.107 6 10/15/2025
10.0.0-rc.1.25451.107 9 09/13/2025
10.0.0-preview.7.25380.108 11 08/16/2025
10.0.0-preview.6.25358.103 18 07/16/2025
10.0.0-preview.5.25277.114 16 06/14/2025
10.0.0-preview.4.25258.110 21 05/17/2025
10.0.0-preview.3.25171.5 23 04/17/2025
10.0.0-preview.2.25163.2 26 03/23/2025
10.0.0-preview.1.25080.5 31 02/26/2025
9.0.11 4 11/14/2025
9.0.10 7 10/15/2025
9.0.9 12 09/13/2025
9.0.8 874 08/06/2025
9.0.7 1,391 07/10/2025
9.0.6 1,610 06/14/2025
9.0.5 23 05/18/2025
9.0.4 32 04/14/2025
9.0.3 34 03/12/2025
9.0.2 28 02/16/2025
9.0.1 37 01/23/2025
9.0.0 2,482 11/13/2024
9.0.0-rc.2.24473.5 43 10/11/2024
9.0.0-rc.1.24431.7 37 09/11/2024
9.0.0-preview.7.24405.7 52 08/14/2024
9.0.0-preview.6.24327.7 48 07/11/2024
9.0.0-preview.5.24306.7 39 06/14/2024
9.0.0-preview.4.24266.19 36 05/21/2024
9.0.0-preview.3.24172.9 45 04/13/2024
9.0.0-preview.2.24128.5 50 03/14/2024
9.0.0-preview.1.24080.9 47 02/19/2024
8.0.2 44 10/12/2024
8.0.1 43 03/14/2024
8.0.0 5,819 11/17/2023
8.0.0-rc.2.23479.6 64 10/20/2023
8.0.0-rc.1.23419.4 53 09/14/2023
8.0.0-preview.7.23375.6 54 08/25/2023
8.0.0-preview.6.23329.7 51 07/20/2023
8.0.0-preview.5.23280.8 48 07/05/2023
8.0.0-preview.4.23259.5 55 06/05/2023
8.0.0-preview.3.23174.8 61 05/01/2023
8.0.0-preview.2.23128.3 524 04/03/2023
8.0.0-preview.1.23110.8 51 02/27/2023
7.0.0 519 11/30/2022
7.0.0-rc.2.22472.3 63 07/14/2023
7.0.0-rc.1.22426.10 60 10/01/2022
7.0.0-preview.7.22375.6 64 09/26/2022
7.0.0-preview.6.22324.4 62 05/29/2023
7.0.0-preview.5.22301.12 51 05/03/2023
7.0.0-preview.4.22229.4 55 05/16/2022
7.0.0-preview.3.22175.4 62 03/15/2023
7.0.0-preview.2.22152.2 51 07/14/2023
7.0.0-preview.1.22076.8 56 05/03/2023
6.0.2-mauipre.1.22102.15 57 03/24/2023
6.0.2-mauipre.1.22054.8 54 07/08/2023
6.0.0 3,269 11/10/2021
6.0.0-rc.2.21480.5 52 06/07/2023
6.0.0-rc.1.21451.13 51 07/08/2023
6.0.0-preview.7.21377.19 59 05/04/2023
6.0.0-preview.6.21352.12 53 05/23/2023
6.0.0-preview.5.21301.5 59 10/31/2022
6.0.0-preview.4.21253.7 46 07/09/2023
6.0.0-preview.3.21201.4 62 09/21/2022
6.0.0-preview.2.21154.6 61 03/19/2023
6.0.0-preview.1.21102.12 56 05/05/2022
5.0.0 98 02/01/2021
5.0.0-rc.2.20475.5 50 07/08/2023
5.0.0-rc.1.20451.14 56 05/23/2023
5.0.0-preview.8.20407.11 52 07/09/2023
5.0.0-preview.7.20364.11 49 02/08/2023
5.0.0-preview.6.20305.6 61 11/02/2022
5.0.0-preview.5.20278.1 55 04/29/2022
5.0.0-preview.4.20251.6 51 07/09/2023
5.0.0-preview.3.20215.2 52 07/10/2023
5.0.0-preview.2.20160.3 64 11/17/2022
5.0.0-preview.1.20120.4 64 07/10/2023
3.1.32 50 07/08/2023
3.1.31 52 11/23/2022
3.1.30 60 05/12/2023
3.1.29 52 05/22/2023
3.1.28 51 03/05/2023
3.1.27 51 05/16/2023
3.1.26 58 10/09/2022
3.1.25 54 05/12/2023
3.1.24 53 07/09/2023
3.1.23 57 11/20/2022
3.1.22 50 03/15/2023
3.1.21 59 11/23/2022
3.1.20 49 05/22/2023
3.1.19 58 07/03/2023
3.1.18 59 05/15/2023
3.1.17 57 07/11/2023
3.1.16 51 05/11/2023
3.1.15 53 05/05/2022
3.1.14 51 07/09/2023
3.1.13 52 03/14/2023
3.1.12 56 03/21/2021
3.1.11 52 06/11/2022
3.1.10 56 12/17/2022
3.1.9 57 03/15/2023
3.1.8 51 11/14/2022
3.1.7 88 11/01/2020
3.1.6 49 10/16/2022
3.1.5 46 03/14/2023
3.1.4 5,890 09/09/2021
3.1.3 50 01/27/2023
3.1.2 62 05/13/2023
3.1.1 56 05/24/2023
3.1.0 6,151 02/01/2021
3.1.0-preview3.19553.2 57 07/10/2023
3.1.0-preview2.19525.4 61 11/30/2022
3.1.0-preview1.19506.1 57 06/02/2023
3.0.3 43 02/24/2023
3.0.2 68 11/24/2022
3.0.1 54 03/29/2023
3.0.0 57 04/30/2023
3.0.0-rc1.19456.10 51 07/14/2023
3.0.0-preview9.19423.4 53 07/07/2023
3.0.0-preview8.19405.4 45 07/08/2023
3.0.0-preview7.19362.4 51 06/06/2023
3.0.0-preview6.19304.6 48 11/28/2022
3.0.0-preview5.19227.9 45 11/12/2022
3.0.0-preview4.19216.2 54 11/04/2022
3.0.0-preview3.19153.1 51 09/03/2022
3.0.0-preview.19074.2 50 07/11/2023
3.0.0-preview.18572.1 54 10/21/2022
2.2.0 55 10/30/2022
2.2.0-preview3-35497 56 05/28/2022
2.2.0-preview2-35157 50 05/03/2023
2.2.0-preview1-35029 60 01/03/2023
2.1.1 2,895 11/09/2020
2.1.0 530 11/01/2020
2.1.0-rc1-final 60 01/27/2023
2.1.0-preview2-final 59 11/13/2022
2.1.0-preview1-final 52 12/28/2022
2.0.0 59 08/31/2022
2.0.0-preview2-final 59 10/04/2022
2.0.0-preview1-final 53 01/13/2023
1.1.1 49 01/23/2023
1.1.0 60 10/07/2022
1.1.0-preview1-final 55 05/15/2023
1.0.2 48 11/07/2022
1.0.1 54 05/12/2023
1.0.0 60 04/28/2022
1.0.0-rc2-final 53 05/14/2023
1.0.0-rc1-final 56 11/18/2022