Skip to main content
Microsoft.extensions.dependencyinjection package icon

Microsoft.extensions.dependencyinjection

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

Total Downloads
7.4B
7,445,754,144
Published
Feb 10, 2026
Latest stable version

Install

.NET CLI
dotnet add package Microsoft.extensions.dependencyinjection --version 11.0.0-preview.1.26104.118
Package Manager Console
Install-Package Microsoft.extensions.dependencyinjection -Version 11.0.0-preview.1.26104.118
PackageReference
<PackageReference Include="Microsoft.extensions.dependencyinjection" Version="11.0.0-preview.1.26104.118" />

Frameworks

.NETFramework4.6.2 net10.0 net11.0 .NETStandard2.0 .NETStandard2.1

Dependencies

[11.0.0-preview.1.26104.118, )
[11.0.0-preview.1.26104.118, )
[4.6.3, )
[11.0.0-preview.1.26104.118, )
[11.0.0-preview.1.26104.118, )
[11.0.0-preview.1.26104.118, )
[11.0.0-preview.1.26104.118, )
[4.6.3, )
[11.0.0-preview.1.26104.118, )

Adoption guide

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

Dependency Injection guide
Why it appears in the guide: 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.

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.

How to read this guidance

Sources: published NuGet v3 registry metadata and explicit NuBrowse editorial guides. Refresh: package metadata is refreshed from NuGet when the page loads. Limit: this is not a security, legal or compatibility guarantee; validate the selected version in your project.

Useful next steps

Move from package metadata to a concrete selection or review workflow.