Skip to main content
.NETFramework4.6.1.NETCoreApp2.1.NETCoreApp3.0.NETStandard2.0.NETStandard2.1

Default implementation of dependency injection for Microsoft.Extensions.DependencyInjection.

Published
Apr 8, 2021
5y ago
Total Downloads
8.0B
8,006,766,664

Install

dotnet add package Microsoft.Extensions.DependencyInjection --version 6.0.0-preview.3.21201.4
ProductVersions
.NET Standard
netstandard2.0netstandard2.1
Other
.NETCoreApp2.1.NETCoreApp3.0.NETFramework4.6.1

Changes from Previous Version

v6.0.0-preview.2.21154.6v6.0.0-preview.3.21201.4
Deprecation Removed
Deprecation notice was removed in this version.

Adoption Assessment

Most ASP.NET Core and worker services that prioritize low ceremony and first-party integration.

Dependency Injection Guide
This version is marked prerelease. Validate its API and upgrade path before production use.Compatibility metadata lists 5 target frameworks; confirm the exact target used by your application.
Editorial Note: Built-in DI container abstractions and implementation used by the default .NET hosting model. Trade-off: Advanced container features are intentionally minimal compared with full-featured third-party containers.

Related Guides & Workflows

Learn how to evaluate, integrate, or audit this package in your .NET project.