Microsoft.Extensions.DependencyInjection.Abstractions 9.0.0-rc.2.24473.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
- Conceptual documentation
- API documentation
Related Packages
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.
|
4 |
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
|
3 |
OpenTelemetry.Api.ProviderBuilderExtensions
Contains extensions to register OpenTelemetry in applications using Microsoft.Extensions.DependencyInjection
|
3 |
Microsoft.Extensions.Options
Provides a strongly typed way of specifying and accessing settings using dependency injection.
|
3 |
ErikEJ.SqlClient.Extensions
Makes it easier to use Microsoft.Data.SqlClient with Dependency Injection and adds ILogger logging of SqlClient events.
|
2 |
Npgsql.DependencyInjection
Package Description
|
2 |
Microsoft.Extensions.DependencyInjection
Default implementation of dependency injection for Microsoft.Extensions.DependencyInjection.
|
2 |
Microsoft.Extensions.Logging.EventLog
Windows Event Log logger provider implementation for Microsoft.Extensions.Logging.
|
2 |
Microsoft.Extensions.Logging.Configuration
Configuration support for Microsoft.Extensions.Logging.
|
2 |
Microsoft.Extensions.Logging.Debug
Debug output logger provider implementation for Microsoft.Extensions.Logging. This logger logs messages to a debugger monitor by writing messages with System.Diagnostics.Debug.WriteLine().
|
2 |
OpenTelemetry.Api.ProviderBuilderExtensions
Contains extensions to register OpenTelemetry in applications using Microsoft.Extensions.DependencyInjection
|
2 |
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
|
2 |
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/0a2e366eaf4d29b24b9a98e5782a04bef573189e
|
1 |
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
|
1 |
Serilog.Extensions.Hosting
Serilog support for .NET Core logging in hosted services
|
1 |
Microsoft.Extensions.Logging.Debug
Debug output logger provider implementation for Microsoft.Extensions.Logging. This logger logs messages to a debugger monitor by writing messages with System.Diagnostics.Debug.WriteLine().
|
1 |
Microsoft.AspNetCore.MiddlewareAnalysis
ASP.NET Core middleware for analyzing middleware in the request pipeline with System.Diagnostics.DiagnosticSource.
|
1 |
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/dotnet/aspnetcore/tree/b7a2ec8c7ed6b48857af0a69688a73e8c14fe6cb
|
1 |
Microsoft.AspNetCore.MiddlewareAnalysis
ASP.NET Core middleware for analyzing middleware in the request pipeline with System.Diagnostics.DiagnosticSource.
This package was built from the source code at https://github.com/dotnet/aspnetcore/tree/63d1187a01b82719c2891cecc74ee3d51ce892a8
|
1 |
.NET Framework 4.6.2
- Microsoft.Bcl.AsyncInterfaces (>= 9.0.0-rc.2.24473.5)
- System.Threading.Tasks.Extensions (>= 4.5.4)
.NET 8.0
- No dependencies.
.NET 9.0
- No dependencies.
.NET Standard 2.0
- Microsoft.Bcl.AsyncInterfaces (>= 9.0.0-rc.2.24473.5)
- System.Threading.Tasks.Extensions (>= 4.5.4)
.NET Standard 2.1
- No dependencies.