Microsoft.Extensions.DependencyInjection.Abstractions 11.0.0-preview.2.26159.112

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.Orleans.Serialization
Fast, flexible, and version-tolerant serializer for .NET
42
Microsoft.Extensions.Hosting.Abstractions
.NET Core hosting and startup abstractions for applications.
42
Senparc.NeuChar
NeuChar SDK 跨平台信息交互标准
37
Microsoft.Extensions.DependencyInjection
Default implementation of dependency injection for Microsoft.Extensions.DependencyInjection.
37
Microsoft.Extensions.WebEncoders
Contains registration and configuration APIs to add the core framework encoders to a dependency injection container.
36
Microsoft.AspNetCore.DataProtection
ASP.NET Core logic to protect and unprotect data, similar to DPAPI. This package was built from the source code at https://github.com/dotnet/aspnetcore/tree/cec88a329584349fda070f4c7346b10538210ace
33
Microsoft.Extensions.Caching.Memory
In-memory cache implementation of Microsoft.Extensions.Caching.Memory.IMemoryCache. When using NuGet 3.x this package requires at least version 3.4.
32
Microsoft.Extensions.Caching.Memory
In-memory cache implementation of Microsoft.Extensions.Caching.Memory.IMemoryCache.
30
Microsoft.Orleans.Serialization.Abstractions
Serialization abstractions for Microsoft Orleans
28
DotNetCore.CAP
EventBus and eventually consistency in distributed architectures.
27
Dapr.Client
This package contains the reference assemblies for developing services using Dapr.
27
Microsoft.Extensions.Logging
Logging infrastructure default implementation for Microsoft.Extensions.Logging.
26
Microsoft.Extensions.WebEncoders
Contains registration and configuration APIs to add the core framework encoders to a dependency injection container.
26
Microsoft.Extensions.Localization
Application localization services and default implementation based on ResourceManager to load localized assembly resources. This package was built from the source code at https://github.com/dotnet/aspnetcore/tree/c70204ae3c91d2b48fa6d9b92b62265f368421b4
26
Microsoft.Extensions.Hosting.Abstractions
Hosting and startup abstractions for applications.
25
Microsoft.Extensions.WebEncoders
Contains registration and configuration APIs to add the core framework encoders to a dependency injection container. This package was built from the source code at https://github.com/dotnet/aspnetcore/tree/371a26f07b23ad77c636332c2dfc0cbd1d8137ba
25
OpenTelemetry.Api.ProviderBuilderExtensions
Contains extensions to register OpenTelemetry in applications using Microsoft.Extensions.DependencyInjection
25
Microsoft.Extensions.DependencyInjection
Default implementation of dependency injection for Microsoft.Extensions.DependencyInjection.
25
FluentValidation.DependencyInjectionExtensions
Dependency injection extensions for FluentValidation
25

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

.NET Framework 4.6.2

.NET 10.0

  • No dependencies.

.NET 11.0

  • No dependencies.

.NET Standard 2.0

.NET Standard 2.1

  • No dependencies.

Version Downloads Last updated
11.0.0-preview.2.26159.112 3 3/12/2026
11.0.0-preview.1.26104.118 4 2/13/2026
10.0.5 3 3/14/2026
10.0.4 3 3/12/2026
10.0.3 4 2/11/2026
10.0.2 5 1/19/2026
10.0.1 8 12/12/2025
10.0.0 6 11/19/2025
10.0.0-rc.2.25502.107 7 10/23/2025
10.0.0-rc.1.25451.107 6 9/16/2025
10.0.0-preview.7.25380.108 10 8/19/2025
10.0.0-preview.6.25358.103 11 7/29/2025
10.0.0-preview.5.25277.114 7 6/12/2025
10.0.0-preview.4.25258.110 3 6/14/2025
10.0.0-preview.3.25171.5 4 6/13/2025
10.0.0-preview.2.25163.2 4 6/13/2025
10.0.0-preview.1.25080.5 4 6/14/2025
9.0.14 3 3/12/2026
9.0.13 3 2/13/2026
9.0.12 5 1/19/2026
9.0.11 5 11/21/2025
9.0.10 6 10/23/2025
9.0.9 8 9/17/2025
9.0.8 8 8/13/2025
9.0.7 13 7/30/2025
9.0.6 2 6/14/2025
9.0.5 3 6/14/2025
9.0.4 3 6/11/2025
9.0.3 3 6/15/2025
9.0.2 2 6/14/2025
9.0.1 2 6/14/2025
9.0.0 4 6/14/2025
9.0.0-rc.2.24473.5 4 6/14/2025
9.0.0-rc.1.24431.7 2 6/13/2025
9.0.0-preview.7.24405.7 17 6/14/2025
9.0.0-preview.6.24327.7 2 6/13/2025
9.0.0-preview.5.24306.7 4 6/13/2025
9.0.0-preview.4.24266.19 3 6/14/2025
9.0.0-preview.3.24172.9 5 6/14/2025
9.0.0-preview.2.24128.5 3 6/14/2025
9.0.0-preview.1.24080.9 2 6/14/2025
8.0.2 2 6/14/2025
8.0.1 3 6/13/2025
8.0.0 3 6/14/2025
8.0.0-rc.2.23479.6 3 6/13/2025
8.0.0-rc.1.23419.4 22 6/14/2025
8.0.0-preview.7.23375.6 21 6/13/2025
8.0.0-preview.6.23329.7 17 6/14/2025
8.0.0-preview.5.23280.8 19 6/14/2025
8.0.0-preview.4.23259.5 19 6/14/2025
8.0.0-preview.3.23174.8 20 6/14/2025
8.0.0-preview.2.23128.3 20 6/14/2025
8.0.0-preview.1.23110.8 22 6/11/2025
7.0.0 12 6/13/2025
7.0.0-rc.2.22472.3 21 6/13/2025
7.0.0-rc.1.22426.10 17 6/13/2025
7.0.0-preview.7.22375.6 23 6/14/2025
7.0.0-preview.6.22324.4 14 6/14/2025
7.0.0-preview.5.22301.12 12 6/13/2025
7.0.0-preview.4.22229.4 19 6/14/2025
7.0.0-preview.3.22175.4 19 6/14/2025
7.0.0-preview.2.22152.2 22 6/14/2025
7.0.0-preview.1.22076.8 23 6/14/2025
6.0.0 20 6/14/2025
6.0.0-rc.2.21480.5 13 6/13/2025
6.0.0-rc.1.21451.13 13 6/10/2025
6.0.0-preview.7.21377.19 19 6/14/2025
6.0.0-preview.6.21352.12 19 6/14/2025
6.0.0-preview.5.21301.5 21 6/13/2025
6.0.0-preview.4.21253.7 21 6/14/2025
6.0.0-preview.3.21201.4 19 6/14/2025
6.0.0-preview.2.21154.6 18 6/14/2025
6.0.0-preview.1.21102.12 18 6/14/2025
5.0.0 21 6/14/2025
5.0.0-rc.2.20475.5 17 6/13/2025
5.0.0-rc.1.20451.14 14 6/14/2025
5.0.0-preview.8.20407.11 16 6/13/2025
5.0.0-preview.7.20364.11 22 6/13/2025
5.0.0-preview.6.20305.6 20 6/14/2025
5.0.0-preview.5.20278.1 16 6/14/2025
5.0.0-preview.4.20251.6 14 6/13/2025
5.0.0-preview.3.20215.2 21 6/13/2025
5.0.0-preview.2.20160.3 11 6/14/2025
5.0.0-preview.1.20120.4 15 6/14/2025
3.1.32 14 6/13/2025
3.1.31 12 6/14/2025
3.1.30 14 6/14/2025
3.1.29 22 6/7/2025
3.1.28 15 6/14/2025
3.1.27 11 6/15/2025
3.1.26 11 6/14/2025
3.1.25 21 6/14/2025
3.1.24 21 6/14/2025
3.1.23 20 6/14/2025
3.1.22 12 6/13/2025
3.1.21 17 6/13/2025
3.1.20 15 6/13/2025
3.1.19 12 6/14/2025
3.1.18 18 6/14/2025
3.1.17 18 6/14/2025
3.1.16 19 6/13/2025
3.1.15 21 6/14/2025
3.1.14 19 6/13/2025
3.1.13 21 6/13/2025
3.1.12 18 6/14/2025
3.1.11 20 6/14/2025
3.1.10 20 6/13/2025
3.1.9 10 6/14/2025
3.1.8 13 6/14/2025
3.1.7 20 6/13/2025
3.1.6 18 6/14/2025
3.1.5 11 6/14/2025
3.1.4 18 6/13/2025
3.1.3 19 6/13/2025
3.1.2 20 6/14/2025
3.1.1 18 6/14/2025
3.1.0 19 6/14/2025
3.1.0-preview3.19553.2 20 6/13/2025
3.1.0-preview2.19525.4 21 6/14/2025
3.1.0-preview1.19506.1 10 6/14/2025
3.0.3 12 6/14/2025
3.0.2 12 6/14/2025
3.0.1 12 6/13/2025
3.0.0 20 6/14/2025
3.0.0-rc1.19456.10 18 6/14/2025
3.0.0-preview9.19423.4 12 6/14/2025
3.0.0-preview8.19405.4 18 6/13/2025
3.0.0-preview7.19362.4 14 6/13/2025
3.0.0-preview6.19304.6 19 6/14/2025
3.0.0-preview5.19227.9 17 6/13/2025
3.0.0-preview4.19216.2 18 6/14/2025
3.0.0-preview3.19153.1 11 6/14/2025
3.0.0-preview.19074.2 16 6/14/2025
3.0.0-preview.18572.1 12 6/15/2025
2.2.0 22 6/13/2025
2.2.0-preview3-35497 26 6/14/2025
2.2.0-preview2-35157 11 6/14/2025
2.2.0-preview1-35029 14 6/14/2025
2.1.1 13 6/12/2025
2.1.0 16 6/14/2025
2.1.0-rc1-final 21 6/14/2025
2.1.0-preview2-final 14 6/14/2025
2.1.0-preview1-final 16 6/14/2025
2.0.0 11 6/13/2025
2.0.0-preview2-final 24 6/14/2025
2.0.0-preview1-final 14 6/13/2025
1.1.1 19 6/13/2025
1.1.0 33 6/13/2025
1.1.0-preview1-final 17 6/14/2025
1.0.2 19 6/13/2025
1.0.1 19 6/13/2025
1.0.0 18 6/11/2025
1.0.0-rc2-final 14 6/14/2025
1.0.0-rc1-final 13 6/13/2025