.NETFramework4.6.2net6.0net7.0.NETStandard2.0.NETStandard2.1
Default implementation of dependency injection for Microsoft.Extensions.DependencyInjection.
Published
Feb 17, 2022
4y ago
Total Downloads
8.0B
8,006,766,664
Install
dotnet add package Microsoft.Extensions.DependencyInjection --version 7.0.0-preview.1.22076.8
| Product | Versions |
|---|---|
| .NET | |
| .NET Standard | |
| Other |
README
Changes from Previous Version
v6.0.2v7.0.0-preview.1.22076.8
Added Frameworks
.NETFramework4.6.2net7.0
Removed Frameworks
.NETFramework4.6.1
Added Dependencies
Microsoft.Bcl.AsyncInterfaces(.NETFramework4.6.2)
Microsoft.Extensions.DependencyInjection.Abstractions(.NETFramework4.6.2)
System.Threading.Tasks.Extensions(.NETFramework4.6.2)
Removed Dependencies
Microsoft.Bcl.AsyncInterfaces(.NETFramework4.6.1)
Microsoft.Extensions.DependencyInjection.Abstractions(.NETFramework4.6.1)
System.Runtime.CompilerServices.Unsafe(.NETFramework4.6.1)
System.Threading.Tasks.Extensions(.NETFramework4.6.1)
System.Runtime.CompilerServices.Unsafe(.NETStandard2.0)
System.Runtime.CompilerServices.Unsafe(.NETStandard2.1)
Adoption Assessment
Most ASP.NET Core and worker services that prioritize low ceremony and first-party integration.
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.