Microsoft.Extensions.DependencyInjection.Abstractions 8.0.0

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
Autofac.Extensions.DependencyInjection
Autofac implementation of the interfaces in Microsoft.Extensions.DependencyInjection.Abstractions, the .NET Framework dependency injection abstraction.
200
DevExpress.AspNetCore.Reporting
This package implements the functionality related to the DevExpress Report Designer and Report Viewer ASP.NET Core controls.
16
Microsoft.Extensions.Options
Provides a strongly typed way of specifying and accessing settings using dependency injection.
8
HotChocolate.Validation
Package Description
7
HotChocolate.Subscriptions.InMemory
Contains an in-memory implementation for a Hot Chocolate GraphQL subscription provider.
7
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/ae1a6cbe225b99c0bf38b7e31bf60cb653b73a52
7
Microsoft.Extensions.Caching.Memory
In-memory cache implementation of Microsoft.Extensions.Caching.Memory.IMemoryCache.
7
Microsoft.Extensions.Options
Provides a strongly typed way of specifying and accessing settings using dependency injection.
7
Microsoft.Extensions.DependencyInjection
Default implementation of dependency injection for Microsoft.Extensions.DependencyInjection.
7
HotChocolate.Types
Contains the Hot Chocolate GraphQL type system.
6
Microsoft.Extensions.DependencyInjection
Default implementation of dependency injection for Microsoft.Extensions.DependencyInjection.
6
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
6
Microsoft.Extensions.Hosting.Abstractions
Hosting and startup abstractions for applications.
6
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
6
LazyCache.AspNetCore
ServiceCollection registrations for LazyCache to initialise the dependency injection collection and add enable IAppCache to be injected into your app
5
Serilog.Extensions.Hosting
Serilog support for .NET Core logging in hosted services
5
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
5
Microsoft.Extensions.Logging
Logging infrastructure default implementation for Microsoft.Extensions.Logging.
5
Microsoft.Extensions.Options
Provides a strongly typed way of specifying and accessing settings using dependency injection.
5
Microsoft.Extensions.DependencyInjection
Default implementation of dependency injection for Microsoft.Extensions.DependencyInjection.
5

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

.NET Framework 4.6.2

.NET 6.0

  • No dependencies.

.NET 7.0

  • No dependencies.

.NET 8.0

  • No dependencies.

.NET Standard 2.0

.NET Standard 2.1

  • No dependencies.

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