Microsoft.Extensions.DependencyInjection.Abstractions 10.0.1

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.AspNetCore.Cors
CORS middleware and policy for ASP.NET Core to enable cross-origin resource sharing. Commonly used types: Microsoft.AspNetCore.Cors.DisableCorsAttribute Microsoft.AspNetCore.Cors.EnableCorsAttribute This package was built from the source code at https://github.com/aspnet/CORS/tree/f05b0e792d2361be214947798857ef3eac77825d
167
Microsoft.AspNetCore.Hosting.Abstractions
ASP.NET Core hosting and startup abstractions for web applications.
155
Microsoft.AspNetCore.Cors
CORS middleware and policy for ASP.NET Core to enable cross-origin resource sharing. Commonly used types: Microsoft.AspNetCore.Cors.DisableCorsAttribute Microsoft.AspNetCore.Cors.EnableCorsAttribute
149
Microsoft.AspNetCore.Hosting.Abstractions
ASP.NET 5 Hosting abstractions.
144
MiniProfiler.Shared
You shouldn't reference this - MiniProfiler's shared library for all frameworks
144
Microsoft.AspNetCore.Hosting.Abstractions
ASP.NET Core hosting and startup abstractions for web applications.
143
Microsoft.AspNetCore.Cors
CORS middleware and policy for ASP.NET Core to enable cross-origin resource sharing. Commonly used types: Microsoft.AspNetCore.Cors.DisableCorsAttribute Microsoft.AspNetCore.Cors.EnableCorsAttribute
143
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/bb01bbf4433e27289b99001b7de6a582879d1835
140
Microsoft.Extensions.WebEncoders
Contains registration and configuration APIs to add the core framework encoders to a dependency injection container.
140
Microsoft.AspNetCore.Cors
CORS middleware and policy for ASP.NET Core to enable cross-origin resource sharing. Commonly used types: Microsoft.AspNetCore.Cors.DisableCorsAttribute Microsoft.AspNetCore.Cors.EnableCorsAttribute
140
Microsoft.Extensions.Caching.Memory
In-memory cache implementation of Microsoft.Extensions.Caching.Memory.IMemoryCache.
138
Microsoft.AspNetCore.Hosting.Abstractions
ASP.NET Core hosting and startup abstractions for web applications.
138
Microsoft.AspNetCore.Hosting.Abstractions
ASP.NET Core hosting and startup abstractions for web applications.
136
Microsoft.Extensions.Options.ConfigurationExtensions
Provides additional configuration specific functionality related to Options.
134
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/2670c128d522473e146ff9f8159bfffdfe694cd9
134
Microsoft.Extensions.OptionsModel
Provides a strongly typed way of specifying and accessing settings using dependency injection.
133
Microsoft.Extensions.WebEncoders
Contains registration and configuration APIs to add the core framework encoders to a dependency injection container.
133
Microsoft.AspNetCore.Cors
CORS middleware and policy for ASP.NET Core to enable cross-origin resource sharing. Commonly used types: Microsoft.AspNetCore.Cors.DisableCorsAttribute Microsoft.AspNetCore.Cors.EnableCorsAttribute
133

.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.1 3 12/10/2025
10.0.0 26 11/12/2025
10.0.0-rc.2.25502.107 37 10/15/2025
10.0.0-rc.1.25451.107 52 9/10/2025
10.0.0-preview.7.25380.108 47 8/13/2025
10.0.0-preview.6.25358.103 50 7/16/2025
10.0.0-preview.5.25277.114 41 6/8/2025
10.0.0-preview.4.25258.110 56 5/17/2025
10.0.0-preview.3.25171.5 64 4/12/2025
10.0.0-preview.2.25163.2 71 3/19/2025
10.0.0-preview.1.25080.5 64 2/26/2025
9.0.11 24 11/11/2025
9.0.10 38 10/15/2025
9.0.9 33 9/10/2025
9.0.8 52 8/5/2025
9.0.7 60 7/9/2025
9.0.6 47 6/16/2025
9.0.5 53 5/15/2025
9.0.4 60 4/9/2025
9.0.3 67 3/11/2025
9.0.2 74 2/19/2025
9.0.1 94 1/18/2025
9.0.0 91 11/17/2024
9.0.0-rc.2.24473.5 71 10/16/2024
9.0.0-rc.1.24431.7 86 9/12/2024
9.0.0-preview.7.24405.7 75 8/13/2024
9.0.0-preview.6.24327.7 78 7/11/2024
9.0.0-preview.5.24306.7 76 6/14/2024
9.0.0-preview.4.24266.19 82 5/24/2024
9.0.0-preview.3.24172.9 88 4/30/2024
9.0.0-preview.2.24128.5 95 3/27/2024
9.0.0-preview.1.24080.9 78 2/26/2024
8.0.2 96 10/18/2024
8.0.1 85 3/18/2024
8.0.0 96 11/16/2023
8.0.0-rc.2.23479.6 103 10/13/2023
8.0.0-rc.1.23419.4 101 9/17/2023
8.0.0-preview.7.23375.6 90 8/9/2023
8.0.0-preview.6.23329.7 101 7/31/2023
8.0.0-preview.5.23280.8 93 7/15/2023
8.0.0-preview.4.23259.5 98 5/20/2023
8.0.0-preview.3.23174.8 79 5/12/2023
8.0.0-preview.2.23128.3 109 3/29/2023
8.0.0-preview.1.23110.8 81 2/23/2023
7.0.0 116 12/3/2022
7.0.0-rc.2.22472.3 95 12/3/2022
7.0.0-rc.1.22426.10 106 9/15/2022
7.0.0-preview.7.22375.6 98 9/15/2022
7.0.0-preview.6.22324.4 87 9/15/2022
7.0.0-preview.5.22301.12 108 6/27/2022
7.0.0-preview.4.22229.4 95 7/1/2022
7.0.0-preview.3.22175.4 108 7/1/2022
7.0.0-preview.2.22152.2 93 7/1/2022
7.0.0-preview.1.22076.8 97 7/1/2022
6.0.2-mauipre.1.22102.15 94 7/1/2022
6.0.2-mauipre.1.22054.8 94 7/1/2022
6.0.0 106 7/1/2022
6.0.0-rc.2.21480.5 101 7/1/2022
6.0.0-rc.1.21451.13 115 7/1/2022
6.0.0-preview.7.21377.19 92 7/1/2022
6.0.0-preview.6.21352.12 116 7/1/2022
6.0.0-preview.5.21301.5 100 7/1/2022
6.0.0-preview.4.21253.7 99 7/1/2022
6.0.0-preview.3.21201.4 99 7/1/2022
6.0.0-preview.2.21154.6 114 7/1/2022
6.0.0-preview.1.21102.12 102 7/1/2022
5.0.0 100 7/1/2022
5.0.0-rc.2.20475.5 117 7/1/2022
5.0.0-rc.1.20451.14 108 7/1/2022
5.0.0-preview.8.20407.11 92 7/1/2022
5.0.0-preview.7.20364.11 107 7/1/2022
5.0.0-preview.6.20305.6 115 7/1/2022
5.0.0-preview.5.20278.1 94 7/1/2022
5.0.0-preview.4.20251.6 97 7/1/2022
5.0.0-preview.3.20215.2 85 7/1/2022
5.0.0-preview.2.20160.3 127 7/1/2022
5.0.0-preview.1.20120.4 87 7/1/2022
3.1.32 105 2/21/2023
3.1.31 114 12/3/2022
3.1.30 113 12/3/2022
3.1.29 108 9/15/2022
3.1.28 90 9/7/2022
3.1.27 110 7/25/2022
3.1.26 114 7/1/2022
3.1.25 112 7/1/2022
3.1.24 115 7/1/2022
3.1.23 92 7/1/2022
3.1.22 104 7/1/2022
3.1.21 110 7/1/2022
3.1.20 111 7/1/2022
3.1.19 92 7/1/2022
3.1.18 128 7/1/2022
3.1.17 105 7/1/2022
3.1.16 105 7/1/2022
3.1.15 111 7/1/2022
3.1.14 105 7/1/2022
3.1.13 100 7/1/2022
3.1.12 96 7/1/2022
3.1.11 96 7/1/2022
3.1.10 88 7/1/2022
3.1.9 128 7/1/2022
3.1.8 121 7/1/2022
3.1.7 99 7/1/2022
3.1.6 106 7/1/2022
3.1.5 100 7/1/2022
3.1.4 118 7/1/2022
3.1.3 116 7/1/2022
3.1.2 116 7/1/2022
3.1.1 117 7/1/2022
3.1.0 112 7/1/2022
3.1.0-preview3.19553.2 98 7/1/2022
3.1.0-preview2.19525.4 107 7/1/2022
3.1.0-preview1.19506.1 103 7/1/2022
3.0.3 109 7/1/2022
3.0.2 109 7/1/2022
3.0.1 110 7/1/2022
3.0.0 96 7/1/2022
3.0.0-rc1.19456.10 102 7/1/2022
3.0.0-preview9.19423.4 101 7/1/2022
3.0.0-preview8.19405.4 107 7/1/2022
3.0.0-preview7.19362.4 117 7/1/2022
3.0.0-preview6.19304.6 99 7/1/2022
3.0.0-preview5.19227.9 110 7/1/2022
3.0.0-preview4.19216.2 116 7/1/2022
3.0.0-preview3.19153.1 97 7/1/2022
3.0.0-preview.19074.2 103 7/1/2022
3.0.0-preview.18572.1 108 7/1/2022
2.2.0 92 7/1/2022
2.2.0-preview3-35497 100 7/1/2022
2.2.0-preview2-35157 106 7/1/2022
2.2.0-preview1-35029 96 7/1/2022
2.1.1 118 7/1/2022
2.1.0 110 7/1/2022
2.1.0-rc1-final 100 7/1/2022
2.1.0-preview2-final 107 7/1/2022
2.1.0-preview1-final 102 7/1/2022
2.0.0 106 7/1/2022
2.0.0-preview2-final 109 7/1/2022
2.0.0-preview1-final 105 7/1/2022
1.1.1 130 7/1/2022
1.1.0 97 7/1/2022
1.1.0-preview1-final 119 7/1/2022
1.0.2 128 7/1/2022
1.0.1 115 7/1/2022
1.0.0 112 7/1/2022
1.0.0-rc2-final 101 7/1/2022
1.0.0-rc1-final 101 7/1/2022