Microsoft.Extensions.DependencyInjection.Abstractions 9.0.0-preview.2.24128.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
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
190
Microsoft.Extensions.Options
Provides a strongly typed way of specifying and accessing settings using dependency injection.
166
Microsoft.Extensions.Options
Provides a strongly typed way of specifying and accessing settings using dependency injection.
163
OpenIddict.Abstractions
Abstractions and primitives used by the OpenIddict components.
146
Microsoft.Extensions.Options
Provides a strongly typed way of specifying and accessing settings using dependency injection. This package was built from the source code at https://github.com/aspnet/Extensions/tree/9bc79b2f25a3724376d7af19617c33749a30ea3a
143
Microsoft.Extensions.Diagnostics.Abstractions
Diagnostic abstractions for Microsoft.Extensions.Diagnostics. Commonly Used Types: Microsoft.Extensions.Diagnostics.Metrics.IMetricsBuilder Microsoft.Extensions.Diagnostics.Metrics.IMetricsListener Microsoft.Extensions.Diagnostics.Metrics.InstrumentRule Microsoft.Extensions.Diagnostics.Metrics.MeterScope Microsoft.Extensions.Diagnostics.Metrics.MetricsBuilderExtensions Microsoft.Extensions.Diagnostics.Metrics.MetricsOptions
140
Microsoft.Extensions.Http
The HttpClient factory is a pattern for configuring and retrieving named HttpClients in a composable way. The HttpClient factory provides extensibility to plug in DelegatingHandlers that address cross-cutting concerns such as service location, load balancing, and reliability. The default HttpClient factory provides built-in diagnostics and logging and manages the lifetimes of connections in a performant way. Commonly Used Types: System.Net.Http.IHttpClientFactory
138
Microsoft.Extensions.DependencyInjection
Default implementation of dependency injection for Microsoft.Extensions.DependencyInjection.
137
Microsoft.Extensions.Hosting.Abstractions
Hosting and startup abstractions for applications.
134
Microsoft.Extensions.DependencyInjection
Default implementation of dependency injection for Microsoft.Extensions.DependencyInjection.
116
Microsoft.Extensions.Hosting.Abstractions
.NET Core hosting and startup abstractions for applications. This package was built from the source code at https://github.com/aspnet/Hosting/tree/0724e6cde1149ee1a19bfec9c13a2c9327b71213
116
Microsoft.AspNetCore.SignalR.Core
Real-time communication framework for ASP.NET Core. This package was built from the source code at https://github.com/aspnet/SignalR/tree/a9def470e3b8e1480c55d1c311e4b37472140307
84
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
84
Microsoft.Extensions.Caching.Memory
In-memory cache implementation of Microsoft.Extensions.Caching.Memory.IMemoryCache. This package was built from the source code at https://github.com/aspnet/Extensions/tree/9bc79b2f25a3724376d7af19617c33749a30ea3a
76
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/aspnet/Localization/tree/de1579bdda645ba8631403af8720929b76939853
74
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/aspnet/HtmlAbstractions/tree/6c5ca90d81f9013a8652da4c1752bd0b4d18e908
68
Microsoft.Extensions.Options
Provides a strongly typed way of specifying and accessing settings using dependency injection.
68
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/aspnet/AspNetCore/tree/ce8cf65589734f82b0536c543aba5bd60d0a5a98
67
Microsoft.Extensions.Options.ConfigurationExtensions
Provides additional configuration specific functionality related to Options.
65
Microsoft.Extensions.Logging.Configuration
Configuration support for Microsoft.Extensions.Logging.
62

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 5 11/13/2024
9.0.0-rc.2.24473.5 3 10/30/2024
9.0.0-rc.1.24431.7 3 09/14/2024
9.0.0-preview.7.24405.7 3 09/07/2024
9.0.0-preview.6.24327.7 2 07/15/2024
9.0.0-preview.5.24306.7 2 06/19/2024
9.0.0-preview.4.24266.19 7 06/29/2024
9.0.0-preview.3.24172.9 3 07/04/2024
9.0.0-preview.2.24128.5 2 06/02/2024
9.0.0-preview.1.24080.9 2 03/07/2024
8.0.2 0 10/08/2024
8.0.1 165 03/13/2024
8.0.0 180 03/07/2024
8.0.0-rc.2.23479.6 3 03/07/2024
8.0.0-rc.1.23419.4 3 03/08/2024
8.0.0-preview.7.23375.6 0 08/08/2023
8.0.0-preview.6.23329.7 16 03/08/2024
8.0.0-preview.5.23280.8 3 03/07/2024
8.0.0-preview.4.23259.5 0 05/16/2023
8.0.0-preview.3.23174.8 3 03/07/2024
8.0.0-preview.2.23128.3 6 03/07/2024
8.0.0-preview.1.23110.8 0 02/21/2023
7.0.0 11 03/07/2024
7.0.0-rc.2.22472.3 2 03/07/2024
7.0.0-rc.1.22426.10 3 03/08/2024
7.0.0-preview.7.22375.6 1 09/07/2024
7.0.0-preview.6.22324.4 1 09/07/2024
7.0.0-preview.5.22301.12 0 06/14/2022
7.0.0-preview.4.22229.4 3 03/07/2024
7.0.0-preview.3.22175.4 2 10/30/2024
7.0.0-preview.2.22152.2 1 10/31/2024
7.0.0-preview.1.22076.8 2 03/07/2024
6.0.2-mauipre.1.22102.15 5 03/07/2024
6.0.0 171 03/06/2024
6.0.0-rc.2.21480.5 2 03/07/2024
6.0.0-rc.1.21451.13 0 09/14/2021
6.0.0-preview.7.21377.19 7 03/07/2024
6.0.0-preview.6.21352.12 0 07/14/2021
6.0.0-preview.5.21301.5 5 03/07/2024
6.0.0-preview.4.21253.7 4 07/25/2024
6.0.0-preview.3.21201.4 2 03/07/2024
6.0.0-preview.2.21154.6 2 06/28/2024
6.0.0-preview.1.21102.12 2 03/07/2024
5.0.0 8 03/06/2024
5.0.0-rc.2.20475.5 3 03/07/2024
5.0.0-rc.1.20451.14 2 10/06/2024
5.0.0-preview.8.20407.11 3 10/31/2024
5.0.0-preview.7.20364.11 2 03/07/2024
5.0.0-preview.6.20305.6 1 03/07/2024
5.0.0-preview.5.20278.1 2 03/08/2024
5.0.0-preview.4.20251.6 5 03/07/2024
5.0.0-preview.3.20215.2 2 03/07/2024
5.0.0-preview.2.20160.3 3 10/06/2024
5.0.0-preview.1.20120.4 3 11/13/2024
3.1.32 3 03/07/2024
3.1.31 4 03/07/2024
3.1.30 3 03/07/2024
3.1.29 0 09/13/2022
3.1.28 3 03/07/2024
3.1.27 4 03/07/2024
3.1.26 3 03/07/2024
3.1.25 1 10/31/2024
3.1.24 3 09/14/2024
3.1.23 6 10/30/2024
3.1.22 1 03/08/2024
3.1.21 1 03/08/2024
3.1.20 1 03/08/2024
3.1.19 4 09/24/2024
3.1.18 3 03/07/2024
3.1.17 1 09/21/2024
3.1.16 1 03/06/2024
3.1.15 0 05/11/2021
3.1.14 2 06/26/2024
3.1.13 1 03/07/2024
3.1.12 2 10/30/2024
3.1.11 0 01/12/2021
3.1.10 2 03/07/2024
3.1.9 2 06/03/2024
3.1.8 2 03/07/2024
3.1.7 2 06/26/2024
3.1.6 2 10/30/2024
3.1.5 5 10/30/2024
3.1.4 3 03/07/2024
3.1.3 2 03/07/2024
3.1.2 2 03/07/2024
3.1.1 4 05/23/2024
3.1.0 5 03/07/2024
3.1.0-preview3.19553.2 3 03/28/2024
3.1.0-preview2.19525.4 2 05/24/2024
3.1.0-preview1.19506.1 4 10/30/2024
3.0.3 1 03/08/2024
3.0.2 2 03/08/2024
3.0.1 3 03/11/2024
3.0.0 3 03/07/2024
3.0.0-rc1.19456.10 3 03/07/2024
3.0.0-preview9.19423.4 2 03/07/2024
3.0.0-preview8.19405.4 0 08/13/2019
3.0.0-preview7.19362.4 2 03/07/2024
3.0.0-preview6.19304.6 2 03/07/2024
3.0.0-preview5.19227.9 6 03/20/2024
3.0.0-preview4.19216.2 2 03/08/2024
3.0.0-preview3.19153.1 2 09/14/2024
3.0.0-preview.19074.2 3 03/07/2024
3.0.0-preview.18572.1 2 03/07/2024
2.2.0 151 03/06/2024
2.2.0-preview3-35497 6 03/07/2024
2.2.0-preview2-35157 4 10/30/2024
2.2.0-preview1-35029 2 11/27/2024
2.1.1 0 06/18/2018
2.1.0 3 03/07/2024
2.1.0-rc1-final 2 03/07/2024
2.1.0-preview2-final 1 03/08/2024
2.1.0-preview1-final 2 09/14/2024
2.0.0 3 07/03/2024
2.0.0-preview2-final 2 10/30/2024
2.0.0-preview1-final 1 03/07/2024
1.1.1 2 10/31/2024
1.1.0 3 03/07/2024
1.1.0-preview1-final 3 03/07/2024
1.0.2 2 03/07/2024
1.0.1 1 10/31/2024
1.0.0 2 03/07/2024
1.0.0-rc2-final 5 03/07/2024
1.0.0-rc1-final 2 09/29/2024