Microsoft.Extensions.DependencyInjection.Abstractions 10.0.0-preview.3.25171.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
EFCore.NamingConventions
Naming Conventions for Entity Framework Core Tables and Columns.
548
FluentValidation.DependencyInjectionExtensions
Dependency injection extensions for FluentValidation
186
MassTransit.Extensions.DependencyInjection
MassTransit Microsoft.Extensions.DependencyInjection support; MassTransit is a message-based distributed application framework for .NET http://masstransit-project.com
324
MediatR
Simple, unambitious mediator implementation in .NET
153
MediatR
Simple, unambitious mediator implementation in .NET
163
MediatR
Simple, unambitious mediator implementation in .NET
183
MediatR.Extensions.Microsoft.DependencyInjection
MediatR extensions for ASP.NET Core
248
Microsoft.Extensions.DependencyInjection
Default implementation of dependency injection for Microsoft.Extensions.DependencyInjection.
162
Microsoft.Extensions.DependencyInjection
Default implementation of dependency injection for Microsoft.Extensions.DependencyInjection.
210
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.
168
Microsoft.Extensions.Hosting.Abstractions
Hosting and startup abstractions for applications.
232
Microsoft.Extensions.Hosting.Abstractions
.NET Core hosting and startup abstractions for applications.
148
Microsoft.Extensions.Hosting.Abstractions
.NET Core hosting and startup abstractions for applications.
323
Microsoft.Extensions.Logging
Logging infrastructure default implementation for Microsoft.Extensions.Logging.
151
Microsoft.Extensions.Logging
Logging infrastructure default implementation for Microsoft.Extensions.Logging. When using NuGet 3.x this package requires at least version 3.4.
173
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
274
Microsoft.Extensions.Options
Provides a strongly typed way of specifying and accessing settings using dependency injection.
183
Microsoft.Extensions.Options
Provides a strongly typed way of specifying and accessing settings using dependency injection.
243
Microsoft.Extensions.Options
Provides a strongly typed way of specifying and accessing settings using dependency injection.
245
Microsoft.Extensions.Options
Provides a strongly typed way of specifying and accessing settings using dependency injection.
303

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