Microsoft.Extensions.DependencyInjection
5.0.2
Prefix Reserved
This package has been deprecated as part of the .NET Package Deprecation effort. You can learn more about it from https://github.com/dotnet/announcements/issues/217
See the version list below for details.
Requires NuGet 2.12 or higher.
dotnet add package Microsoft.Extensions.DependencyInjection --version 5.0.2
NuGet\Install-Package Microsoft.Extensions.DependencyInjection -Version 5.0.2
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="5.0.2" />
paket add Microsoft.Extensions.DependencyInjection --version 5.0.2
#r "nuget: Microsoft.Extensions.DependencyInjection, 5.0.2"
// Install Microsoft.Extensions.DependencyInjection as a Cake Addin #addin nuget:?package=Microsoft.Extensions.DependencyInjection&version=5.0.2 // Install Microsoft.Extensions.DependencyInjection as a Cake Tool #tool nuget:?package=Microsoft.Extensions.DependencyInjection&version=5.0.2
Default implementation of dependency injection for Microsoft.Extensions.DependencyInjection.
When using NuGet 3.x this package requires at least version 3.4.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 is compatible. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 is compatible. |
.NET Framework | net461 is compatible. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETCoreApp 2.1
- Microsoft.Bcl.AsyncInterfaces (>= 5.0.0)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 5.0.0)
-
.NETCoreApp 3.0
-
.NETFramework 4.6.1
- Microsoft.Bcl.AsyncInterfaces (>= 5.0.0)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 5.0.0)
- System.Threading.Tasks.Extensions (>= 4.5.4)
-
.NETStandard 2.0
- Microsoft.Bcl.AsyncInterfaces (>= 5.0.0)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 5.0.0)
- System.Threading.Tasks.Extensions (>= 4.5.4)
-
.NETStandard 2.1
-
net5.0
NuGet packages (9.0K)
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 |
|
Microsoft.Extensions.Hosting
Hosting and startup infrastructures for applications. |
|
Microsoft.AspNetCore.Hosting
ASP.NET Core hosting infrastructure and startup logic for web applications. |
|
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 |
GitHub repositories (941)
Showing the top 5 popular GitHub repositories that depend on Microsoft.Extensions.DependencyInjection:
Repository | Stars |
---|---|
microsoft/PowerToys
Windows system utilities to maximize productivity
|
|
jellyfin/jellyfin
The Free Software Media System - Server Backend & API
|
|
files-community/Files
A modern file manager that helps users organize their files and folders.
|
|
microsoft/semantic-kernel
Integrate cutting-edge LLM technology quickly and easily into your apps
|
|
dotnet/maui
.NET MAUI is the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop.
|
Version | Downloads | Last updated | |
---|---|---|---|
10.0.0-preview.2.25163.2 | 620 | 3/18/2025 | |
10.0.0-preview.1.25080.5 | 21,115 | 2/25/2025 | |
9.0.3 | 752,639 | 3/11/2025 | |
9.0.2 | 5,159,647 | 2/11/2025 | |
9.0.1 | 7,800,663 | 1/14/2025 | |
9.0.0 | 25,041,508 | 11/12/2024 | |
9.0.0-rc.2.24473.5 | 1,614,964 | 10/8/2024 | |
9.0.0-rc.1.24431.7 | 397,126 | 9/10/2024 | |
9.0.0-preview.7.24405.7 | 172,896 | 8/13/2024 | |
9.0.0-preview.6.24327.7 | 260,845 | 7/9/2024 | |
9.0.0-preview.5.24306.7 | 159,101 | 6/11/2024 | |
9.0.0-preview.4.24266.19 | 149,186 | 5/21/2024 | |
9.0.0-preview.3.24172.9 | 318,204 | 4/11/2024 | |
9.0.0-preview.2.24128.5 | 206,927 | 3/12/2024 | |
9.0.0-preview.1.24080.9 | 202,435 | 2/13/2024 | |
8.0.1 | 56,477,799 | 10/8/2024 | |
8.0.0 | 262,372,941 | 11/14/2023 | |
8.0.0-rc.2.23479.6 | 2,473,088 | 10/10/2023 | |
8.0.0-rc.1.23419.4 | 1,196,902 | 9/12/2023 | |
8.0.0-preview.7.23375.6 | 741,303 | 8/8/2023 | |
8.0.0-preview.6.23329.7 | 423,096 | 7/11/2023 | |
8.0.0-preview.5.23280.8 | 321,243 | 6/13/2023 | |
8.0.0-preview.4.23259.5 | 595,751 | 5/16/2023 | |
8.0.0-preview.3.23174.8 | 457,871 | 4/11/2023 | |
8.0.0-preview.2.23128.3 | 327,704 | 3/14/2023 | |
8.0.0-preview.1.23110.8 | 254,699 | 2/21/2023 | |
7.0.0 | 278,568,813 | 11/7/2022 | |
7.0.0-rc.2.22472.3 | 550,199 | 10/11/2022 | |
7.0.0-rc.1.22426.10 | 422,827 | 9/14/2022 | |
7.0.0-preview.7.22375.6 | 444,690 | 8/9/2022 | |
7.0.0-preview.6.22324.4 | 208,047 | 7/12/2022 | |
7.0.0-preview.5.22301.12 | 178,692 | 6/14/2022 | |
7.0.0-preview.4.22229.4 | 402,764 | 5/10/2022 | |
7.0.0-preview.3.22175.4 | 219,693 | 4/13/2022 | |
7.0.0-preview.2.22152.2 | 240,906 | 3/14/2022 | |
7.0.0-preview.1.22076.8 | 185,236 | 2/17/2022 | |
6.0.2 | 1,378,137 | 11/12/2024 | |
6.0.1 | 116,804,767 | 10/11/2022 | |
6.0.0 | 576,796,380 | 11/8/2021 | |
6.0.0-rc.2.21480.5 | 1,533,551 | 10/12/2021 | |
6.0.0-rc.1.21451.13 | 1,389,410 | 9/14/2021 | |
6.0.0-preview.7.21377.19 | 453,954 | 8/10/2021 | |
6.0.0-preview.6.21352.12 | 469,151 | 7/14/2021 | |
6.0.0-preview.5.21301.5 | 357,156 | 6/15/2021 | |
6.0.0-preview.4.21253.7 | 192,589 | 5/24/2021 | |
6.0.0-preview.3.21201.4 | 564,113 | 4/8/2021 | |
6.0.0-preview.2.21154.6 | 225,108 | 3/11/2021 | |
6.0.0-preview.1.21102.12 | 290,174 | 2/12/2021 | |
5.0.2 | 87,418,613 | 7/13/2021 | |
5.0.1 | 114,104,938 | 12/8/2020 | |
5.0.0 | 410,031,689 | 11/9/2020 | |
5.0.0-rc.2.20475.5 | 706,801 | 10/13/2020 | |
5.0.0-rc.1.20451.14 | 560,628 | 9/14/2020 | |
5.0.0-preview.8.20407.11 | 499,109 | 8/25/2020 | |
5.0.0-preview.7.20364.11 | 270,653 | 7/21/2020 | |
5.0.0-preview.6.20305.6 | 123,427 | 6/25/2020 | |
5.0.0-preview.5.20278.1 | 102,049 | 6/10/2020 | |
5.0.0-preview.4.20251.6 | 263,157 | 5/18/2020 | |
5.0.0-preview.3.20215.2 | 223,127 | 4/23/2020 | |
5.0.0-preview.2.20160.3 | 266,599 | 4/2/2020 | |
5.0.0-preview.1.20120.4 | 128,014 | 3/16/2020 | |
3.1.32 | 14,547,369 | 12/13/2022 | |
3.1.31 | 2,344,404 | 11/8/2022 | |
3.1.30 | 2,303,849 | 10/11/2022 | |
3.1.29 | 2,158,343 | 9/13/2022 | |
3.1.28 | 3,805,751 | 8/9/2022 | |
3.1.27 | 2,089,157 | 7/12/2022 | |
3.1.26 | 1,825,698 | 6/14/2022 | |
3.1.25 | 3,081,459 | 5/10/2022 | |
3.1.24 | 1,992,051 | 4/11/2022 | |
3.1.23 | 3,357,386 | 3/8/2022 | |
3.1.22 | 17,968,899 | 12/14/2021 | |
3.1.21 | 8,072,986 | 11/7/2021 | |
3.1.20 | 4,409,957 | 10/11/2021 | |
3.1.19 | 5,020,412 | 9/14/2021 | |
3.1.18 | 41,989,588 | 8/10/2021 | |
3.1.17 | 6,190,593 | 7/13/2021 | |
3.1.16 | 10,660,692 | 6/8/2021 | |
3.1.15 | 7,902,553 | 5/11/2021 | |
3.1.14 | 16,618,978 | 4/6/2021 | |
3.1.13 | 13,950,568 | 3/9/2021 | |
3.1.12 | 11,145,234 | 2/9/2021 | |
3.1.11 | 13,252,847 | 1/12/2021 | |
3.1.10 | 24,093,420 | 11/9/2020 | |
3.1.9 | 69,311,259 | 10/13/2020 | |
3.1.8 | 66,566,022 | 9/8/2020 | |
3.1.7 | 34,375,910 | 8/11/2020 | |
3.1.6 | 41,158,922 | 7/14/2020 | |
3.1.5 | 42,319,920 | 6/9/2020 | |
3.1.4 | 58,681,097 | 5/12/2020 | |
3.1.3 | 103,479,060 | 3/24/2020 | |
3.1.2 | 76,401,735 | 2/18/2020 | |
3.1.1 | 44,664,697 | 1/14/2020 | |
3.1.0 | 212,908,833 | 12/3/2019 | |
3.1.0-preview3.19553.2 | 2,170,288 | 11/13/2019 | |
3.1.0-preview2.19525.4 | 100,114 | 11/1/2019 | |
3.1.0-preview1.19506.1 | 1,364,742 | 10/15/2019 | |
3.0.3 | 72,801,718 | 2/18/2020 | |
3.0.2 | 1,056,980 | 1/14/2020 | |
3.0.1 | 5,187,286 | 11/18/2019 | |
3.0.0 | 109,493,125 | 9/23/2019 | |
3.0.0-rc1.19456.10 | 169,982 | 9/16/2019 | |
3.0.0-preview9.19423.4 | 1,679,953 | 9/4/2019 | |
3.0.0-preview8.19405.4 | 624,489 | 8/13/2019 | |
3.0.0-preview7.19362.4 | 200,322 | 7/23/2019 | |
3.0.0-preview6.19304.6 | 500,754 | 6/12/2019 | |
3.0.0-preview5.19227.9 | 846,419 | 5/6/2019 | |
3.0.0-preview4.19216.2 | 135,437 | 4/18/2019 | |
3.0.0-preview3.19153.1 | 401,305 | 3/6/2019 | |
3.0.0-preview.19074.2 | 206,631 | 1/29/2019 | |
3.0.0-preview.18572.1 | 72,502 | 12/4/2018 | |
2.2.0 | 436,312,614 | 12/3/2018 | |
2.2.0-preview3-35497 | 437,042 | 10/17/2018 | |
2.2.0-preview2-35157 | 325,824 | 9/12/2018 | |
2.2.0-preview1-35029 | 158,234 | 8/22/2018 | |
2.1.1 | 309,615,454 | 6/18/2018 | |
2.1.0 | 274,145,768 | 5/29/2018 | |
2.1.0-rc1-final | 520,245 | 5/6/2018 | |
2.1.0-preview2-final | 692,463 | 4/10/2018 | |
2.1.0-preview1-final | 631,900 | 2/26/2018 | |
2.0.0 | 203,063,715 | 8/11/2017 | |
2.0.0-preview2-final | 158,892 | 6/28/2017 | |
2.0.0-preview1-final | 1,239,481 | 5/10/2017 | |
1.1.1 | 16,664,619 | 5/9/2017 | |
1.1.0 | 38,984,074 | 11/16/2016 | |
1.1.0-preview1-final | 79,641 | 10/24/2016 | |
1.0.2 | 79,184,834 | 3/6/2017 | |
1.0.1 | 3,597,230 | 12/12/2016 | |
1.0.0 | 33,287,597 | 6/27/2016 | |
1.0.0-rc2-final | 1,874,569 | 5/16/2016 | |
1.0.0-rc1-final | 663,862 | 11/18/2015 |