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
Autofac.Extensions.DependencyInjection
Autofac implementation of the interfaces in Microsoft.Extensions.DependencyInjection.Abstractions, the .NET Framework dependency injection abstraction.
14,223
FluentValidation.DependencyInjectionExtensions
Dependency injection extensions for FluentValidation
3,561
FluentValidation.DependencyInjectionExtensions
Dependency injection extensions for FluentValidation
13,983
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/2e51a0b6eba74bdf02aee71944e973487937cb99
906
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/3eeb12e106b9e913c3a4dec1a7d16da7b74149eb
8,843
Microsoft.AspNetCore.Hosting.Abstractions
ASP.NET Core hosting and startup abstractions for web applications.
6,909
Microsoft.Extensions.Caching.Memory
In-memory cache implementation of Microsoft.Extensions.Caching.Memory.IMemoryCache.
5,448
Microsoft.Extensions.Caching.Memory
In-memory cache implementation of Microsoft.Extensions.Caching.Memory.IMemoryCache.
8,863
Microsoft.Extensions.DependencyInjection
Default implementation of dependency injection for Microsoft.Extensions.DependencyInjection.
5,413
Microsoft.Extensions.DependencyInjection
Default implementation of dependency injection for Microsoft.Extensions.DependencyInjection.
9,067
Microsoft.Extensions.Hosting.Abstractions
.NET Core hosting and startup abstractions for applications.
5,534
Microsoft.Extensions.Hosting.Abstractions
.NET Core hosting and startup abstractions for applications.
9,070
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
1,072
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
13,740
Microsoft.Extensions.Localization
Application localization services and default implementation based on ResourceManager to load localized assembly resources.
947
Microsoft.Extensions.Localization
Application localization services and default implementation based on ResourceManager to load localized assembly resources.
9,106
Microsoft.Extensions.Options
Provides a strongly typed way of specifying and accessing settings using dependency injection.
9,048
Microsoft.Extensions.Options.ConfigurationExtensions
Provides additional configuration specific functionality related to Options.
5,442
Microsoft.Extensions.Options.ConfigurationExtensions
Provides additional configuration specific functionality related to Options.
8,897
Serilog.Extensions.Hosting
Serilog support for .NET Core logging in hosted services
13,778

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.2.24128.5 6 05/01/2024
8.0.1 302 04/10/2024
8.0.0 296 12/02/2023
8.0.0-preview.7.23375.6 4 05/12/2024
8.0.0-preview.6.23329.7 290 08/08/2023
8.0.0-preview.3.23174.8 6 06/15/2023
7.0.0 84 12/20/2022
6.0.0-rc.1.21451.13 2 11/03/2022
5.0.0-preview.3.20215.2 3 06/03/2024
3.1.32 9,292 02/24/2023
3.1.31 4 11/28/2022
3.1.30 5,571 11/03/2022
3.1.26 5 12/29/2023
3.1.0-preview3.19553.2 3 11/04/2022
3.0.0-rc1.19456.10 4 06/03/2024
3.0.0-preview7.19362.4 8 06/03/2024
1.0.2 2 08/17/2023