Microsoft.Extensions.DependencyInjection 5.0.1

Default implementation of dependency injection for Microsoft.Extensions.DependencyInjection.
When using NuGet 3.x this package requires at least version 3.4.

There is a newer prerelease version of this package available.
See the version list below for details.

Requires NuGet 2.12 or higher.

Install-Package Microsoft.Extensions.DependencyInjection -Version 5.0.1
dotnet add package Microsoft.Extensions.DependencyInjection --version 5.0.1
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="5.0.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Microsoft.Extensions.DependencyInjection --version 5.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Microsoft.Extensions.DependencyInjection, 5.0.1"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install Microsoft.Extensions.DependencyInjection as a Cake Addin
#addin nuget:?package=Microsoft.Extensions.DependencyInjection&version=5.0.1

// Install Microsoft.Extensions.DependencyInjection as a Cake Tool
#tool nuget:?package=Microsoft.Extensions.DependencyInjection&version=5.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

https://go.microsoft.com/fwlink/?LinkID=799421

NuGet packages (4.2K)

Showing the top 5 NuGet packages that depend on Microsoft.Extensions.DependencyInjection:

Package Downloads
Microsoft.Extensions.Logging
Logging infrastructure default implementation for Microsoft.Extensions.Logging.
Microsoft.AspNetCore.Mvc.Core
ASP.NET Core MVC core components. Contains common action result types, attribute routing, application model conventions, API explorer, application parts, filters, formatters, model binding, and more. Commonly used types: Microsoft.AspNetCore.Mvc.AreaAttribute Microsoft.AspNetCore.Mvc.BindAttribute Microsoft.AspNetCore.Mvc.ControllerBase Microsoft.AspNetCore.Mvc.FromBodyAttribute Microsoft.AspNetCore.Mvc.FromFormAttribute Microsoft.AspNetCore.Mvc.RequireHttpsAttribute Microsoft.AspNetCore.Mvc.RouteAttribute This package was built from the source code at https://github.com/aspnet/AspNetCore/tree/33c2d01092d9a1b7a583fe99a50b15686e2b7de9
Microsoft.EntityFrameworkCore
Entity Framework Core is a modern object-database mapper for .NET. It supports LINQ queries, change tracking, updates, and schema migrations. EF Core works with SQL Server, Azure SQL Database, SQLite, Azure Cosmos DB, MySQL, PostgreSQL, and other databases through a provider plugin API. Commonly Used Types: Microsoft.EntityFrameworkCore.DbContext Microsoft.EntityFrameworkCore.DbSet
Microsoft.AspNetCore.Hosting
ASP.NET Core hosting infrastructure and startup logic for web applications. This package was built from the source code at https://github.com/aspnet/AspNetCore/tree/be0a4a7f4cf06cbd6ec714bd1d9afee6bdb040a8
Microsoft.AspNetCore.Mvc.Localization
ASP.NET Core MVC features that enable globalization and localization of applications. Commonly used types: Microsoft.AspNetCore.Mvc.Localization.IHtmlLocalizer<TResource> Microsoft.AspNetCore.Mvc.Localization.IViewLocalizer This package was built from the source code at https://github.com/aspnet/Mvc/tree/a6199bbfbab05583f987bae322fb04566841aaea

GitHub repositories (456)

Showing the top 5 popular GitHub repositories that depend on Microsoft.Extensions.DependencyInjection:

Repository Stars
jellyfin/jellyfin
The Free Software Media System
dotnet/efcore
EF Core is a modern object-database mapper for .NET. It supports LINQ queries, change tracking, updates, and schema migrations.
dotnet/maui
.NET MAUI is the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop.
dotnet/AspNetCore.Docs
Documentation for ASP.NET Core
dotnet/orleans
Orleans is a cross-platform framework for building distributed applications with .NET

Version History

Version Downloads Last updated
6.0.0-preview.3.21201.4 25,558 4/8/2021
6.0.0-preview.2.21154.6 31,700 3/11/2021
6.0.0-preview.1.21102.12 49,485 2/12/2021
5.0.1 10,319,461 12/8/2020
5.0.0 13,724,434 11/9/2020
5.0.0-rc.2.20475.5 299,280 10/13/2020
5.0.0-rc.1.20451.14 312,571 9/14/2020
5.0.0-preview.8.20407.11 137,992 8/25/2020
5.0.0-preview.7.20364.11 141,715 7/21/2020
5.0.0-preview.6.20305.6 72,777 6/25/2020
5.0.0-preview.5.20278.1 60,680 6/10/2020
5.0.0-preview.4.20251.6 216,844 5/18/2020
5.0.0-preview.3.20215.2 137,928 4/23/2020
5.0.0-preview.2.20160.3 126,062 4/2/2020
5.0.0-preview.1.20120.4 81,959 3/16/2020
3.1.14 384,947 4/6/2021
3.1.13 889,890 3/9/2021
3.1.12 1,333,383 2/9/2021
3.1.11 1,873,350 1/12/2021
3.1.10 5,101,868 11/9/2020
3.1.9 8,238,307 10/13/2020
3.1.8 12,328,956 9/8/2020
3.1.7 9,150,876 8/11/2020
3.1.6 10,432,907 7/14/2020
3.1.5 13,503,854 6/9/2020
3.1.4 13,307,030 5/12/2020
3.1.3 21,330,704 3/24/2020
3.1.2 24,731,619 2/18/2020
3.1.1 15,572,562 1/14/2020
3.1.0 36,402,624 12/3/2019
3.1.0-preview3.19553.2 404,789 11/13/2019
3.1.0-preview2.19525.4 69,046 11/1/2019
3.1.0-preview1.19506.1 575,365 10/15/2019
3.0.3 2,028,894 2/18/2020
3.0.2 861,662 1/14/2020
3.0.1 2,630,850 11/18/2019
3.0.0 30,583,614 9/23/2019
3.0.0-rc1.19456.10 92,705 9/16/2019
3.0.0-preview9.19423.4 845,286 9/4/2019
3.0.0-preview8.19405.4 259,669 8/13/2019
3.0.0-preview7.19362.4 143,165 7/23/2019
3.0.0-preview6.19304.6 260,924 6/12/2019
3.0.0-preview5.19227.9 264,309 5/6/2019
3.0.0-preview4.19216.2 73,398 4/18/2019
3.0.0-preview3.19153.1 233,656 3/6/2019
3.0.0-preview.19074.2 87,989 1/29/2019
3.0.0-preview.18572.1 52,880 12/4/2018
2.2.0 61,294,268 12/3/2018
2.2.0-preview3-35497 298,052 10/17/2018
2.2.0-preview2-35157 185,603 9/12/2018
2.2.0-preview1-35029 94,581 8/22/2018
2.1.1 40,247,345 6/18/2018
2.1.0 50,495,357 5/29/2018
2.1.0-rc1-final 238,895 5/6/2018
2.1.0-preview2-final 212,309 4/10/2018
2.1.0-preview1-final 359,046 2/26/2018
2.0.0 72,753,095 8/11/2017
2.0.0-preview2-final 86,253 6/28/2017
2.0.0-preview1-final 928,629 5/10/2017
1.1.1 9,491,684 5/9/2017
1.1.0 14,930,956 11/16/2016
1.1.0-preview1-final 47,475 10/24/2016
1.0.2 49,825,085 3/6/2017
1.0.1 3,364,760 12/12/2016
1.0.0 15,607,493 6/27/2016
1.0.0-rc2-final 1,768,331 5/16/2016
1.0.0-rc1-final 624,680 11/18/2015