Microsoft.Extensions.DependencyInjection.Abstractions (8.0.2)

Published 2026-02-04 09:31:41 +03:30 by kayer

Installation

dotnet nuget add source --name kayer --username your_username --password your_token 
dotnet add package --source kayer --version 8.0.2 Microsoft.Extensions.DependencyInjection.Abstractions

About this package

Abstractions for dependency injection.

Commonly Used Types: Microsoft.Extensions.DependencyInjection.IServiceCollection

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.

Dependencies

ID Version Target Framework
Microsoft.Bcl.AsyncInterfaces 8.0.0 .NETFramework4.6.2
System.Threading.Tasks.Extensions 4.5.4 .NETFramework4.6.2
Microsoft.Bcl.AsyncInterfaces 8.0.0 .NETStandard2.0
System.Threading.Tasks.Extensions 4.5.4 .NETStandard2.0
Details
NuGet
2026-02-04 09:31:41 +03:30
61
Microsoft
274 KiB
Assets (2)
Versions (6) View all
10.0.3 2026-02-21
10.0.0 2026-02-20
9.0.10 2026-02-04
9.0.0 2026-02-04
8.0.2 2026-02-04