DryIoc 5.1.0 The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org. Prefix Reserved

.NET Standard 2.0 .NET Framework 4.5

Requires NuGet 3.3.0 or higher.

Install-Package DryIoc -Version 5.1.0
dotnet add package DryIoc --version 5.1.0
<PackageReference Include="DryIoc" Version="5.1.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add DryIoc --version 5.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: DryIoc, 5.1.0"
#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 DryIoc as a Cake Addin
#addin nuget:?package=DryIoc&version=5.1.0

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

DryIoc is fast, small, full-featured IoC Container for .NET

Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows
.NET Core netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1
.NET Standard netstandard2.0 netstandard2.1
.NET Framework net45 net451 net452 net46 net461 net462 net463 net47 net471 net472 net48
MonoAndroid monoandroid
MonoMac monomac
MonoTouch monotouch
Tizen tizen40 tizen60
Xamarin.iOS xamarinios
Xamarin.Mac xamarinmac
Xamarin.TVOS xamarintvos
Xamarin.WatchOS xamarinwatchos
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (18)

Showing the top 5 NuGet packages that depend on DryIoc:

Package Downloads
DryIoc.MefAttributedModel The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

DryIoc.MefAttributedModel is DryIoc extension to support Microsoft Managed Extensibility Framework for DryIoc container

DryIoc.CommonServiceLocator The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

Implementation of CommonServiceLocator for DryIoc container, see rationale at https://github.com/unitycontainer/commonservicelocator

DryIoc.WebApi The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

DryIoc extension for ASP.NET WebAPI

DryIoc.Owin The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

DryIoc extension for OWIN

Abel.Core

Abel mobile framework is a Xamarin library to help build cross-platform mobile apps from Abel ERP software

GitHub repositories (3)

Showing the top 3 popular GitHub repositories that depend on DryIoc:

Repository Stars
jbogard/MediatR
Simple, unambitious mediator implementation in .NET
seesharper/LightInject
An ultra lightweight IoC container
CXWorld/CapFrameX
Frametime capture and analysis tool
Version Downloads Last updated
5.1.0 1,599 5/20/2022
5.0.2 1,382 5/10/2022
5.0.1 855 4/22/2022
5.0.0 745 4/13/2022
4.8.8 5,274 3/16/2022
4.8.7 2,820 2/27/2022
4.8.6 3,665 1/7/2022
4.8.5 1,851 12/30/2021
4.8.4 5,146 10/31/2021
4.8.3 2,224 10/20/2021
4.8.2 1,938 10/9/2021
4.8.1 20,076 7/3/2021
4.8.0 4,220 6/4/2021
4.7.8 3,908 5/27/2021
4.7.7 1,466 5/10/2021
4.7.6 5,772 4/21/2021
4.7.5 3,430 4/4/2021
4.7.4 4,159 2/26/2021
4.7.3 2,184 2/9/2021
4.7.2 24,634 1/16/2021
4.7.1 259 1/15/2021
4.7.0 974 1/5/2021
4.6.0 3,566 12/10/2020
4.5.2 713 12/3/2020
4.5.1 2,523 10/28/2020
4.5.0 3,757 10/12/2020
4.4.1 8,529 9/9/2020
4.4.0 456 9/4/2020
4.3.4 531 9/1/2020
4.3.3 612 8/27/2020
4.3.2 4,322 8/15/2020
4.3.1 1,562 8/7/2020
4.3.0 762 8/3/2020
4.2.5 1,054 7/20/2020
4.2.4 2,709 7/14/2020
4.2.3 834 7/4/2020
4.2.2 430 7/2/2020
4.2.1 1,564 6/8/2020
4.2.0 2,972 5/18/2020
4.1.4 5,069 4/3/2020
4.1.3 1,242 3/27/2020
4.1.2 2,059 3/12/2020
4.1.1 1,062 3/5/2020
4.1.0 4,491 1/20/2020
4.1.0-preview-04 424 1/5/2020
4.1.0-preview-03 528 10/3/2019
4.1.0-preview-02 557 8/25/2019
4.1.0-preview-01 6,410 8/21/2019
4.0.7 109,440 9/4/2019
4.0.6 1,012 8/29/2019
4.0.5 26,278 6/8/2019
4.0.5-preview-01 6,490 6/7/2019
4.0.4 12,352 5/1/2019
4.0.3 9,426 4/10/2019
4.0.2 7,532 3/30/2019
4.0.1 6,553 3/28/2019
4.0.0 10,695 3/4/2019
4.0.0-preview-02 6,503 2/22/2019
4.0.0-preview-01 12,508 12/1/2018
3.1.0-preview-07 6,851 11/20/2018
3.0.2 47,045 7/11/2018
3.0.1 7,190 7/7/2018
3.0.0 7,358 6/24/2018
3.0.0-preview-12 6,747 6/6/2018
3.0.0-preview-11 7,049 3/17/2018
3.0.0-preview-10 6,804 3/13/2018
3.0.0-preview-09 8,256 2/21/2018
3.0.0-preview-08 6,708 2/12/2018
3.0.0-preview-07 6,771 2/9/2018
3.0.0-preview-06 6,769 2/8/2018
3.0.0-preview-05 6,836 2/5/2018
3.0.0-preview-04 6,785 2/1/2018
3.0.0-preview-03 6,812 12/3/2017
3.0.0-preview-02 7,220 11/14/2017
3.0.0-preview-01 6,934 10/1/2017
2.12.10 28,050 4/11/2018
2.12.9 7,129 4/7/2018
2.12.8 8,023 3/13/2018
2.12.7 11,665 1/19/2018
2.12.6 8,731 12/21/2017
2.12.5 18,756 10/30/2017
2.12.4 28,685 10/17/2017
2.12.3 8,755 10/2/2017
2.12.2 7,534 9/17/2017
2.12.1 7,017 9/9/2017
2.12.0 8,275 9/1/2017
2.12.0-preview-01 6,714 8/29/2017
2.11.6 10,752 7/18/2017
2.11.5 6,969 7/12/2017
2.11.4 7,394 6/28/2017
2.11.3 11,250 6/1/2017
2.11.2 6,847 6/1/2017
2.11.1 7,001 5/31/2017
2.11.0 6,875 5/30/2017
2.11.0-preview-02 7,009 3/15/2017
2.11.0-preview-01 6,807 3/10/2017
2.10.7 11,908 5/3/2017
2.10.6 44,886 4/20/2017
2.10.5 7,299 4/4/2017
2.10.4 7,010 3/28/2017
2.10.3 7,010 3/25/2017
2.10.2 12,042 3/14/2017
2.10.1 35,173 2/18/2017
2.10.0 13,717 2/1/2017
2.9.7 8,480 1/12/2017
2.9.6 7,794 12/30/2016
2.9.5 6,938 12/26/2016
2.9.4 7,464 12/10/2016
2.9.3 7,006 12/8/2016
2.9.2 7,035 12/3/2016
2.9.1 8,410 11/19/2016
2.9.0 7,079 11/17/2016
2.8.5 7,744 11/2/2016
2.8.4 7,037 10/28/2016
2.8.3 21,962 10/20/2016
2.8.2 8,028 10/20/2016
2.8.1 6,898 10/19/2016
2.8.0 6,884 10/18/2016
2.8.0-preview-01 6,768 10/13/2016
2.7.1 8,290 9/1/2016
2.7.0 7,368 8/19/2016
2.6.4 8,725 7/29/2016
2.6.3 7,137 7/9/2016
2.6.2 9,879 6/13/2016
2.6.0 7,250 6/10/2016
2.5.1 8,349 6/7/2016
2.5.0 10,104 5/24/2016
2.4.3 7,505 5/7/2016
2.4.2 7,520 4/26/2016
2.4.1 7,023 4/16/2016
2.4.0 7,451 4/14/2016
2.3.0 7,963 3/30/2016
2.2.2 9,547 3/10/2016
2.2.1 7,041 3/8/2016
2.2.0 8,338 2/26/2016
2.1.3 10,372 1/17/2016
2.1.2 7,923 1/15/2016
2.1.1 7,396 1/4/2016
2.1.0 7,376 12/4/2015
2.0.2 7,316 12/1/2015
2.0.1 7,115 11/27/2015
2.0.0 80,629 11/19/2015
2.0.0-rc4build353 6,847 11/18/2015
2.0.0-rc4build352 6,864 11/17/2015
2.0.0-rc4build351 6,892 11/17/2015
2.0.0-rc4build350 6,855 11/17/2015
2.0.0-rc4build349 6,858 11/12/2015
2.0.0-rc4build348 6,829 11/12/2015
2.0.0-rc4build347 6,822 11/12/2015
2.0.0-rc4build346 6,792 11/12/2015
2.0.0-rc4build345 6,817 11/12/2015
2.0.0-rc4build344 6,823 11/7/2015
2.0.0-rc4build343 6,823 11/5/2015
2.0.0-rc4build342 6,864 11/1/2015
2.0.0-rc4build341 6,819 10/29/2015
2.0.0-rc4build340 6,812 11/12/2015
2.0.0-rc4build339 6,816 11/7/2015
2.0.0-rc4build338 6,803 11/5/2015
2.0.0-rc4build337 6,785 11/1/2015
2.0.0-rc4build336 6,804 10/29/2015
2.0.0-rc3build340 6,787 10/26/2015
2.0.0-rc3build339 6,821 10/26/2015
2.0.0-rc3build338 6,788 10/23/2015
2.0.0-rc3build337 6,824 10/20/2015
2.0.0-rc3build336 6,794 10/19/2015
2.0.0-rc3build335 6,833 10/12/2015
2.0.0-rc3build334 6,933 10/10/2015
2.0.0-rc3build333 7,119 10/6/2015
2.0.0-rc3build332 6,884 10/6/2015
2.0.0-rc3build331 6,895 10/1/2015
2.0.0-rc3build330 6,894 10/1/2015
2.0.0-rc3build329 6,897 9/30/2015
2.0.0-rc3build328 6,985 9/26/2015
2.0.0-rc3build327 6,892 9/25/2015
2.0.0-rc3build326 6,902 9/25/2015
2.0.0-rc3build325 6,873 9/25/2015
2.0.0-rc3build324 6,862 9/11/2015
2.0.0-rc3build323 6,861 9/11/2015
2.0.0-rc3build322 6,847 9/11/2015
2.0.0-rc3build321 6,827 9/11/2015
2.0.0-rc3build320 6,843 9/11/2015
2.0.0-rc3build319 6,850 9/8/2015
2.0.0-rc3build318 6,850 9/6/2015
2.0.0-rc3build317 6,848 9/3/2015
2.0.0-rc3build316 6,849 9/2/2015
2.0.0-rc3build315 6,833 8/31/2015
2.0.0-rc3build314 6,832 9/8/2015
2.0.0-rc3build313 6,819 8/29/2015
2.0.0-rc3build312 6,853 8/23/2015
2.0.0-rc3build311 6,835 8/21/2015
2.0.0-rc3build310 6,836 8/18/2015
2.0.0-rc3build309 6,996 8/12/2015
2.0.0-rc3build308 7,139 8/6/2015
2.0.0-rc3build307 6,853 8/23/2015
2.0.0-rc3build306 7,070 8/6/2015
2.0.0-rc3build304 7,038 8/4/2015
2.0.0-rc3build303 7,057 8/6/2015
2.0.0-rc3build302 7,091 8/3/2015
2.0.0-rc3build301 7,015 7/31/2015
2.0.0-rc3build300 7,141 7/28/2015
2.0.0-rc3build299 6,940 7/28/2015
2.0.0-rc3build298 6,926 7/28/2015
2.0.0-rc3build297 6,955 7/31/2015
2.0.0-rc3build296 6,927 7/28/2015
2.0.0-rc2build297 6,902 7/26/2015
2.0.0-rc2build296 6,896 7/26/2015
2.0.0-rc2build295 6,929 7/24/2015
2.0.0-rc2build294 6,913 7/24/2015
2.0.0-rc2build293 6,886 7/26/2015
2.0.0-rc2build292 7,026 7/21/2015
2.0.0-rc2build291 6,894 7/24/2015
2.0.0-rc2build289 7,010 7/21/2015
2.0.0-rc1build371 6,827 1/11/2016
2.0.0-rc1build366 6,816 1/11/2016
2.0.0-rc1build288 6,850 7/4/2015
2.0.0-rc1build287 6,799 6/19/2015
2.0.0-rc1build286 7,118 6/8/2015
2.0.0-rc1build285 6,822 6/4/2015
2.0.0-rc1build284 6,842 6/3/2015
2.0.0-rc1build283 6,935 6/1/2015
2.0.0-rc1build282 6,829 5/29/2015
2.0.0-rc1build281 6,809 5/27/2015
2.0.0-rc1build280 6,781 5/27/2015
2.0.0-rc1build279 6,811 5/21/2015
2.0.0-rc1build278 6,807 5/16/2015
2.0.0-rc1build277 6,806 5/15/2015
2.0.0-rc1build276 6,804 5/21/2015
2.0.0-rc1build275 6,771 5/16/2015
2.0.0-rc1build274 6,914 5/15/2015
2.0.0-rc1build273 6,837 5/15/2015
2.0.0-rc1build272 6,817 5/14/2015
2.0.0-rc1build271 6,835 5/14/2015
2.0.0-rc1build270 6,784 5/13/2015
2.0.0-rc1build269 6,815 5/14/2015
2.0.0-rc1build268 6,845 5/12/2015
2.0.0-rc1build267 6,810 5/10/2015
2.0.0-rc1build266 6,874 5/7/2015
2.0.0-rc1build265 6,812 5/6/2015
2.0.0-rc1build264 6,887 5/5/2015
2.0.0-rc1build263 6,960 5/1/2015
2.0.0-rc1build262 7,058 4/30/2015
2.0.0-rc1build261 7,061 4/29/2015
2.0.0-rc1build260 7,146 4/28/2015
2.0.0-rc1build259 6,935 4/21/2015
2.0.0-rc1build258 7,084 4/29/2015
2.0.0-rc1build255 6,959 4/21/2015
2.0.0-preview256 6,921 4/15/2015
2.0.0-preview255 6,914 4/14/2015
2.0.0-preview254 6,902 4/14/2015
2.0.0-preview253 6,895 4/13/2015
2.0.0-preview252 6,872 4/10/2015
2.0.0-preview251 6,885 4/7/2015
2.0.0-preview250 6,885 4/6/2015
2.0.0-preview249 7,086 4/6/2015
2.0.0-preview248 6,877 4/7/2015
2.0.0-preview247 6,887 4/6/2015
2.0.0-preview246 6,885 4/6/2015
2.0.0-preview245 6,882 4/3/2015
2.0.0-preview244 6,875 4/3/2015
2.0.0-preview243 6,887 4/3/2015
2.0.0-preview242 6,898 4/2/2015
2.0.0-preview241 6,844 3/31/2015
2.0.0-preview240 6,870 3/31/2015
2.0.0-preview239 6,908 3/30/2015
2.0.0-preview238 6,866 3/30/2015
2.0.0-preview237 6,839 3/29/2015
2.0.0-preview236 6,869 3/28/2015
2.0.0-preview235 6,873 3/27/2015
2.0.0-preview234 6,865 3/27/2015
2.0.0-preview233 6,868 3/26/2015
2.0.0-preview232 6,849 3/26/2015
2.0.0-preview231 6,886 3/25/2015
2.0.0-preview230 6,866 3/25/2015
2.0.0-preview229 6,880 3/25/2015
2.0.0-preview228 6,861 3/23/2015
2.0.0-preview227 6,872 3/23/2015
2.0.0-preview226 6,878 3/19/2015
2.0.0-preview225 6,850 3/18/2015
2.0.0-preview224 6,839 3/18/2015
2.0.0-preview223 6,860 3/18/2015
2.0.0-preview222 6,836 3/17/2015
2.0.0-preview221 6,855 3/15/2015
2.0.0-preview220 6,833 3/14/2015
2.0.0-preview219 6,829 3/13/2015
2.0.0-preview218 6,848 3/11/2015
2.0.0-preview217 6,856 3/10/2015
2.0.0-preview216 6,929 3/10/2015
2.0.0-preview215 6,869 3/10/2015
2.0.0-preview214 6,868 3/10/2015
2.0.0-preview213 6,805 3/9/2015
2.0.0-preview212 6,803 3/6/2015
2.0.0-preview211 6,886 3/4/2015
2.0.0-preview210 6,845 3/4/2015
2.0.0-preview209 7,134 3/4/2015
2.0.0-preview208 6,913 3/3/2015
2.0.0-preview207 7,045 3/3/2015
2.0.0-preview206 6,889 3/3/2015
2.0.0-preview205 7,238 3/2/2015
2.0.0-preview204 6,982 3/2/2015
2.0.0-preview203 7,476 2/26/2015
2.0.0-preview202 7,095 2/25/2015
2.0.0-preview201 6,880 2/20/2015
2.0.0-preview200 7,335 2/20/2015
2.0.0-preview199 6,907 2/20/2015
2.0.0-preview198 7,188 2/19/2015
2.0.0-preview197 7,164 2/19/2015
2.0.0-preview196 7,170 2/19/2015
2.0.0-preview195 7,187 2/19/2015
2.0.0-preview194 7,105 2/18/2015
2.0.0-preview193 7,100 2/18/2015
2.0.0-preview192 7,133 2/17/2015
2.0.0-preview191 7,112 2/17/2015
2.0.0-preview190 7,187 2/17/2015
2.0.0-preview189 6,874 2/12/2015
2.0.0-preview188 7,022 2/11/2015
2.0.0-preview187 7,093 2/11/2015
2.0.0-preview186 7,154 2/11/2015
2.0.0-preview185 6,974 2/10/2015
2.0.0-preview184 6,975 2/10/2015
2.0.0-preview183 6,981 2/10/2015
2.0.0-preview182 7,027 2/9/2015
2.0.0-preview181 6,889 2/2/2015
2.0.0-preview180 6,889 2/2/2015
2.0.0-preview179 6,875 1/31/2015
2.0.0-preview178 6,888 1/30/2015
2.0.0-preview177 6,883 1/29/2015
2.0.0-preview176 6,924 1/24/2015
2.0.0-preview175 6,872 1/24/2015
2.0.0-preview174 6,969 1/23/2015
2.0.0-preview173 6,929 1/18/2015
2.0.0-preview172 6,887 1/19/2015
2.0.0-preview171 6,926 1/16/2015
2.0.0-preview170 6,854 1/16/2015
2.0.0-preview169 6,880 1/16/2015
2.0.0-preview168 6,852 1/16/2015
2.0.0-preview167 6,923 1/16/2015
2.0.0-preview166 6,857 1/15/2015
2.0.0-preview165 6,926 1/15/2015
2.0.0-preview164 6,888 1/15/2015
2.0.0-preview163 6,913 1/15/2015
2.0.0-preview162 6,930 1/14/2015
2.0.0-preview161 6,872 1/14/2015
2.0.0-preview160 6,854 1/14/2015
2.0.0-preview159 6,879 1/14/2015
2.0.0-preview158 6,880 1/14/2015
2.0.0-preview157 6,865 1/14/2015
2.0.0-preview156 6,844 1/13/2015
2.0.0-preview155 6,859 1/13/2015
2.0.0-preview154 6,942 1/12/2015
2.0.0-preview153 6,867 1/12/2015
2.0.0-preview152 6,848 1/9/2015
2.0.0-preview151 6,852 1/9/2015
2.0.0-preview150 6,854 1/8/2015
2.0.0-preview148 6,863 1/8/2015
2.0.0-preview147 7,182 1/3/2015
2.0.0-preview146 6,902 1/3/2015
2.0.0-preview145 7,376 12/30/2014
2.0.0-preview144 7,294 12/29/2014
2.0.0-preview143 7,339 12/29/2014
2.0.0-preview142 7,305 12/23/2014
2.0.0-preview141 7,253 12/23/2014
2.0.0-preview140 7,273 12/23/2014
2.0.0-preview139 7,353 12/20/2014
2.0.0-preview138 7,233 12/20/2014
2.0.0-preview137 7,250 12/20/2014
2.0.0-preview136 7,233 12/20/2014
2.0.0-preview135 7,270 12/20/2014
2.0.0-preview133 7,245 12/18/2014
2.0.0-preview132 7,133 12/15/2014
2.0.0-preview131 7,094 12/14/2014
2.0.0-preview130 7,078 12/12/2014
2.0.0-preview129 7,112 12/12/2014
2.0.0-preview128 7,081 12/11/2014
2.0.0-preview127 7,107 12/10/2014
2.0.0-preview126 7,116 12/10/2014
2.0.0-preview125 7,102 12/8/2014
2.0.0-preview124 7,130 12/8/2014
2.0.0-preview123 7,106 12/7/2014
2.0.0-preview119 7,100 11/24/2014
2.0.0-preview118 7,052 11/21/2014
2.0.0-preview116 7,351 11/13/2014
2.0.0-preview115 7,136 11/6/2014
2.0.0-preview114 7,334 11/6/2014
2.0.0-preview113 7,129 11/5/2014
2.0.0-preview112 7,120 11/5/2014
2.0.0-preview110 7,356 11/5/2014
2.0.0-preview109 7,382 11/4/2014
2.0.0-preview108 7,215 10/31/2014
2.0.0-preview107 7,428 10/31/2014
2.0.0-preview105 7,512 10/31/2014
2.0.0-preview104 6,866 10/29/2014
2.0.0-preview103 6,877 10/27/2014
2.0.0-preview102 6,892 10/27/2014
2.0.0-preview101 6,897 10/24/2014
2.0.0-beta258 6,962 4/21/2015
2.0.0-beta254 7,004 4/20/2015
1.4.1 11,884 10/9/2014
1.4.0 7,443 9/10/2014
1.3.1 7,149 8/18/2014
1.3.0 7,353 7/16/2014
1.2.2 7,187 7/2/2014
1.2.1 7,053 6/30/2014
1.2.0 7,529 1/9/2014
1.1.1 7,046 12/26/2013
1.1.0 6,966 12/26/2013
1.0.11 7,689 12/24/2013

## v5.1.0 Small feature and bug-fix release

- fixed: #486 RegisterInstance in principle does not support non Singleton reuse but InstanceFactory still allows to pass different reuse
- added: #487 Create CreateChild overload exposing RegistrySharing and childKey arguments

## v5.0.2 Bug-fix release

- fixed: #180 Azure Function DI issue - Anonymously Hosted DynamicMethods Assembly. Object reference not set. (Nullable int optional argument with default int value is set to null)
- fixed: #475 Exception message for WaitForScopedServiceIsCreatedTimeoutExpired misses the tick number output

## v5.0.1 Bug-fix release

- fixed: #470 Regression in 5.0.0 when resolving `Func<IEnumerable<IService>>` with Parameter
- fixed: #471 Regression in 5.0 when using `Rules.SelectKeyedOverDefaultFactory`
- fixed: #472 Func with 4 and more arguments is broken in the Interpreter

## v5.0.0 Major feature release with the breaking changes

Main achievements:

- Performance speed-up and the less memory allocations (check README for the benchmarks)
- More consistent and full API (highlight is on the RegisterDelegate overloads)

Main breaking changes:

- Removing PCL and .NET 3.5, .NET 4.0 and .NET Standard 1.0 - 1.3 targets
- Moving ImTools and FastExpressionCompiler sources to the `DryIoc.ImTools` and `DryIoc.FastExpressionCompiler` namespaces
- Removing `UseInstance` in favour of `Use` and `RegisterInstance` methods

Main "until the next version":

- Improving compile-time capabilities from the current T4 bound solution