DryIoc 5.1.0

.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

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

DryIoc.CommonServiceLocator

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

DryIoc.WebApi

DryIoc extension for ASP.NET WebAPI

DryIoc.Owin

DryIoc extension for OWIN

DryIoc.Web

DryIoc extension for ASP.NET providing Web Request Reuse

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 279 5/20/2022
5.0.2 724 5/10/2022
5.0.1 769 4/22/2022
5.0.0 584 4/13/2022
4.8.8 3,020 3/16/2022
4.8.7 2,060 2/27/2022
4.8.6 2,984 1/7/2022
4.8.5 1,490 12/30/2021
4.8.4 4,621 10/31/2021
4.8.3 1,898 10/20/2021
4.8.2 1,925 10/9/2021
4.8.1 15,312 7/3/2021
4.8.0 3,643 6/4/2021
4.7.8 3,834 5/27/2021
4.7.7 1,329 5/10/2021
4.7.6 5,671 4/21/2021
4.7.5 2,888 4/4/2021
4.7.4 3,961 2/26/2021
4.7.3 2,144 2/9/2021
4.7.2 24,614 1/16/2021
4.7.1 242 1/15/2021
4.7.0 951 1/5/2021
4.6.0 3,542 12/10/2020
4.5.2 681 12/3/2020
4.5.1 2,479 10/28/2020
4.5.0 3,715 10/12/2020
4.4.1 8,484 9/9/2020
4.4.0 436 9/4/2020
4.3.4 512 9/1/2020
4.3.3 585 8/27/2020
4.3.2 4,090 8/15/2020
4.3.1 1,543 8/7/2020
4.3.0 734 8/3/2020
4.2.5 1,026 7/20/2020
4.2.4 2,690 7/14/2020
4.2.3 815 7/4/2020
4.2.2 417 7/2/2020
4.2.1 1,531 6/8/2020
4.2.0 2,956 5/18/2020
4.1.4 4,969 4/3/2020
4.1.3 1,223 3/27/2020
4.1.2 2,038 3/12/2020
4.1.1 1,044 3/5/2020
4.1.0 4,439 1/20/2020
4.1.0-preview-04 405 1/5/2020
4.1.0-preview-03 515 10/3/2019
4.1.0-preview-02 539 8/25/2019
4.1.0-preview-01 6,393 8/21/2019
4.0.7 96,666 9/4/2019
4.0.6 984 8/29/2019
4.0.5 25,916 6/8/2019
4.0.5-preview-01 6,472 6/7/2019
4.0.4 12,302 5/1/2019
4.0.3 9,359 4/10/2019
4.0.2 7,490 3/30/2019
4.0.1 6,531 3/28/2019
4.0.0 10,523 3/4/2019
4.0.0-preview-02 6,483 2/22/2019
4.0.0-preview-01 12,485 12/1/2018
3.1.0-preview-07 6,834 11/20/2018
3.0.2 46,466 7/11/2018
3.0.1 7,145 7/7/2018
3.0.0 7,324 6/24/2018
3.0.0-preview-12 6,716 6/6/2018
3.0.0-preview-11 7,009 3/17/2018
3.0.0-preview-10 6,763 3/13/2018
3.0.0-preview-09 8,222 2/21/2018
3.0.0-preview-08 6,675 2/12/2018
3.0.0-preview-07 6,734 2/9/2018
3.0.0-preview-06 6,736 2/8/2018
3.0.0-preview-05 6,798 2/5/2018
3.0.0-preview-04 6,742 2/1/2018
3.0.0-preview-03 6,779 12/3/2017
3.0.0-preview-02 7,192 11/14/2017
3.0.0-preview-01 6,902 10/1/2017
2.12.10 27,675 4/11/2018
2.12.9 7,089 4/7/2018
2.12.8 7,975 3/13/2018
2.12.7 11,530 1/19/2018
2.12.6 8,654 12/21/2017
2.12.5 18,548 10/30/2017
2.12.4 28,231 10/17/2017
2.12.3 8,719 10/2/2017
2.12.2 7,502 9/17/2017
2.12.1 6,975 9/9/2017
2.12.0 8,223 9/1/2017
2.12.0-preview-01 6,684 8/29/2017
2.11.6 10,709 7/18/2017
2.11.5 6,932 7/12/2017
2.11.4 7,359 6/28/2017
2.11.3 11,188 6/1/2017
2.11.2 6,801 6/1/2017
2.11.1 6,957 5/31/2017
2.11.0 6,837 5/30/2017
2.11.0-preview-02 6,978 3/15/2017
2.11.0-preview-01 6,779 3/10/2017
2.10.7 11,801 5/3/2017
2.10.6 44,837 4/20/2017
2.10.5 7,261 4/4/2017
2.10.4 6,971 3/28/2017
2.10.3 6,975 3/25/2017
2.10.2 11,949 3/14/2017
2.10.1 34,957 2/18/2017
2.10.0 13,626 2/1/2017
2.9.7 8,437 1/12/2017
2.9.6 7,682 12/30/2016
2.9.5 6,908 12/26/2016
2.9.4 7,420 12/10/2016
2.9.3 6,971 12/8/2016
2.9.2 7,001 12/3/2016
2.9.1 8,372 11/19/2016
2.9.0 7,046 11/17/2016
2.8.5 7,703 11/2/2016
2.8.4 7,009 10/28/2016
2.8.3 21,551 10/20/2016
2.8.2 7,957 10/20/2016
2.8.1 6,866 10/19/2016
2.8.0 6,845 10/18/2016
2.8.0-preview-01 6,742 10/13/2016
2.7.1 8,245 9/1/2016
2.7.0 7,328 8/19/2016
2.6.4 8,653 7/29/2016
2.6.3 7,109 7/9/2016
2.6.2 9,840 6/13/2016
2.6.0 7,215 6/10/2016
2.5.1 8,288 6/7/2016
2.5.0 10,005 5/24/2016
2.4.3 7,466 5/7/2016
2.4.2 7,480 4/26/2016
2.4.1 6,997 4/16/2016
2.4.0 7,401 4/14/2016
2.3.0 7,928 3/30/2016
2.2.2 9,499 3/10/2016
2.2.1 6,999 3/8/2016
2.2.0 8,306 2/26/2016
2.1.3 10,256 1/17/2016
2.1.2 7,883 1/15/2016
2.1.1 7,357 1/4/2016
2.1.0 7,341 12/4/2015
2.0.2 7,266 12/1/2015
2.0.1 7,077 11/27/2015
2.0.0 80,385 11/19/2015
2.0.0-rc4build353 6,818 11/18/2015
2.0.0-rc4build352 6,838 11/17/2015
2.0.0-rc4build351 6,859 11/17/2015
2.0.0-rc4build350 6,824 11/17/2015
2.0.0-rc4build349 6,826 11/12/2015
2.0.0-rc4build348 6,800 11/12/2015
2.0.0-rc4build347 6,792 11/12/2015
2.0.0-rc4build346 6,765 11/12/2015
2.0.0-rc4build345 6,788 11/12/2015
2.0.0-rc4build344 6,795 11/7/2015
2.0.0-rc4build343 6,791 11/5/2015
2.0.0-rc4build342 6,836 11/1/2015
2.0.0-rc4build341 6,792 10/29/2015
2.0.0-rc4build340 6,785 11/12/2015
2.0.0-rc4build339 6,788 11/7/2015
2.0.0-rc4build338 6,775 11/5/2015
2.0.0-rc4build337 6,756 11/1/2015
2.0.0-rc4build336 6,775 10/29/2015
2.0.0-rc3build340 6,755 10/26/2015
2.0.0-rc3build339 6,794 10/26/2015
2.0.0-rc3build338 6,758 10/23/2015
2.0.0-rc3build337 6,793 10/20/2015
2.0.0-rc3build336 6,768 10/19/2015
2.0.0-rc3build335 6,806 10/12/2015
2.0.0-rc3build334 6,903 10/10/2015
2.0.0-rc3build333 7,093 10/6/2015
2.0.0-rc3build332 6,856 10/6/2015
2.0.0-rc3build331 6,870 10/1/2015
2.0.0-rc3build330 6,868 10/1/2015
2.0.0-rc3build329 6,867 9/30/2015
2.0.0-rc3build328 6,956 9/26/2015
2.0.0-rc3build327 6,865 9/25/2015
2.0.0-rc3build326 6,872 9/25/2015
2.0.0-rc3build325 6,844 9/25/2015
2.0.0-rc3build324 6,833 9/11/2015
2.0.0-rc3build323 6,832 9/11/2015
2.0.0-rc3build322 6,820 9/11/2015
2.0.0-rc3build321 6,797 9/11/2015
2.0.0-rc3build320 6,812 9/11/2015
2.0.0-rc3build319 6,819 9/8/2015
2.0.0-rc3build318 6,820 9/6/2015
2.0.0-rc3build317 6,818 9/3/2015
2.0.0-rc3build316 6,820 9/2/2015
2.0.0-rc3build315 6,799 8/31/2015
2.0.0-rc3build314 6,800 9/8/2015
2.0.0-rc3build313 6,791 8/29/2015
2.0.0-rc3build312 6,821 8/23/2015
2.0.0-rc3build311 6,805 8/21/2015
2.0.0-rc3build310 6,807 8/18/2015
2.0.0-rc3build309 6,968 8/12/2015
2.0.0-rc3build308 7,110 8/6/2015
2.0.0-rc3build307 6,827 8/23/2015
2.0.0-rc3build306 7,043 8/6/2015
2.0.0-rc3build304 7,007 8/4/2015
2.0.0-rc3build303 7,029 8/6/2015
2.0.0-rc3build302 7,058 8/3/2015
2.0.0-rc3build301 6,988 7/31/2015
2.0.0-rc3build300 7,109 7/28/2015
2.0.0-rc3build299 6,910 7/28/2015
2.0.0-rc3build298 6,895 7/28/2015
2.0.0-rc3build297 6,920 7/31/2015
2.0.0-rc3build296 6,900 7/28/2015
2.0.0-rc2build297 6,874 7/26/2015
2.0.0-rc2build296 6,865 7/26/2015
2.0.0-rc2build295 6,897 7/24/2015
2.0.0-rc2build294 6,885 7/24/2015
2.0.0-rc2build293 6,858 7/26/2015
2.0.0-rc2build292 6,994 7/21/2015
2.0.0-rc2build291 6,859 7/24/2015
2.0.0-rc2build289 6,972 7/21/2015
2.0.0-rc1build371 6,800 1/11/2016
2.0.0-rc1build366 6,790 1/11/2016
2.0.0-rc1build288 6,822 7/4/2015
2.0.0-rc1build287 6,771 6/19/2015
2.0.0-rc1build286 7,086 6/8/2015
2.0.0-rc1build285 6,792 6/4/2015
2.0.0-rc1build284 6,809 6/3/2015
2.0.0-rc1build283 6,903 6/1/2015
2.0.0-rc1build282 6,796 5/29/2015
2.0.0-rc1build281 6,783 5/27/2015
2.0.0-rc1build280 6,752 5/27/2015
2.0.0-rc1build279 6,779 5/21/2015
2.0.0-rc1build278 6,778 5/16/2015
2.0.0-rc1build277 6,777 5/15/2015
2.0.0-rc1build276 6,772 5/21/2015
2.0.0-rc1build275 6,739 5/16/2015
2.0.0-rc1build274 6,879 5/15/2015
2.0.0-rc1build273 6,809 5/15/2015
2.0.0-rc1build272 6,789 5/14/2015
2.0.0-rc1build271 6,809 5/14/2015
2.0.0-rc1build270 6,756 5/13/2015
2.0.0-rc1build269 6,787 5/14/2015
2.0.0-rc1build268 6,819 5/12/2015
2.0.0-rc1build267 6,781 5/10/2015
2.0.0-rc1build266 6,847 5/7/2015
2.0.0-rc1build265 6,784 5/6/2015
2.0.0-rc1build264 6,861 5/5/2015
2.0.0-rc1build263 6,932 5/1/2015
2.0.0-rc1build262 7,026 4/30/2015
2.0.0-rc1build261 7,026 4/29/2015
2.0.0-rc1build260 7,116 4/28/2015
2.0.0-rc1build259 6,905 4/21/2015
2.0.0-rc1build258 7,057 4/29/2015
2.0.0-rc1build255 6,929 4/21/2015
2.0.0-preview256 6,893 4/15/2015
2.0.0-preview255 6,888 4/14/2015
2.0.0-preview254 6,875 4/14/2015
2.0.0-preview253 6,868 4/13/2015
2.0.0-preview252 6,845 4/10/2015
2.0.0-preview251 6,853 4/7/2015
2.0.0-preview250 6,859 4/6/2015
2.0.0-preview249 7,055 4/6/2015
2.0.0-preview248 6,846 4/7/2015
2.0.0-preview247 6,853 4/6/2015
2.0.0-preview246 6,853 4/6/2015
2.0.0-preview245 6,855 4/3/2015
2.0.0-preview244 6,844 4/3/2015
2.0.0-preview243 6,857 4/3/2015
2.0.0-preview242 6,870 4/2/2015
2.0.0-preview241 6,816 3/31/2015
2.0.0-preview240 6,837 3/31/2015
2.0.0-preview239 6,886 3/30/2015
2.0.0-preview238 6,834 3/30/2015
2.0.0-preview237 6,807 3/29/2015
2.0.0-preview236 6,838 3/28/2015
2.0.0-preview235 6,843 3/27/2015
2.0.0-preview234 6,836 3/27/2015
2.0.0-preview233 6,835 3/26/2015
2.0.0-preview232 6,818 3/26/2015
2.0.0-preview231 6,858 3/25/2015
2.0.0-preview230 6,837 3/25/2015
2.0.0-preview229 6,847 3/25/2015
2.0.0-preview228 6,833 3/23/2015
2.0.0-preview227 6,844 3/23/2015
2.0.0-preview226 6,852 3/19/2015
2.0.0-preview225 6,822 3/18/2015
2.0.0-preview224 6,810 3/18/2015
2.0.0-preview223 6,829 3/18/2015
2.0.0-preview222 6,807 3/17/2015
2.0.0-preview221 6,827 3/15/2015
2.0.0-preview220 6,804 3/14/2015
2.0.0-preview219 6,801 3/13/2015
2.0.0-preview218 6,818 3/11/2015
2.0.0-preview217 6,832 3/10/2015
2.0.0-preview216 6,898 3/10/2015
2.0.0-preview215 6,837 3/10/2015
2.0.0-preview214 6,843 3/10/2015
2.0.0-preview213 6,780 3/9/2015
2.0.0-preview212 6,774 3/6/2015
2.0.0-preview211 6,857 3/4/2015
2.0.0-preview210 6,815 3/4/2015
2.0.0-preview209 7,105 3/4/2015
2.0.0-preview208 6,886 3/3/2015
2.0.0-preview207 7,021 3/3/2015
2.0.0-preview206 6,860 3/3/2015
2.0.0-preview205 7,205 3/2/2015
2.0.0-preview204 6,950 3/2/2015
2.0.0-preview203 7,445 2/26/2015
2.0.0-preview202 7,062 2/25/2015
2.0.0-preview201 6,855 2/20/2015
2.0.0-preview200 7,307 2/20/2015
2.0.0-preview199 6,877 2/20/2015
2.0.0-preview198 7,162 2/19/2015
2.0.0-preview197 7,135 2/19/2015
2.0.0-preview196 7,143 2/19/2015
2.0.0-preview195 7,155 2/19/2015
2.0.0-preview194 7,077 2/18/2015
2.0.0-preview193 7,076 2/18/2015
2.0.0-preview192 7,101 2/17/2015
2.0.0-preview191 7,084 2/17/2015
2.0.0-preview190 7,160 2/17/2015
2.0.0-preview189 6,848 2/12/2015
2.0.0-preview188 6,993 2/11/2015
2.0.0-preview187 7,060 2/11/2015
2.0.0-preview186 7,124 2/11/2015
2.0.0-preview185 6,942 2/10/2015
2.0.0-preview184 6,948 2/10/2015
2.0.0-preview183 6,953 2/10/2015
2.0.0-preview182 7,000 2/9/2015
2.0.0-preview181 6,861 2/2/2015
2.0.0-preview180 6,861 2/2/2015
2.0.0-preview179 6,847 1/31/2015
2.0.0-preview178 6,855 1/30/2015
2.0.0-preview177 6,854 1/29/2015
2.0.0-preview176 6,896 1/24/2015
2.0.0-preview175 6,840 1/24/2015
2.0.0-preview174 6,940 1/23/2015
2.0.0-preview173 6,900 1/18/2015
2.0.0-preview172 6,858 1/19/2015
2.0.0-preview171 6,898 1/16/2015
2.0.0-preview170 6,826 1/16/2015
2.0.0-preview169 6,848 1/16/2015
2.0.0-preview168 6,823 1/16/2015
2.0.0-preview167 6,893 1/16/2015
2.0.0-preview166 6,829 1/15/2015
2.0.0-preview165 6,899 1/15/2015
2.0.0-preview164 6,856 1/15/2015
2.0.0-preview163 6,888 1/15/2015
2.0.0-preview162 6,901 1/14/2015
2.0.0-preview161 6,845 1/14/2015
2.0.0-preview160 6,825 1/14/2015
2.0.0-preview159 6,852 1/14/2015
2.0.0-preview158 6,849 1/14/2015
2.0.0-preview157 6,838 1/14/2015
2.0.0-preview156 6,812 1/13/2015
2.0.0-preview155 6,830 1/13/2015
2.0.0-preview154 6,915 1/12/2015
2.0.0-preview153 6,838 1/12/2015
2.0.0-preview152 6,822 1/9/2015
2.0.0-preview151 6,820 1/9/2015
2.0.0-preview150 6,825 1/8/2015
2.0.0-preview148 6,836 1/8/2015
2.0.0-preview147 7,152 1/3/2015
2.0.0-preview146 6,874 1/3/2015
2.0.0-preview145 7,344 12/30/2014
2.0.0-preview144 7,265 12/29/2014
2.0.0-preview143 7,314 12/29/2014
2.0.0-preview142 7,276 12/23/2014
2.0.0-preview141 7,223 12/23/2014
2.0.0-preview140 7,243 12/23/2014
2.0.0-preview139 7,323 12/20/2014
2.0.0-preview138 7,199 12/20/2014
2.0.0-preview137 7,221 12/20/2014
2.0.0-preview136 7,202 12/20/2014
2.0.0-preview135 7,241 12/20/2014
2.0.0-preview133 7,213 12/18/2014
2.0.0-preview132 7,107 12/15/2014
2.0.0-preview131 7,065 12/14/2014
2.0.0-preview130 7,050 12/12/2014
2.0.0-preview129 7,084 12/12/2014
2.0.0-preview128 7,047 12/11/2014
2.0.0-preview127 7,082 12/10/2014
2.0.0-preview126 7,090 12/10/2014
2.0.0-preview125 7,072 12/8/2014
2.0.0-preview124 7,100 12/8/2014
2.0.0-preview123 7,074 12/7/2014
2.0.0-preview119 7,071 11/24/2014
2.0.0-preview118 7,026 11/21/2014
2.0.0-preview116 7,327 11/13/2014
2.0.0-preview115 7,109 11/6/2014
2.0.0-preview114 7,301 11/6/2014
2.0.0-preview113 7,101 11/5/2014
2.0.0-preview112 7,090 11/5/2014
2.0.0-preview110 7,325 11/5/2014
2.0.0-preview109 7,349 11/4/2014
2.0.0-preview108 7,185 10/31/2014
2.0.0-preview107 7,402 10/31/2014
2.0.0-preview105 7,482 10/31/2014
2.0.0-preview104 6,837 10/29/2014
2.0.0-preview103 6,846 10/27/2014
2.0.0-preview102 6,865 10/27/2014
2.0.0-preview101 6,870 10/24/2014
2.0.0-beta258 6,935 4/21/2015
2.0.0-beta254 6,979 4/20/2015
1.4.1 11,843 10/9/2014
1.4.0 7,402 9/10/2014
1.3.1 7,109 8/18/2014
1.3.0 7,315 7/16/2014
1.2.2 7,148 7/2/2014
1.2.1 7,018 6/30/2014
1.2.0 7,483 1/9/2014
1.1.1 7,012 12/26/2013
1.1.0 6,928 12/26/2013
1.0.11 7,642 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