Microsoft.Extensions.DependencyInjection.Abstractions 9.0.16

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.Options
Provides a strongly typed way of specifying and accessing settings using dependency injection.
14
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
13
Microsoft.Extensions.Hosting.Abstractions
Hosting and startup abstractions for applications.
12
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
12
Microsoft.Extensions.Options
Provides a strongly typed way of specifying and accessing settings using dependency injection.
12
Microsoft.Extensions.Caching.Memory
In-memory cache implementation of Microsoft.Extensions.Caching.Memory.IMemoryCache.
11
Microsoft.Extensions.Options
Provides a strongly typed way of specifying and accessing settings using dependency injection.
11
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
11
Microsoft.AspNetCore.Hosting.Abstractions
ASP.NET Core hosting and startup abstractions for web applications.
10
Microsoft.Extensions.Options
Provides a strongly typed way of specifying and accessing settings using dependency injection.
10
Microsoft.Extensions.DependencyInjection
Default implementation of dependency injection for Microsoft.Extensions.DependencyInjection.
9
Microsoft.Extensions.WebEncoders
Contains registration and configuration APIs to add the core framework encoders to a dependency injection container.
9
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
8
NSwag.Generation.AspNetCore
NSwag: The OpenAPI/Swagger API toolchain for .NET and TypeScript
8
Microsoft.Extensions.Caching.Memory
In-memory cache implementation of Microsoft.Extensions.Caching.Memory.IMemoryCache.
8
Microsoft.Extensions.DependencyInjection
Default implementation of dependency injection for Microsoft.Extensions.DependencyInjection.
8
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/47576478939fdd59b4400ad135f47938af486ab3
8
Microsoft.Extensions.Options
Provides a strongly typed way of specifying and accessing settings using dependency injection.
8
Scrutor
Register services using assembly scanning and a fluent API.
8

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
11.0.0-preview.5.26302.115 2 6/20/2026
10.0.8 2 5/26/2026
10.0.7 2 5/9/2026
10.0.5 2 5/28/2026
10.0.3 2 5/9/2026
10.0.2 3 2/8/2026
10.0.1 2 5/28/2026
10.0.0 3 5/9/2026
9.0.16 1 7/19/2026
9.0.15 4 5/9/2026
9.0.13 3 6/1/2026
9.0.9 7 9/16/2025
9.0.6 6 6/23/2025
9.0.5 7 6/26/2025
9.0.4 3 11/14/2025
9.0.0 8 6/26/2025
8.0.2 11 6/23/2025
8.0.1 7 6/26/2025
8.0.0 11 7/9/2025
7.0.0 5 6/24/2025
6.0.0 10 6/26/2025
5.0.0 2 4/18/2026
3.1.28 2 6/27/2025
3.1.25 1 6/24/2025
3.1.8 10 6/23/2025
3.1.6 2 4/18/2026
3.1.5 2 5/26/2026
3.1.4 2 5/26/2026
3.1.2 2 5/26/2026
3.1.1 2 2/22/2026
3.1.0 6 6/27/2025
3.1.0-preview1.19506.1 2 4/17/2026
3.0.0 2 12/22/2025
2.2.0 3 6/23/2025
2.1.1 3 6/23/2025
2.1.0 6 6/23/2025
2.0.0 3 12/22/2025
1.0.2 9 6/23/2025