Microsoft.Extensions.DependencyInjection.Abstractions 9.0.0-preview.3.24172.9

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.Hosting.Abstractions
ASP.NET Core hosting and startup abstractions for web applications.
54
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
44
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
39
Microsoft.AspNetCore.DataProtection
ASP.NET Core logic to protect and unprotect data, similar to DPAPI.
38
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
38
Microsoft.Extensions.Options.ConfigurationExtensions
Provides additional configuration specific functionality related to Options.
37
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
37
Microsoft.AspNetCore.Hosting.Abstractions
ASP.NET Core hosting and startup abstractions for web applications.
37
Microsoft.Extensions.WebEncoders
Contains registration and configuration APIs to add the core framework encoders to a dependency injection container.
37
MiniProfiler.Shared
You shouldn't reference this - MiniProfiler's shared library for all frameworks
36
Microsoft.Extensions.Hosting.Abstractions
.NET Core hosting and startup abstractions for applications.
36
Microsoft.Extensions.Caching.Memory
In-memory cache implementation of Microsoft.Extensions.Caching.Memory.IMemoryCache.
35
Microsoft.AspNetCore.Hosting.Abstractions
ASP.NET Core hosting and startup abstractions for web applications.
35
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 at: https://github.com/aspnet/HtmlAbstractions/tree/8d5b123c611a6df427624e5c7499f14061646577
35
Microsoft.Extensions.DependencyInjection
Default implementation of dependency injection for Microsoft.Extensions.DependencyInjection.
34
Microsoft.Extensions.Caching.Memory
In-memory cache implementation of Microsoft.Extensions.Caching.Memory.IMemoryCache.
34
Microsoft.Extensions.Options
Provides a strongly typed way of specifying and accessing settings using dependency injection.
34
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
34
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/c663adee8e64ba5d379fa0edfb8201984a7df7d0
34
Microsoft.Extensions.WebEncoders
Contains registration and configuration APIs to add the core framework encoders to a dependency injection container.
34

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

.NET Framework 4.6.2

.NET 8.0

  • No dependencies.

.NET 9.0

  • No dependencies.

.NET Standard 2.0

.NET Standard 2.1

  • No dependencies.

Version Downloads Last updated
9.0.0-preview.3.24172.9 4 4/30/2024
9.0.0-preview.2.24128.5 5 3/27/2024
9.0.0-preview.1.24080.9 7 2/26/2024
8.0.1 6 3/18/2024
8.0.0 17 11/16/2023
8.0.0-rc.2.23479.6 18 10/13/2023
8.0.0-rc.1.23419.4 18 9/17/2023
8.0.0-preview.7.23375.6 24 8/9/2023
8.0.0-preview.6.23329.7 19 7/31/2023
8.0.0-preview.5.23280.8 21 7/15/2023
8.0.0-preview.4.23259.5 20 5/20/2023
8.0.0-preview.3.23174.8 17 5/12/2023
8.0.0-preview.2.23128.3 22 3/29/2023
8.0.0-preview.1.23110.8 18 2/23/2023
7.0.0 31 12/3/2022
7.0.0-rc.2.22472.3 20 12/3/2022
7.0.0-rc.1.22426.10 25 9/15/2022
7.0.0-preview.7.22375.6 23 9/15/2022
7.0.0-preview.6.22324.4 24 9/15/2022
7.0.0-preview.5.22301.12 27 6/27/2022
7.0.0-preview.4.22229.4 18 7/1/2022
7.0.0-preview.3.22175.4 27 7/1/2022
7.0.0-preview.2.22152.2 20 7/1/2022
7.0.0-preview.1.22076.8 19 7/1/2022
6.0.2-mauipre.1.22102.15 16 7/1/2022
6.0.2-mauipre.1.22054.8 22 7/1/2022
6.0.0 29 7/1/2022
6.0.0-rc.2.21480.5 20 7/1/2022
6.0.0-rc.1.21451.13 28 7/1/2022
6.0.0-preview.7.21377.19 20 7/1/2022
6.0.0-preview.6.21352.12 28 7/1/2022
6.0.0-preview.5.21301.5 18 7/1/2022
6.0.0-preview.4.21253.7 23 7/1/2022
6.0.0-preview.3.21201.4 22 7/1/2022
6.0.0-preview.2.21154.6 25 7/1/2022
6.0.0-preview.1.21102.12 20 7/1/2022
5.0.0 19 7/1/2022
5.0.0-rc.2.20475.5 31 7/1/2022
5.0.0-rc.1.20451.14 25 7/1/2022
5.0.0-preview.8.20407.11 23 7/1/2022
5.0.0-preview.7.20364.11 27 7/1/2022
5.0.0-preview.6.20305.6 29 7/1/2022
5.0.0-preview.5.20278.1 21 7/1/2022
5.0.0-preview.4.20251.6 22 7/1/2022
5.0.0-preview.3.20215.2 21 7/1/2022
5.0.0-preview.2.20160.3 41 7/1/2022
5.0.0-preview.1.20120.4 19 7/1/2022
3.1.32 22 2/21/2023
3.1.31 21 12/3/2022
3.1.30 25 12/3/2022
3.1.29 26 9/15/2022
3.1.28 19 9/7/2022
3.1.27 26 7/25/2022
3.1.26 32 7/1/2022
3.1.25 34 7/1/2022
3.1.24 25 7/1/2022
3.1.23 22 7/1/2022
3.1.22 23 7/1/2022
3.1.21 24 7/1/2022
3.1.20 27 7/1/2022
3.1.19 22 7/1/2022
3.1.18 30 7/1/2022
3.1.17 24 7/1/2022
3.1.16 21 7/1/2022
3.1.15 25 7/1/2022
3.1.14 29 7/1/2022
3.1.13 26 7/1/2022
3.1.12 30 7/1/2022
3.1.11 23 7/1/2022
3.1.10 20 7/1/2022
3.1.9 31 7/1/2022
3.1.8 22 7/1/2022
3.1.7 22 7/1/2022
3.1.6 30 7/1/2022
3.1.5 28 7/1/2022
3.1.4 31 7/1/2022
3.1.3 29 7/1/2022
3.1.2 23 7/1/2022
3.1.1 29 7/1/2022
3.1.0 26 7/1/2022
3.1.0-preview3.19553.2 23 7/1/2022
3.1.0-preview2.19525.4 24 7/1/2022
3.1.0-preview1.19506.1 22 7/1/2022
3.0.3 32 7/1/2022
3.0.2 27 7/1/2022
3.0.1 29 7/1/2022
3.0.0 22 7/1/2022
3.0.0-rc1.19456.10 22 7/1/2022
3.0.0-preview9.19423.4 25 7/1/2022
3.0.0-preview8.19405.4 23 7/1/2022
3.0.0-preview7.19362.4 28 7/1/2022
3.0.0-preview6.19304.6 27 7/1/2022
3.0.0-preview5.19227.9 24 7/1/2022
3.0.0-preview4.19216.2 24 7/1/2022
3.0.0-preview3.19153.1 26 7/1/2022
3.0.0-preview.19074.2 22 7/1/2022
3.0.0-preview.18572.1 26 7/1/2022
2.2.0 24 7/1/2022
2.2.0-preview3-35497 18 7/1/2022
2.2.0-preview2-35157 25 7/1/2022
2.2.0-preview1-35029 18 7/1/2022
2.1.1 29 7/1/2022
2.1.0 31 7/1/2022
2.1.0-rc1-final 25 7/1/2022
2.1.0-preview2-final 28 7/1/2022
2.1.0-preview1-final 27 7/1/2022
2.0.0 22 7/1/2022
2.0.0-preview2-final 30 7/1/2022
2.0.0-preview1-final 28 7/1/2022
1.1.1 30 7/1/2022
1.1.0 18 7/1/2022
1.1.0-preview1-final 27 7/1/2022
1.0.2 37 7/1/2022
1.0.1 27 7/1/2022
1.0.0 28 7/1/2022
1.0.0-rc2-final 27 7/1/2022
1.0.0-rc1-final 22 7/1/2022