Microsoft.Extensions.DependencyInjection
Default implementation of dependency injection for Microsoft.Extensions.DependencyInjection.
Install
dotnet add package Microsoft.Extensions.DependencyInjection --version 2.1.0
Install-Package Microsoft.Extensions.DependencyInjection -Version 2.1.0
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="2.1.0" />
Frameworks
Dependencies
Adoption guide
Most ASP.NET Core and worker services that prioritize low ceremony and first-party integration.
No SPDX license expression is published. Review the license text and your organisation's policy before redistribution.
Compatibility metadata lists 3 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.