DryIoc 4.7.5

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

Requires NuGet 3.3.0 or higher.

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

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

Release Notes

## v4.7.5 Bug-fix release

- #390 NullReferenceException on Unregister
- fixed the potential issue with the switching back from the SelectLastFactoryRule to the default rule


## v4.7.4 Bug-fix release

- #376 DryIoc.Interpreter seems to mess up the exception call stack
- #378 Inconsistent resolution failure


## v4.7.3 Bug-fix release

- #367 Resolve with FactoryMethod of instance throws DryIoc.ContainerException


## v4.7.2 Bug-fix release

- #365 Really fixing: Made.Of() Parameters incorrectly reused depending on Register() usage


## v4.7.1 Bug-fix release

- #365 Made.Of() Parameters incorrectly reused depending on Register() usage


## v4.7.0 Feature release

- #338 Child container disposes parent container singletons
- #355 Auto mocking feature for unit testing
- #356 Surface the FindFactoryWithTheMinReuseLifespan so it can be used together with the FactorySelector
- #357 Avoid overload ambiguity for the ScopedTo(Type) by adding the separate ScopedToService
- #358 Add and surface the Scope.Clone(withDisposables=false) to enable more ChildContainer scenarios
- #359 DynamicRegistrationsAsFallback being unnecessary called multiple times
- #360 Mark DynamicRegistrationProvider with the FactoryType (Service, Decorator or combination) to avoid unnecessary provider call and factory creation
- #363 Add CreateChild method as the basis for CreateFacade and such


## v4.6.0 Feature release

- #216 Add Rules.WithThrowIfScopedOrSingletonHasTransientDependency
- #343 Scope validation for Transient does not work as expected
- #344 Scope is disposed before parent when using facade (added Scopes and Singleton cloning into CreateFacade)
- #348 Create a child container without WithNoMoreRegistrationAllowed flag (surfacing IsRegistryChangePermitted in With method)
- #350 Wrong scoped resolve (together with MS DI rules)
- #352 Consider resolving the variance compatible open-generic the same as for collection of open-generics (added Rules.WithVarianceGenericTypesInResolve)

  • .NETFramework 3.5

    • No dependencies.
  • .NETFramework 4.0

    • No dependencies.
  • .NETFramework 4.5

    • No dependencies.
  • .NETStandard 1.0

  • .NETStandard 1.3

  • .NETStandard 2.0

  • Portable Class Library (.NETFramework 4.0, Silverlight 5.0, Windows 8.0, WindowsPhone 8.0, WindowsPhoneApp 8.1)

    • No dependencies.
  • Portable Class Library (.NETFramework 4.5, Windows 8.0, WindowsPhone 8.0, WindowsPhoneApp 8.1)

    • No dependencies.

NuGet packages (17)

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 History

Version Downloads Last updated
4.7.5 188 4/4/2021
4.7.4 1,077 2/26/2021
4.7.3 1,041 2/9/2021
4.7.2 4,280 1/16/2021
4.7.1 94 1/15/2021
4.7.0 676 1/5/2021
4.6.0 2,808 12/10/2020
4.5.2 409 12/3/2020
4.5.1 1,677 10/28/2020
4.5.0 3,048 10/12/2020
4.4.1 5,262 9/9/2020
4.4.0 282 9/4/2020
4.3.4 347 9/1/2020
4.3.3 333 8/27/2020
4.3.2 1,613 8/15/2020
4.3.1 1,241 8/7/2020
4.3.0 471 8/3/2020
4.2.5 819 7/20/2020
4.2.4 2,334 7/14/2020
4.2.3 657 7/4/2020
4.2.2 261 7/2/2020
4.2.1 1,129 6/8/2020
4.2.0 2,585 5/18/2020
4.1.4 4,145 4/3/2020
4.1.3 1,033 3/27/2020
4.1.2 1,678 3/12/2020
4.1.1 858 3/5/2020
4.1.0 4,019 1/20/2020
4.1.0-preview-04 315 1/5/2020
4.1.0-preview-03 417 10/3/2019
4.1.0-preview-02 436 8/25/2019
4.1.0-preview-01 6,301 8/21/2019
4.0.7 19,880 9/4/2019
4.0.6 735 8/29/2019
4.0.5 21,291 6/8/2019
4.0.5-preview-01 6,350 6/7/2019
4.0.4 10,894 5/1/2019
4.0.3 7,208 4/10/2019
4.0.2 6,959 3/30/2019
4.0.1 6,371 3/28/2019
4.0.0 8,625 3/4/2019
4.0.0-preview-02 6,390 2/22/2019
4.0.0-preview-01 12,219 12/1/2018
3.1.0-preview-07 6,619 11/20/2018
3.0.2 38,491 7/11/2018
3.0.1 6,777 7/7/2018
3.0.0 7,016 6/24/2018
3.0.0-preview-12 6,590 6/6/2018
3.0.0-preview-11 6,857 3/17/2018
3.0.0-preview-10 6,595 3/13/2018
3.0.0-preview-09 8,072 2/21/2018
3.0.0-preview-08 6,551 2/12/2018
3.0.0-preview-07 6,590 2/9/2018
3.0.0-preview-06 6,592 2/8/2018
3.0.0-preview-05 6,613 2/5/2018
3.0.0-preview-04 6,592 2/1/2018
3.0.0-preview-03 6,642 12/3/2017
3.0.0-preview-02 7,064 11/14/2017
3.0.0-preview-01 6,690 10/1/2017
2.12.10 21,166 4/11/2018
2.12.9 6,867 4/7/2018
2.12.8 7,725 3/13/2018
2.12.7 10,849 1/19/2018
2.12.6 8,219 12/21/2017
2.12.5 16,914 10/30/2017
2.12.4 14,726 10/17/2017
2.12.3 8,512 10/2/2017
2.12.2 7,307 9/17/2017
2.12.1 6,778 9/9/2017
2.12.0 8,033 9/1/2017
2.12.0-preview-01 6,558 8/29/2017
2.11.6 10,470 7/18/2017
2.11.5 6,735 7/12/2017
2.11.4 7,108 6/28/2017
2.11.3 8,927 6/1/2017
2.11.2 6,614 6/1/2017
2.11.1 6,707 5/31/2017
2.11.0 6,637 5/30/2017
2.11.0-preview-02 6,797 3/15/2017
2.11.0-preview-01 6,607 3/10/2017
2.10.7 10,258 5/3/2017
2.10.6 43,889 4/20/2017
2.10.5 7,045 4/4/2017
2.10.4 6,773 3/28/2017
2.10.3 6,761 3/25/2017
2.10.2 11,074 3/14/2017
2.10.1 21,532 2/18/2017
2.10.0 12,684 2/1/2017
2.9.7 8,121 1/12/2017
2.9.6 7,341 12/30/2016
2.9.5 6,707 12/26/2016
2.9.4 7,153 12/10/2016
2.9.3 6,767 12/8/2016
2.9.2 6,811 12/3/2016
2.9.1 8,164 11/19/2016
2.9.0 6,752 11/17/2016
2.8.5 7,322 11/2/2016
2.8.4 6,784 10/28/2016
2.8.3 17,260 10/20/2016
2.8.2 7,310 10/20/2016
2.8.1 6,663 10/19/2016
2.8.0 6,642 10/18/2016
2.8.0-preview-01 6,596 10/13/2016
2.7.1 7,866 9/1/2016
2.7.0 7,124 8/19/2016
2.6.4 7,712 7/29/2016
2.6.3 6,894 7/9/2016
2.6.2 9,355 6/13/2016
2.6.0 6,798 6/10/2016
2.5.1 7,635 6/7/2016
2.5.0 8,961 5/24/2016
2.4.3 7,201 5/7/2016
2.4.2 7,090 4/26/2016
2.4.1 6,794 4/16/2016
2.4.0 7,056 4/14/2016
2.3.0 7,670 3/30/2016
2.2.2 9,106 3/10/2016
2.2.1 6,732 3/8/2016
2.2.0 7,655 2/26/2016
2.1.3 9,313 1/17/2016
2.1.2 6,827 1/15/2016
2.1.1 7,064 1/4/2016
2.1.0 7,144 12/4/2015
2.0.2 6,943 12/1/2015
2.0.1 6,709 11/27/2015
2.0.0 40,291 11/19/2015
2.0.0-rc4build353 6,628 11/18/2015
2.0.0-rc4build352 6,627 11/17/2015
2.0.0-rc4build351 6,656 11/17/2015
2.0.0-rc4build350 6,621 11/17/2015
2.0.0-rc4build349 6,654 11/12/2015
2.0.0-rc4build348 6,622 11/12/2015
2.0.0-rc4build347 6,625 11/12/2015
2.0.0-rc4build346 6,593 11/12/2015
2.0.0-rc4build345 6,605 11/12/2015
2.0.0-rc4build344 6,637 11/7/2015
2.0.0-rc4build343 6,645 11/5/2015
2.0.0-rc4build342 6,699 11/1/2015
2.0.0-rc4build341 6,646 10/29/2015
2.0.0-rc4build340 6,615 11/12/2015
2.0.0-rc4build339 6,617 11/7/2015
2.0.0-rc4build338 6,611 11/5/2015
2.0.0-rc4build337 6,604 11/1/2015
2.0.0-rc4build336 6,612 10/29/2015
2.0.0-rc3build340 6,619 10/26/2015
2.0.0-rc3build339 6,615 10/26/2015
2.0.0-rc3build338 6,623 10/23/2015
2.0.0-rc3build337 6,648 10/20/2015
2.0.0-rc3build336 6,637 10/19/2015
2.0.0-rc3build335 6,645 10/12/2015
2.0.0-rc3build334 6,638 10/10/2015
2.0.0-rc3build333 6,638 10/6/2015
2.0.0-rc3build332 6,639 10/6/2015
2.0.0-rc3build331 6,619 10/1/2015
2.0.0-rc3build330 6,622 10/1/2015
2.0.0-rc3build329 6,617 9/30/2015
2.0.0-rc3build328 6,694 9/26/2015
2.0.0-rc3build327 6,631 9/25/2015
2.0.0-rc3build326 6,636 9/25/2015
2.0.0-rc3build325 6,623 9/25/2015
2.0.0-rc3build324 6,666 9/11/2015
2.0.0-rc3build323 6,667 9/11/2015
2.0.0-rc3build322 6,671 9/11/2015
2.0.0-rc3build321 6,632 9/11/2015
2.0.0-rc3build320 6,639 9/11/2015
2.0.0-rc3build319 6,651 9/8/2015
2.0.0-rc3build318 6,635 9/6/2015
2.0.0-rc3build317 6,651 9/3/2015
2.0.0-rc3build316 6,662 9/2/2015
2.0.0-rc3build315 6,637 8/31/2015
2.0.0-rc3build314 6,626 9/8/2015
2.0.0-rc3build313 6,636 8/29/2015
2.0.0-rc3build312 6,664 8/23/2015
2.0.0-rc3build311 6,644 8/21/2015
2.0.0-rc3build310 6,657 8/18/2015
2.0.0-rc3build309 6,623 8/12/2015
2.0.0-rc3build308 6,650 8/6/2015
2.0.0-rc3build307 6,682 8/23/2015
2.0.0-rc3build306 6,632 8/6/2015
2.0.0-rc3build304 6,596 8/4/2015
2.0.0-rc3build303 6,587 8/6/2015
2.0.0-rc3build302 6,647 8/3/2015
2.0.0-rc3build301 6,684 7/31/2015
2.0.0-rc3build300 6,811 7/28/2015
2.0.0-rc3build299 6,619 7/28/2015
2.0.0-rc3build298 6,622 7/28/2015
2.0.0-rc3build297 6,608 7/31/2015
2.0.0-rc3build296 6,603 7/28/2015
2.0.0-rc2build297 6,616 7/26/2015
2.0.0-rc2build296 6,610 7/26/2015
2.0.0-rc2build295 6,634 7/24/2015
2.0.0-rc2build294 6,627 7/24/2015
2.0.0-rc2build293 6,627 7/26/2015
2.0.0-rc2build292 6,701 7/21/2015
2.0.0-rc2build291 6,599 7/24/2015
2.0.0-rc2build289 6,696 7/21/2015
2.0.0-rc1build371 6,635 1/11/2016
2.0.0-rc1build366 6,609 1/11/2016
2.0.0-rc1build288 6,662 7/4/2015
2.0.0-rc1build287 6,620 6/19/2015
2.0.0-rc1build286 6,863 6/8/2015
2.0.0-rc1build285 6,629 6/4/2015
2.0.0-rc1build284 6,623 6/3/2015
2.0.0-rc1build283 6,681 6/1/2015
2.0.0-rc1build282 6,624 5/29/2015
2.0.0-rc1build281 6,606 5/27/2015
2.0.0-rc1build280 6,597 5/27/2015
2.0.0-rc1build279 6,616 5/21/2015
2.0.0-rc1build278 6,624 5/16/2015
2.0.0-rc1build277 6,625 5/15/2015
2.0.0-rc1build276 6,608 5/21/2015
2.0.0-rc1build275 6,592 5/16/2015
2.0.0-rc1build274 6,694 5/15/2015
2.0.0-rc1build273 6,650 5/15/2015
2.0.0-rc1build272 6,637 5/14/2015
2.0.0-rc1build271 6,660 5/14/2015
2.0.0-rc1build270 6,613 5/13/2015
2.0.0-rc1build269 6,628 5/14/2015
2.0.0-rc1build268 6,657 5/12/2015
2.0.0-rc1build267 6,628 5/10/2015
2.0.0-rc1build266 6,619 5/7/2015
2.0.0-rc1build265 6,621 5/6/2015
2.0.0-rc1build264 6,685 5/5/2015
2.0.0-rc1build263 6,621 5/1/2015
2.0.0-rc1build262 6,641 4/30/2015
2.0.0-rc1build261 6,613 4/29/2015
2.0.0-rc1build260 6,683 4/28/2015
2.0.0-rc1build259 6,647 4/21/2015
2.0.0-rc1build258 6,646 4/29/2015
2.0.0-rc1build255 6,644 4/21/2015
2.0.0-preview256 6,652 4/15/2015
2.0.0-preview255 6,665 4/14/2015
2.0.0-preview254 6,644 4/14/2015
2.0.0-preview253 6,658 4/13/2015
2.0.0-preview252 6,654 4/10/2015
2.0.0-preview251 6,655 4/7/2015
2.0.0-preview250 6,664 4/6/2015
2.0.0-preview249 6,858 4/6/2015
2.0.0-preview248 6,652 4/7/2015
2.0.0-preview247 6,658 4/6/2015
2.0.0-preview246 6,658 4/6/2015
2.0.0-preview245 6,663 4/3/2015
2.0.0-preview244 6,642 4/3/2015
2.0.0-preview243 6,663 4/3/2015
2.0.0-preview242 6,678 4/2/2015
2.0.0-preview241 6,639 3/31/2015
2.0.0-preview240 6,653 3/31/2015
2.0.0-preview239 6,700 3/30/2015
2.0.0-preview238 6,652 3/30/2015
2.0.0-preview237 6,640 3/29/2015
2.0.0-preview236 6,656 3/28/2015
2.0.0-preview235 6,672 3/27/2015
2.0.0-preview234 6,652 3/27/2015
2.0.0-preview233 6,657 3/26/2015
2.0.0-preview232 6,645 3/26/2015
2.0.0-preview231 6,684 3/25/2015
2.0.0-preview230 6,674 3/25/2015
2.0.0-preview229 6,675 3/25/2015
2.0.0-preview228 6,661 3/23/2015
2.0.0-preview227 6,670 3/23/2015
2.0.0-preview226 6,658 3/19/2015
2.0.0-preview225 6,652 3/18/2015
2.0.0-preview224 6,647 3/18/2015
2.0.0-preview223 6,665 3/18/2015
2.0.0-preview222 6,647 3/17/2015
2.0.0-preview221 6,672 3/15/2015
2.0.0-preview220 6,650 3/14/2015
2.0.0-preview219 6,628 3/13/2015
2.0.0-preview218 6,655 3/11/2015
2.0.0-preview217 6,669 3/10/2015
2.0.0-preview216 6,722 3/10/2015
2.0.0-preview215 6,666 3/10/2015
2.0.0-preview214 6,672 3/10/2015
2.0.0-preview213 6,650 3/9/2015
2.0.0-preview212 6,646 3/6/2015
2.0.0-preview211 6,653 3/4/2015
2.0.0-preview210 6,669 3/4/2015
2.0.0-preview209 6,667 3/4/2015
2.0.0-preview208 6,654 3/3/2015
2.0.0-preview207 6,646 3/3/2015
2.0.0-preview206 6,652 3/3/2015
2.0.0-preview205 6,671 3/2/2015
2.0.0-preview204 6,668 3/2/2015
2.0.0-preview203 6,840 2/26/2015
2.0.0-preview202 6,648 2/25/2015
2.0.0-preview201 6,695 2/20/2015
2.0.0-preview200 6,784 2/20/2015
2.0.0-preview199 6,677 2/20/2015
2.0.0-preview198 6,662 2/19/2015
2.0.0-preview197 6,662 2/19/2015
2.0.0-preview196 6,658 2/19/2015
2.0.0-preview195 6,676 2/19/2015
2.0.0-preview194 6,702 2/18/2015
2.0.0-preview193 6,675 2/18/2015
2.0.0-preview192 6,751 2/17/2015
2.0.0-preview191 6,731 2/17/2015
2.0.0-preview190 6,773 2/17/2015
2.0.0-preview189 6,646 2/12/2015
2.0.0-preview188 6,683 2/11/2015
2.0.0-preview187 6,760 2/11/2015
2.0.0-preview186 6,820 2/11/2015
2.0.0-preview185 6,679 2/10/2015
2.0.0-preview184 6,661 2/10/2015
2.0.0-preview183 6,668 2/10/2015
2.0.0-preview182 6,704 2/9/2015
2.0.0-preview181 6,670 2/2/2015
2.0.0-preview180 6,685 2/2/2015
2.0.0-preview179 6,658 1/31/2015
2.0.0-preview178 6,673 1/30/2015
2.0.0-preview177 6,679 1/29/2015
2.0.0-preview176 6,749 1/24/2015
2.0.0-preview175 6,669 1/24/2015
2.0.0-preview174 6,747 1/23/2015
2.0.0-preview173 6,727 1/18/2015
2.0.0-preview172 6,680 1/19/2015
2.0.0-preview171 6,761 1/16/2015
2.0.0-preview170 6,684 1/16/2015
2.0.0-preview169 6,712 1/16/2015
2.0.0-preview168 6,683 1/16/2015
2.0.0-preview167 6,755 1/16/2015
2.0.0-preview166 6,691 1/15/2015
2.0.0-preview165 6,722 1/15/2015
2.0.0-preview164 6,680 1/15/2015
2.0.0-preview163 6,714 1/15/2015
2.0.0-preview162 6,726 1/14/2015
2.0.0-preview161 6,689 1/14/2015
2.0.0-preview160 6,670 1/14/2015
2.0.0-preview159 6,684 1/14/2015
2.0.0-preview158 6,684 1/14/2015
2.0.0-preview157 6,668 1/14/2015
2.0.0-preview156 6,670 1/13/2015
2.0.0-preview155 6,687 1/13/2015
2.0.0-preview154 6,756 1/12/2015
2.0.0-preview153 6,695 1/12/2015
2.0.0-preview152 6,678 1/9/2015
2.0.0-preview151 6,685 1/9/2015
2.0.0-preview150 6,689 1/8/2015
2.0.0-preview148 6,687 1/8/2015
2.0.0-preview147 6,671 1/3/2015
2.0.0-preview146 6,704 1/3/2015
2.0.0-preview145 6,753 12/30/2014
2.0.0-preview144 6,718 12/29/2014
2.0.0-preview143 6,732 12/29/2014
2.0.0-preview142 6,718 12/23/2014
2.0.0-preview141 6,691 12/23/2014
2.0.0-preview140 6,697 12/23/2014
2.0.0-preview139 6,777 12/20/2014
2.0.0-preview138 6,676 12/20/2014
2.0.0-preview137 6,684 12/20/2014
2.0.0-preview136 6,697 12/20/2014
2.0.0-preview135 6,658 12/20/2014
2.0.0-preview133 6,801 12/18/2014
2.0.0-preview132 6,728 12/15/2014
2.0.0-preview131 6,702 12/14/2014
2.0.0-preview130 6,676 12/12/2014
2.0.0-preview129 6,706 12/12/2014
2.0.0-preview128 6,673 12/11/2014
2.0.0-preview127 6,705 12/10/2014
2.0.0-preview126 6,710 12/10/2014
2.0.0-preview125 6,696 12/8/2014
2.0.0-preview124 6,725 12/8/2014
2.0.0-preview123 6,703 12/7/2014
2.0.0-preview119 6,799 11/24/2014
2.0.0-preview118 6,751 11/21/2014
2.0.0-preview116 7,110 11/13/2014
2.0.0-preview115 6,928 11/6/2014
2.0.0-preview114 7,110 11/6/2014
2.0.0-preview113 6,890 11/5/2014
2.0.0-preview112 6,901 11/5/2014
2.0.0-preview110 7,140 11/5/2014
2.0.0-preview109 7,167 11/4/2014
2.0.0-preview108 7,010 10/31/2014
2.0.0-preview107 7,229 10/31/2014
2.0.0-preview105 7,312 10/31/2014
2.0.0-preview104 6,663 10/29/2014
2.0.0-preview103 6,677 10/27/2014
2.0.0-preview102 6,696 10/27/2014
2.0.0-preview101 6,701 10/24/2014
2.0.0-beta258 6,662 4/21/2015
2.0.0-beta254 6,717 4/20/2015
1.4.1 10,834 10/9/2014
1.4.0 7,133 9/10/2014
1.3.1 6,868 8/18/2014
1.3.0 7,005 7/16/2014
1.2.2 6,948 7/2/2014
1.2.1 6,762 6/30/2014
1.2.0 7,235 1/9/2014
1.1.1 6,806 12/26/2013
1.1.0 6,738 12/26/2013
1.0.11 7,060 12/24/2013