Microsoft.Extensions.DependencyInjection 2.0.0-preview1-final The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

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

This is a prerelease version of Microsoft.Extensions.DependencyInjection.
There is a newer version of this package available.
See the version list below for details.
Install-Package Microsoft.Extensions.DependencyInjection -Version 2.0.0-preview1-final
dotnet add package Microsoft.Extensions.DependencyInjection --version 2.0.0-preview1-final
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="2.0.0-preview1-final" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Microsoft.Extensions.DependencyInjection --version 2.0.0-preview1-final
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Microsoft.Extensions.DependencyInjection, 2.0.0-preview1-final"
#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=2.0.0-preview1-final&prerelease

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

NuGet packages (4.6K)

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.Extensions.Hosting
Hosting and startup infrastructures for applications.

GitHub repositories (486)

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

Repository Stars
jellyfin/jellyfin
The Free Software Media System
dotnet/maui
.NET MAUI is the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop.
dotnet/efcore
EF Core is a modern object-database mapper for .NET. It supports LINQ queries, change tracking, updates, and schema migrations.
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-rc.1.21451.13 12,266 9/14/2021
6.0.0-preview.7.21377.19 79,501 8/10/2021
6.0.0-preview.6.21352.12 66,098 7/14/2021
6.0.0-preview.5.21301.5 83,172 6/15/2021
6.0.0-preview.4.21253.7 76,476 5/24/2021
6.0.0-preview.3.21201.4 103,146 4/8/2021
6.0.0-preview.2.21154.6 70,033 3/11/2021
6.0.0-preview.1.21102.12 101,487 2/12/2021
5.0.2 3,730,699 7/13/2021
5.0.1 27,073,018 12/8/2020
5.0.0 34,482,104 11/9/2020
5.0.0-rc.2.20475.5 382,441 10/13/2020
5.0.0-rc.1.20451.14 375,561 9/14/2020
5.0.0-preview.8.20407.11 189,587 8/25/2020
5.0.0-preview.7.20364.11 166,375 7/21/2020
5.0.0-preview.6.20305.6 81,547 6/25/2020
5.0.0-preview.5.20278.1 74,421 6/10/2020
5.0.0-preview.4.20251.6 225,200 5/18/2020
5.0.0-preview.3.20215.2 151,282 4/23/2020
5.0.0-preview.2.20160.3 146,792 4/2/2020
5.0.0-preview.1.20120.4 90,597 3/16/2020
3.1.19 24,280 9/14/2021
3.1.18 444,887 8/10/2021
3.1.17 642,218 7/13/2021
3.1.16 1,213,934 6/8/2021
3.1.15 1,412,781 5/11/2021
3.1.14 2,227,562 4/6/2021
3.1.13 2,825,837 3/9/2021
3.1.12 2,932,210 2/9/2021
3.1.11 3,793,187 1/12/2021
3.1.10 8,099,511 11/9/2020
3.1.9 12,312,581 10/13/2020
3.1.8 19,255,593 9/8/2020
3.1.7 12,354,307 8/11/2020
3.1.6 13,717,722 7/14/2020
3.1.5 17,296,669 6/9/2020
3.1.4 17,065,614 5/12/2020
3.1.3 26,708,494 3/24/2020
3.1.2 32,106,324 2/18/2020
3.1.1 18,792,490 1/14/2020
3.1.0 47,055,244 12/3/2019
3.1.0-preview3.19553.2 526,976 11/13/2019
3.1.0-preview2.19525.4 72,373 11/1/2019
3.1.0-preview1.19506.1 697,482 10/15/2019
3.0.3 4,054,516 2/18/2020
3.0.2 888,070 1/14/2020
3.0.1 2,968,884 11/18/2019
3.0.0 38,221,251 9/23/2019
3.0.0-rc1.19456.10 97,983 9/16/2019
3.0.0-preview9.19423.4 964,831 9/4/2019
3.0.0-preview8.19405.4 278,490 8/13/2019
3.0.0-preview7.19362.4 152,107 7/23/2019
3.0.0-preview6.19304.6 284,219 6/12/2019
3.0.0-preview5.19227.9 290,521 5/6/2019
3.0.0-preview4.19216.2 81,263 4/18/2019
3.0.0-preview3.19153.1 256,234 3/6/2019
3.0.0-preview.19074.2 97,234 1/29/2019
3.0.0-preview.18572.1 55,412 12/4/2018
2.2.0 81,862,787 12/3/2018
2.2.0-preview3-35497 314,053 10/17/2018
2.2.0-preview2-35157 196,625 9/12/2018
2.2.0-preview1-35029 98,234 8/22/2018
2.1.1 51,054,705 6/18/2018
2.1.0 63,134,390 5/29/2018
2.1.0-rc1-final 266,474 5/6/2018
2.1.0-preview2-final 263,944 4/10/2018
2.1.0-preview1-final 385,683 2/26/2018
2.0.0 83,893,787 8/11/2017
2.0.0-preview2-final 90,352 6/28/2017
2.0.0-preview1-final 963,589 5/10/2017
1.1.1 10,175,042 5/9/2017
1.1.0 16,581,014 11/16/2016
1.1.0-preview1-final 48,789 10/24/2016
1.0.2 54,214,551 3/6/2017
1.0.1 3,389,978 12/12/2016
1.0.0 16,907,020 6/27/2016
1.0.0-rc2-final 1,776,194 5/16/2016
1.0.0-rc1-final 629,738 11/18/2015
Show less