DryIoc 4.1.0

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

Requires NuGet 3.3.0 or higher.

Install-Package DryIoc -Version 4.1.0
dotnet add package DryIoc --version 4.1.0
<PackageReference Include="DryIoc" Version="4.1.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add DryIoc --version 4.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

## v4.1.0 Feature release

### Highlights

- Better memory use and massively improved performance for the real-world applications - big object graphs and the unit-of-work scenarios. See the updated benchmark results in [readme.md].(https://github.com/dadhi/DryIoc/blob/master/README.md#creating-the-container-registering-the-services-then-opening-a-scope-and-resolving-the-scoped-service-eg-controller-for-the-first-time))
- Improve parallelism / reduce thread blocking #137
- Full and fast DryIoc own Interpretation support via `Rules.WithUseInterpretation()` - useful for iOS and other platforms without compilation support #90
- Add DryIocZero capabilities to the DryIoc source package #101
- Copied DryIoc sample project from the MediatR but with DryIoc.Messages #117

### Features

- Interpretation only option #90
- Add RegisterDelegate with the list of dependencies to Inject and not to Resolve #147
- Lift restrictions for Scope disposal when using ambient ScopeContext #168
- FactoryDelegate<T> wrapper support #191
- Add Rules.UseDecorateeReuseForDecorators #201

### Fixes

- Resolving a component for the second time throws #130
- Stackoverflow exception #139
- Xamarin Forms iOS: Operation is not supported on this platform. #156
- DryIoc 4.0.5 withoutFastExpressionCompiler deadlock issue #157
- Rules.WithDependencyDepthToSplitObjectGraph is not propagated through most of `Rules.With` methods #163
- Rules.WithDependencyDepthToSplitObjectGraph was not applied in some cases with Decorators in graph #164
- Made.Of() Parameters don't follow Reuse setting #179
- ThreadScopeContext not working in DryIoc.dll 4.1.0-preview-02? #183
- ReflectionTools methods unexpectedly return static constructors #184
- Container creates multiple instances if TryInterpret fails #188
- Open-generic implementation may be wrongly considered for service with many type args #190
- DryIOC new Transient Disposable #192
- Private and public Constructors in generic classes #196
- Fix documentation regarding implicitly injected scope as IDisposable #197
- Open generics resolve fails if there is a static constructor #198
- 4.1.0 Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object. #205
- Avoid wasteful compilation of the same cached expression by multiple threads #208

  • .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.

Showing the top 4 GitHub repositories that depend on DryIoc:

Repository Stars
jbogard/MediatR
Simple, unambitious mediator implementation in .NET
seesharper/LightInject
An ultra lightweight IoC container
dadhi/DryIoc
DryIoc is fast, small, full-featured IoC Container for .NET
DevTechProfile/CapFrameX
Frametime capture and analysis tool

Read more about the GitHub Usage information on our documentation.

Version History

Version Downloads Last updated
4.1.0 1,749 1/20/2020
4.1.0-preview-04 91 1/5/2020
4.1.0-preview-03 157 10/3/2019
4.1.0-preview-02 203 8/25/2019
4.1.0-preview-01 6,070 8/21/2019
4.0.7 9,823 9/4/2019
4.0.6 448 8/29/2019
4.0.5 16,246 6/8/2019
4.0.5-preview-01 6,109 6/7/2019
4.0.4 8,368 5/1/2019
4.0.3 6,700 4/10/2019
4.0.2 6,440 3/30/2019
4.0.1 6,134 3/28/2019
4.0.0 7,121 3/4/2019
4.0.0-preview-02 6,163 2/22/2019
4.0.0-preview-01 9,665 12/1/2018
3.1.0-preview-07 6,206 11/20/2018
3.0.2 24,267 7/11/2018
3.0.1 6,306 7/7/2018
3.0.0 6,649 6/24/2018
3.0.0-preview-12 6,298 6/6/2018
3.0.0-preview-11 6,555 3/17/2018
3.0.0-preview-10 6,308 3/13/2018
3.0.0-preview-09 7,786 2/21/2018
3.0.0-preview-08 6,290 2/12/2018
3.0.0-preview-07 6,320 2/9/2018
3.0.0-preview-06 6,315 2/8/2018
3.0.0-preview-05 6,305 2/5/2018
3.0.0-preview-04 6,309 2/1/2018
3.0.0-preview-03 6,395 12/3/2017
3.0.0-preview-02 6,781 11/14/2017
3.0.0-preview-01 6,329 10/1/2017
2.12.10 14,150 4/11/2018
2.12.9 6,555 4/7/2018
2.12.8 7,385 3/13/2018
2.12.7 9,901 1/19/2018
2.12.6 7,503 12/21/2017
2.12.5 13,784 10/30/2017
2.12.4 6,576 10/17/2017
2.12.3 8,076 10/2/2017
2.12.2 6,987 9/17/2017
2.12.1 6,467 9/9/2017
2.12.0 7,697 9/1/2017
2.12.0-preview-01 6,283 8/29/2017
2.11.6 10,102 7/18/2017
2.11.5 6,444 7/12/2017
2.11.4 6,773 6/28/2017
2.11.3 6,864 6/1/2017
2.11.2 6,316 6/1/2017
2.11.1 6,386 5/31/2017
2.11.0 6,335 5/30/2017
2.11.0-preview-02 6,505 3/15/2017
2.11.0-preview-01 6,317 3/10/2017
2.10.7 8,708 5/3/2017
2.10.6 42,102 4/20/2017
2.10.5 6,753 4/4/2017
2.10.4 6,487 3/28/2017
2.10.3 6,480 3/25/2017
2.10.2 10,012 3/14/2017
2.10.1 7,883 2/18/2017
2.10.0 11,555 2/1/2017
2.9.7 7,704 1/12/2017
2.9.6 7,058 12/30/2016
2.9.5 6,408 12/26/2016
2.9.4 6,835 12/10/2016
2.9.3 6,481 12/8/2016
2.9.2 6,511 12/3/2016
2.9.1 7,794 11/19/2016
2.9.0 6,403 11/17/2016
2.8.5 6,995 11/2/2016
2.8.4 6,518 10/28/2016
2.8.3 12,537 10/20/2016
2.8.2 6,621 10/20/2016
2.8.1 6,386 10/19/2016
2.8.0 6,357 10/18/2016
2.8.0-preview-01 6,340 10/13/2016
2.7.1 7,460 9/1/2016
2.7.0 6,833 8/19/2016
2.6.4 7,062 7/29/2016
2.6.3 6,619 7/9/2016
2.6.2 9,047 6/13/2016
2.6.0 6,470 6/10/2016
2.5.1 7,162 6/7/2016
2.5.0 8,110 5/24/2016
2.4.3 6,885 5/7/2016
2.4.2 6,765 4/26/2016
2.4.1 6,515 4/16/2016
2.4.0 6,641 4/14/2016
2.3.0 7,256 3/30/2016
2.2.2 8,119 3/10/2016
2.2.1 6,420 3/8/2016
2.2.0 6,819 2/26/2016
2.1.3 8,169 1/17/2016
2.1.2 6,471 1/15/2016
2.1.1 6,714 1/4/2016
2.1.0 6,864 12/4/2015
2.0.2 6,662 12/1/2015
2.0.1 6,430 11/27/2015
2.0.0 7,315 11/19/2015
2.0.0-rc4build353 6,370 11/18/2015
2.0.0-rc4build352 6,346 11/17/2015
2.0.0-rc4build351 6,396 11/17/2015
2.0.0-rc4build350 6,359 11/17/2015
2.0.0-rc4build349 6,390 11/12/2015
2.0.0-rc4build348 6,365 11/12/2015
2.0.0-rc4build347 6,363 11/12/2015
2.0.0-rc4build346 6,332 11/12/2015
2.0.0-rc4build345 6,335 11/12/2015
2.0.0-rc4build344 6,368 11/7/2015
2.0.0-rc4build343 6,368 11/5/2015
2.0.0-rc4build342 6,431 11/1/2015
2.0.0-rc4build341 6,365 10/29/2015
2.0.0-rc4build340 6,341 11/12/2015
2.0.0-rc4build339 6,351 11/7/2015
2.0.0-rc4build338 6,348 11/5/2015
2.0.0-rc4build337 6,342 11/1/2015
2.0.0-rc4build336 6,354 10/29/2015
2.0.0-rc3build340 6,353 10/26/2015
2.0.0-rc3build339 6,354 10/26/2015
2.0.0-rc3build338 6,366 10/23/2015
2.0.0-rc3build337 6,372 10/20/2015
2.0.0-rc3build336 6,387 10/19/2015
2.0.0-rc3build335 6,371 10/12/2015
2.0.0-rc3build334 6,358 10/10/2015
2.0.0-rc3build333 6,365 10/6/2015
2.0.0-rc3build332 6,365 10/6/2015
2.0.0-rc3build331 6,362 10/1/2015
2.0.0-rc3build330 6,358 10/1/2015
2.0.0-rc3build329 6,352 9/30/2015
2.0.0-rc3build328 6,424 9/26/2015
2.0.0-rc3build327 6,357 9/25/2015
2.0.0-rc3build326 6,375 9/25/2015
2.0.0-rc3build325 6,359 9/25/2015
2.0.0-rc3build324 6,400 9/11/2015
2.0.0-rc3build323 6,389 9/11/2015
2.0.0-rc3build322 6,401 9/11/2015
2.0.0-rc3build321 6,361 9/11/2015
2.0.0-rc3build320 6,358 9/11/2015
2.0.0-rc3build319 6,386 9/8/2015
2.0.0-rc3build318 6,380 9/6/2015
2.0.0-rc3build317 6,387 9/3/2015
2.0.0-rc3build316 6,387 9/2/2015
2.0.0-rc3build315 6,381 8/31/2015
2.0.0-rc3build314 6,367 9/8/2015
2.0.0-rc3build313 6,370 8/29/2015
2.0.0-rc3build312 6,398 8/23/2015
2.0.0-rc3build311 6,376 8/21/2015
2.0.0-rc3build310 6,385 8/18/2015
2.0.0-rc3build309 6,362 8/12/2015
2.0.0-rc3build308 6,367 8/6/2015
2.0.0-rc3build307 6,402 8/23/2015
2.0.0-rc3build306 6,370 8/6/2015
2.0.0-rc3build304 6,350 8/4/2015
2.0.0-rc3build303 6,342 8/6/2015
2.0.0-rc3build302 6,378 8/3/2015
2.0.0-rc3build301 6,412 7/31/2015
2.0.0-rc3build300 6,543 7/28/2015
2.0.0-rc3build299 6,356 7/28/2015
2.0.0-rc3build298 6,357 7/28/2015
2.0.0-rc3build297 6,347 7/31/2015
2.0.0-rc3build296 6,346 7/28/2015
2.0.0-rc2build297 6,360 7/26/2015
2.0.0-rc2build296 6,343 7/26/2015
2.0.0-rc2build295 6,361 7/24/2015
2.0.0-rc2build294 6,360 7/24/2015
2.0.0-rc2build293 6,363 7/26/2015
2.0.0-rc2build292 6,414 7/21/2015
2.0.0-rc2build291 6,345 7/24/2015
2.0.0-rc2build289 6,422 7/21/2015
2.0.0-rc1build371 6,355 1/11/2016
2.0.0-rc1build366 6,341 1/11/2016
2.0.0-rc1build288 6,395 7/4/2015
2.0.0-rc1build287 6,370 6/19/2015
2.0.0-rc1build286 6,530 6/8/2015
2.0.0-rc1build285 6,368 6/4/2015
2.0.0-rc1build284 6,360 6/3/2015
2.0.0-rc1build283 6,400 6/1/2015
2.0.0-rc1build282 6,365 5/29/2015
2.0.0-rc1build281 6,352 5/27/2015
2.0.0-rc1build280 6,346 5/27/2015
2.0.0-rc1build279 6,357 5/21/2015
2.0.0-rc1build278 6,368 5/16/2015
2.0.0-rc1build277 6,363 5/15/2015
2.0.0-rc1build276 6,349 5/21/2015
2.0.0-rc1build275 6,342 5/16/2015
2.0.0-rc1build274 6,426 5/15/2015
2.0.0-rc1build273 6,377 5/15/2015
2.0.0-rc1build272 6,364 5/14/2015
2.0.0-rc1build271 6,401 5/14/2015
2.0.0-rc1build270 6,357 5/13/2015
2.0.0-rc1build269 6,361 5/14/2015
2.0.0-rc1build268 6,370 5/12/2015
2.0.0-rc1build267 6,361 5/10/2015
2.0.0-rc1build266 6,359 5/7/2015
2.0.0-rc1build265 6,363 5/6/2015
2.0.0-rc1build264 6,433 5/5/2015
2.0.0-rc1build263 6,350 5/1/2015
2.0.0-rc1build262 6,372 4/30/2015
2.0.0-rc1build261 6,358 4/29/2015
2.0.0-rc1build260 6,426 4/28/2015
2.0.0-rc1build259 6,367 4/21/2015
2.0.0-rc1build258 6,363 4/29/2015
2.0.0-rc1build255 6,380 4/21/2015
2.0.0-preview256 6,392 4/15/2015
2.0.0-preview255 6,398 4/14/2015
2.0.0-preview254 6,389 4/14/2015
2.0.0-preview253 6,391 4/13/2015
2.0.0-preview252 6,381 4/10/2015
2.0.0-preview251 6,388 4/7/2015
2.0.0-preview250 6,392 4/6/2015
2.0.0-preview249 6,590 4/6/2015
2.0.0-preview248 6,390 4/7/2015
2.0.0-preview247 6,395 4/6/2015
2.0.0-preview246 6,388 4/6/2015
2.0.0-preview245 6,392 4/3/2015
2.0.0-preview244 6,378 4/3/2015
2.0.0-preview243 6,392 4/3/2015
2.0.0-preview242 6,402 4/2/2015
2.0.0-preview241 6,389 3/31/2015
2.0.0-preview240 6,395 3/31/2015
2.0.0-preview239 6,428 3/30/2015
2.0.0-preview238 6,386 3/30/2015
2.0.0-preview237 6,381 3/29/2015
2.0.0-preview236 6,393 3/28/2015
2.0.0-preview235 6,397 3/27/2015
2.0.0-preview234 6,387 3/27/2015
2.0.0-preview233 6,386 3/26/2015
2.0.0-preview232 6,380 3/26/2015
2.0.0-preview231 6,411 3/25/2015
2.0.0-preview230 6,404 3/25/2015
2.0.0-preview229 6,403 3/25/2015
2.0.0-preview228 6,394 3/23/2015
2.0.0-preview227 6,410 3/23/2015
2.0.0-preview226 6,385 3/19/2015
2.0.0-preview225 6,384 3/18/2015
2.0.0-preview224 6,377 3/18/2015
2.0.0-preview223 6,392 3/18/2015
2.0.0-preview222 6,389 3/17/2015
2.0.0-preview221 6,395 3/15/2015
2.0.0-preview220 6,382 3/14/2015
2.0.0-preview219 6,379 3/13/2015
2.0.0-preview218 6,392 3/11/2015
2.0.0-preview217 6,396 3/10/2015
2.0.0-preview216 6,431 3/10/2015
2.0.0-preview215 6,396 3/10/2015
2.0.0-preview214 6,398 3/10/2015
2.0.0-preview213 6,380 3/9/2015
2.0.0-preview212 6,377 3/6/2015
2.0.0-preview211 6,390 3/4/2015
2.0.0-preview210 6,382 3/4/2015
2.0.0-preview209 6,394 3/4/2015
2.0.0-preview208 6,381 3/3/2015
2.0.0-preview207 6,390 3/3/2015
2.0.0-preview206 6,396 3/3/2015
2.0.0-preview205 6,393 3/2/2015
2.0.0-preview204 6,396 3/2/2015
2.0.0-preview203 6,553 2/26/2015
2.0.0-preview202 6,393 2/25/2015
2.0.0-preview201 6,422 2/20/2015
2.0.0-preview200 6,516 2/20/2015
2.0.0-preview199 6,406 2/20/2015
2.0.0-preview198 6,397 2/19/2015
2.0.0-preview197 6,392 2/19/2015
2.0.0-preview196 6,397 2/19/2015
2.0.0-preview195 6,408 2/19/2015
2.0.0-preview194 6,445 2/18/2015
2.0.0-preview193 6,408 2/18/2015
2.0.0-preview192 6,476 2/17/2015
2.0.0-preview191 6,465 2/17/2015
2.0.0-preview190 6,492 2/17/2015
2.0.0-preview189 6,387 2/12/2015
2.0.0-preview188 6,408 2/11/2015
2.0.0-preview187 6,503 2/11/2015
2.0.0-preview186 6,543 2/11/2015
2.0.0-preview185 6,415 2/10/2015
2.0.0-preview184 6,399 2/10/2015
2.0.0-preview183 6,398 2/10/2015
2.0.0-preview182 6,431 2/9/2015
2.0.0-preview181 6,406 2/2/2015
2.0.0-preview180 6,405 2/2/2015
2.0.0-preview179 6,393 1/31/2015
2.0.0-preview178 6,393 1/30/2015
2.0.0-preview177 6,402 1/29/2015
2.0.0-preview176 6,450 1/24/2015
2.0.0-preview175 6,406 1/24/2015
2.0.0-preview174 6,467 1/23/2015
2.0.0-preview173 6,457 1/18/2015
2.0.0-preview172 6,391 1/19/2015
2.0.0-preview171 6,473 1/16/2015
2.0.0-preview170 6,403 1/16/2015
2.0.0-preview169 6,420 1/16/2015
2.0.0-preview168 6,400 1/16/2015
2.0.0-preview167 6,462 1/16/2015
2.0.0-preview166 6,398 1/15/2015
2.0.0-preview165 6,439 1/15/2015
2.0.0-preview164 6,404 1/15/2015
2.0.0-preview163 6,442 1/15/2015
2.0.0-preview162 6,443 1/14/2015
2.0.0-preview161 6,389 1/14/2015
2.0.0-preview160 6,388 1/14/2015
2.0.0-preview159 6,404 1/14/2015
2.0.0-preview158 6,409 1/14/2015
2.0.0-preview157 6,394 1/14/2015
2.0.0-preview156 6,402 1/13/2015
2.0.0-preview155 6,405 1/13/2015
2.0.0-preview154 6,471 1/12/2015
2.0.0-preview153 6,404 1/12/2015
2.0.0-preview152 6,406 1/9/2015
2.0.0-preview151 6,405 1/9/2015
2.0.0-preview150 6,402 1/8/2015
2.0.0-preview148 6,422 1/8/2015
2.0.0-preview147 6,403 1/3/2015
2.0.0-preview146 6,427 1/3/2015
2.0.0-preview145 6,464 12/30/2014
2.0.0-preview144 6,431 12/29/2014
2.0.0-preview143 6,452 12/29/2014
2.0.0-preview142 6,431 12/23/2014
2.0.0-preview141 6,400 12/23/2014
2.0.0-preview140 6,428 12/23/2014
2.0.0-preview139 6,483 12/20/2014
2.0.0-preview138 6,401 12/20/2014
2.0.0-preview137 6,408 12/20/2014
2.0.0-preview136 6,424 12/20/2014
2.0.0-preview135 6,393 12/20/2014
2.0.0-preview133 6,476 12/18/2014
2.0.0-preview132 6,438 12/15/2014
2.0.0-preview131 6,427 12/14/2014
2.0.0-preview130 6,400 12/12/2014
2.0.0-preview129 6,423 12/12/2014
2.0.0-preview128 6,406 12/11/2014
2.0.0-preview127 6,425 12/10/2014
2.0.0-preview126 6,422 12/10/2014
2.0.0-preview125 6,417 12/8/2014
2.0.0-preview124 6,431 12/8/2014
2.0.0-preview123 6,412 12/7/2014
2.0.0-preview119 6,526 11/24/2014
2.0.0-preview118 6,489 11/21/2014
2.0.0-preview116 6,818 11/13/2014
2.0.0-preview115 6,646 11/6/2014
2.0.0-preview114 6,845 11/6/2014
2.0.0-preview113 6,628 11/5/2014
2.0.0-preview112 6,629 11/5/2014
2.0.0-preview110 6,865 11/5/2014
2.0.0-preview109 6,882 11/4/2014
2.0.0-preview108 6,732 10/31/2014
2.0.0-preview107 6,953 10/31/2014
2.0.0-preview105 7,045 10/31/2014
2.0.0-preview104 6,405 10/29/2014
2.0.0-preview103 6,405 10/27/2014
2.0.0-preview102 6,421 10/27/2014
2.0.0-preview101 6,414 10/24/2014
2.0.0-beta258 6,382 4/21/2015
2.0.0-beta254 6,424 4/20/2015
1.4.1 9,557 10/9/2014
1.4.0 6,795 9/10/2014
1.3.1 6,587 8/18/2014
1.3.0 6,643 7/16/2014
1.2.2 6,674 7/2/2014
1.2.1 6,469 6/30/2014
1.2.0 6,897 1/9/2014
1.1.1 6,520 12/26/2013
1.1.0 6,454 12/26/2013
1.0.11 6,516 12/24/2013