Microsoft.Extensions.DependencyInjection.Abstractions 10.0.0-preview.5.25277.114

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.Caching.Memory
In-memory cache implementation of Microsoft.Extensions.Caching.Memory.IMemoryCache.
3,543
Microsoft.Extensions.DependencyInjection
Default implementation of dependency injection for Microsoft.Extensions.DependencyInjection.
754
Microsoft.Extensions.DependencyInjection
Default implementation of dependency injection for Microsoft.Extensions.DependencyInjection.
2,466
Microsoft.Extensions.DependencyInjection
Default implementation of dependency injection for Microsoft.Extensions.DependencyInjection.
3,587
Microsoft.Extensions.DependencyInjection
Default implementation of dependency injection for Microsoft.Extensions.DependencyInjection. When using NuGet 3.x this package requires at least version 3.4.
2,333
Microsoft.Extensions.Hosting.Abstractions
.NET Core hosting and startup abstractions for applications.
859
Microsoft.Extensions.Hosting.Abstractions
.NET Core hosting and startup abstractions for applications.
1,763
Microsoft.Extensions.Hosting.Abstractions
.NET Core hosting and startup abstractions for applications.
2,046
Microsoft.Extensions.Logging
Logging infrastructure default implementation for Microsoft.Extensions.Logging.
1,198
Microsoft.Extensions.Logging
Logging infrastructure default implementation for Microsoft.Extensions.Logging.
3,419
Microsoft.Extensions.Logging
Logging infrastructure default implementation for Microsoft.Extensions.Logging. When using NuGet 3.x this package requires at least version 3.4.
2,263
Microsoft.Extensions.Options
Provides a strongly typed way of specifying and accessing settings using dependency injection.
844
Microsoft.Extensions.Options
Provides a strongly typed way of specifying and accessing settings using dependency injection.
1,317
Microsoft.Extensions.Options
Provides a strongly typed way of specifying and accessing settings using dependency injection.
1,376
Microsoft.Extensions.Options
Provides a strongly typed way of specifying and accessing settings using dependency injection.
3,430
Microsoft.Extensions.Options
Provides a strongly typed way of specifying and accessing settings using dependency injection.
3,996
Microsoft.Extensions.Options
Provides a strongly typed way of specifying and accessing settings using dependency injection.
4,070
Microsoft.Extensions.Options
Provides a strongly typed way of specifying and accessing settings using dependency injection. When using NuGet 3.x this package requires at least version 3.4.
2,603
Microsoft.Extensions.Options.ConfigurationExtensions
Provides additional configuration specific functionality related to Options.
1,311
Scrutor
Register services using assembly scanning and a fluent API.
788

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-preview.6.25358.103 1 07/20/2025
10.0.0-preview.5.25277.114 6 06/08/2025
10.0.0-preview.4.25258.110 6 05/15/2025
10.0.0-preview.3.25171.5 7 04/23/2025
10.0.0-preview.2.25163.2 10 03/30/2025
10.0.0-preview.1.25080.5 11 03/02/2025
9.0.7 0 07/08/2025
9.0.6 4 06/13/2025
9.0.5 6 05/19/2025
9.0.4 8 04/09/2025
9.0.3 9 03/18/2025
9.0.2 12 02/20/2025
9.0.1 12 01/28/2025
9.0.0 11 11/23/2024
9.0.0-rc.2.24473.5 10 10/16/2024
9.0.0-rc.1.24431.7 13 09/15/2024
9.0.0-preview.7.24405.7 13 08/13/2024
9.0.0-preview.6.24327.7 13 07/12/2024
9.0.0-preview.5.24306.7 14 06/14/2024
9.0.0-preview.4.24266.19 11 05/23/2024
9.0.0-preview.3.24172.9 26 04/16/2024
9.0.0-preview.2.24128.5 23 03/16/2024
9.0.0-preview.1.24080.9 18 02/14/2024
8.0.2 11 10/16/2024
8.0.1 18 03/16/2024
8.0.0 26 11/16/2023
8.0.0-rc.2.23479.6 16 12/14/2023
8.0.0-rc.1.23419.4 15 02/14/2024
8.0.0-preview.7.23375.6 15 02/14/2024
8.0.0-preview.6.23329.7 25 02/14/2024
8.0.0-preview.5.23280.8 16 02/14/2024
8.0.0-preview.4.23259.5 26 05/25/2023
8.0.0-preview.3.23174.8 20 02/14/2024
8.0.0-preview.2.23128.3 17 02/14/2024
8.0.0-preview.1.23110.8 17 01/15/2024
7.0.0 19 11/23/2022
7.0.0-rc.2.22472.3 24 02/14/2024
7.0.0-rc.1.22426.10 16 02/14/2024
7.0.0-preview.7.22375.6 15 02/14/2024
7.0.0-preview.6.22324.4 19 02/14/2024
7.0.0-preview.5.22301.12 25 02/14/2024
7.0.0-preview.4.22229.4 16 02/14/2024
7.0.0-preview.3.22175.4 24 02/14/2024
7.0.0-preview.2.22152.2 16 02/14/2024
7.0.0-preview.1.22076.8 20 02/14/2024
6.0.2-mauipre.1.22102.15 16 02/14/2024
6.0.2-mauipre.1.22054.8 17 02/14/2024
6.0.0 308 11/19/2021
6.0.0-rc.2.21480.5 23 02/14/2024
6.0.0-rc.1.21451.13 16 02/14/2024
6.0.0-preview.7.21377.19 19 04/01/2022
6.0.0-preview.6.21352.12 17 02/14/2024
6.0.0-preview.5.21301.5 22 02/06/2024
6.0.0-preview.4.21253.7 15 02/14/2024
6.0.0-preview.3.21201.4 20 01/20/2024
6.0.0-preview.2.21154.6 19 02/14/2024
6.0.0-preview.1.21102.12 17 02/14/2024
5.0.0 2,875 11/10/2020
5.0.0-rc.2.20475.5 15 02/14/2024
5.0.0-rc.1.20451.14 15 01/28/2024
5.0.0-preview.8.20407.11 17 02/14/2024
5.0.0-preview.7.20364.11 18 02/14/2024
5.0.0-preview.6.20305.6 19 02/14/2024
5.0.0-preview.5.20278.1 15 02/14/2024
5.0.0-preview.4.20251.6 18 02/14/2024
5.0.0-preview.3.20215.2 18 02/14/2024
5.0.0-preview.2.20160.3 17 02/14/2024
5.0.0-preview.1.20120.4 30 02/14/2024
3.1.32 18 01/28/2024
3.1.31 18 01/20/2024
3.1.30 16 02/14/2024
3.1.29 17 01/23/2024
3.1.28 16 02/14/2024
3.1.27 27 01/11/2024
3.1.26 18 06/18/2022
3.1.25 18 03/31/2023
3.1.24 21 02/14/2024
3.1.23 17 02/14/2024
3.1.22 92 12/14/2021
3.1.21 92 12/07/2021
3.1.20 19 02/14/2024
3.1.19 26 01/09/2024
3.1.18 82 12/14/2021
3.1.17 32 07/13/2021
3.1.16 18 06/08/2021
3.1.15 39 05/11/2021
3.1.14 19 04/06/2021
3.1.13 71 03/09/2021
3.1.12 77 02/09/2021
3.1.11 94 01/25/2021
3.1.10 35 11/10/2020
3.1.9 1,186 10/25/2020
3.1.8 3,433 09/18/2020
3.1.7 18 08/24/2020
3.1.6 322 07/21/2020
3.1.5 27 07/07/2020
3.1.4 18 02/14/2024
3.1.3 21 03/28/2020
3.1.2 840 02/27/2020
3.1.1 19 02/10/2020
3.1.0 489 02/10/2020
3.1.0-preview3.19553.2 17 02/14/2024
3.1.0-preview2.19525.4 18 02/14/2024
3.1.0-preview1.19506.1 20 02/14/2024
3.0.3 18 02/12/2024
3.0.2 24 02/12/2024
3.0.1 20 01/21/2024
3.0.0 1,378 02/11/2020
3.0.0-rc1.19456.10 17 02/14/2024
3.0.0-preview9.19423.4 19 02/14/2024
3.0.0-preview8.19405.4 18 02/14/2024
3.0.0-preview7.19362.4 16 02/14/2024
3.0.0-preview6.19304.6 16 02/14/2024
3.0.0-preview5.19227.9 26 02/14/2024
3.0.0-preview4.19216.2 16 02/14/2024
3.0.0-preview3.19153.1 18 02/14/2024
3.0.0-preview.19074.2 28 02/14/2024
3.0.0-preview.18572.1 19 02/14/2024
2.2.0 411 02/10/2020
2.2.0-preview3-35497 19 02/02/2024
2.2.0-preview2-35157 16 02/14/2024
2.2.0-preview1-35029 17 02/14/2024
2.1.1 3,912 02/11/2020
2.1.0 3,872 02/10/2020
2.1.0-rc1-final 17 02/14/2024
2.1.0-preview2-final 17 02/14/2024
2.1.0-preview1-final 22 02/14/2024
2.0.0 4,201 02/10/2020
2.0.0-preview2-final 19 01/11/2024
2.0.0-preview1-final 14 02/14/2024
1.1.1 243 02/10/2020
1.1.0 532 02/10/2020
1.1.0-preview1-final 17 02/14/2024
1.0.2 138 02/11/2020
1.0.1 16 01/20/2024
1.0.0 4,378 02/10/2020
1.0.0-rc2-final 18 02/14/2024
1.0.0-rc1-final 19 01/10/2024