DryIoc 2.0.2

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

There is a newer version of this package available.
See the version list below for details.
Install-Package DryIoc -Version 2.0.2
dotnet add package DryIoc --version 2.0.2
<PackageReference Include="DryIoc" Version="2.0.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add DryIoc --version 2.0.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

v2.0.2
         - fixed: #201: Mutithreading issue when RegisterInstance() is used within OpenScope()
         v2.0.1
         - fixed: #200 Multiple instances for Singleton created when Container is shared among multiple threads
         v2.0.0
         - Support for PCL 328 and 259 profiles, and .NET Core via dotnet moniker.
         - More consistent and complete API surface.
         - Diagnostics of potential resolution problems with `container.VerifyResolutions()`.
         - Improved registration and first resolution time.
         - Support of really large object graphs.
         - Possibility of compile-time factory delegate generation. Utilized by DryIocZero.
         - Ambient current scope and `Reuse.InWebRequest` for ASP.NET integration.
         - Support for static and instance factory methods in addition to constructor, including support for method parameters injection.
         - Powerful open-generics support including variance, constraints, open-generic factory methods in open-generic classes.
         - Service key of arbitrary type. The only requirement for key type is to implement `GetHashCode` and `Equals`.
         - Resolve as `KeyValuePair` to get service key with service object.
         - Register with condition for resolution.
         - Required service type support: e.g. `var serviceObjects = c.Resolve{object[]}(typeof(Service));`.
         - Optional parameters support.
         - Fine-grained control over injection of parameters, properties, and fields.
         - Injection of primitive values.
         - Control how reused service is stored and disposed via `weaklyReferenced` and `preventDisposal` setups.
         - Resolve service collection as `IList{T}`, `ICollection{T}`, `IReadOnlyList{T}`, `IReadOnlyCollection{T}`.
         - Register once, existing registration update, unregister.
         - removed: Compilation to DynamicAssembly. DryIoc is fast enough without its complexity.

Dependencies

This package has 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.WebApi.Owin
DryIoc extension for ASP.NET WebAPI and OWIN

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.5.1 671 10/28/2020
4.5.0 1,113 10/12/2020
4.4.1 2,611 9/9/2020
4.4.0 177 9/4/2020
4.3.4 254 9/1/2020
4.3.3 213 8/27/2020
4.3.2 1,149 8/15/2020
4.3.1 1,033 8/7/2020
4.3.0 349 8/3/2020
4.2.5 553 7/20/2020
4.2.4 1,047 7/14/2020
4.2.3 560 7/4/2020
4.2.2 171 7/2/2020
4.2.1 900 6/8/2020
4.2.0 2,324 5/18/2020
4.1.4 3,869 4/3/2020
4.1.3 935 3/27/2020
4.1.2 1,554 3/12/2020
4.1.1 751 3/5/2020
4.1.0 3,879 1/20/2020
4.1.0-preview-04 230 1/5/2020
4.1.0-preview-03 318 10/3/2019
4.1.0-preview-02 354 8/25/2019
4.1.0-preview-01 6,211 8/21/2019
4.0.7 15,003 9/4/2019
4.0.6 616 8/29/2019
4.0.5 19,968 6/8/2019
4.0.5-preview-01 6,259 6/7/2019
4.0.4 10,448 5/1/2019
4.0.3 7,064 4/10/2019
4.0.2 6,813 3/30/2019
4.0.1 6,269 3/28/2019
4.0.0 8,171 3/4/2019
4.0.0-preview-02 6,308 2/22/2019
4.0.0-preview-01 12,041 12/1/2018
3.1.0-preview-07 6,449 11/20/2018
3.0.2 36,123 7/11/2018
3.0.1 6,555 7/7/2018
3.0.0 6,859 6/24/2018
3.0.0-preview-12 6,447 6/6/2018
3.0.0-preview-11 6,731 3/17/2018
3.0.0-preview-10 6,464 3/13/2018
3.0.0-preview-09 7,934 2/21/2018
3.0.0-preview-08 6,422 2/12/2018
3.0.0-preview-07 6,465 2/9/2018
3.0.0-preview-06 6,467 2/8/2018
3.0.0-preview-05 6,484 2/5/2018
3.0.0-preview-04 6,463 2/1/2018
3.0.0-preview-03 6,515 12/3/2017
3.0.0-preview-02 6,930 11/14/2017
3.0.0-preview-01 6,539 10/1/2017
2.12.10 19,503 4/11/2018
2.12.9 6,727 4/7/2018
2.12.8 7,577 3/13/2018
2.12.7 10,582 1/19/2018
2.12.6 8,015 12/21/2017
2.12.5 16,350 10/30/2017
2.12.4 12,638 10/17/2017
2.12.3 8,344 10/2/2017
2.12.2 7,161 9/17/2017
2.12.1 6,616 9/9/2017
2.12.0 7,871 9/1/2017
2.12.0-preview-01 6,425 8/29/2017
2.11.6 10,331 7/18/2017
2.11.5 6,587 7/12/2017
2.11.4 6,955 6/28/2017
2.11.3 7,972 6/1/2017
2.11.2 6,469 6/1/2017
2.11.1 6,563 5/31/2017
2.11.0 6,489 5/30/2017
2.11.0-preview-02 6,659 3/15/2017
2.11.0-preview-01 6,469 3/10/2017
2.10.7 9,757 5/3/2017
2.10.6 43,317 4/20/2017
2.10.5 6,903 4/4/2017
2.10.4 6,635 3/28/2017
2.10.3 6,623 3/25/2017
2.10.2 10,721 3/14/2017
2.10.1 18,241 2/18/2017
2.10.0 12,308 2/1/2017
2.9.7 7,956 1/12/2017
2.9.6 7,200 12/30/2016
2.9.5 6,561 12/26/2016
2.9.4 7,013 12/10/2016
2.9.3 6,624 12/8/2016
2.9.2 6,666 12/3/2016
2.9.1 8,026 11/19/2016
2.9.0 6,596 11/17/2016
2.8.5 7,142 11/2/2016
2.8.4 6,652 10/28/2016
2.8.3 15,432 10/20/2016
2.8.2 7,058 10/20/2016
2.8.1 6,528 10/19/2016
2.8.0 6,501 10/18/2016
2.8.0-preview-01 6,473 10/13/2016
2.7.1 7,679 9/1/2016
2.7.0 6,989 8/19/2016
2.6.4 7,418 7/29/2016
2.6.3 6,762 7/9/2016
2.6.2 9,207 6/13/2016
2.6.0 6,647 6/10/2016
2.5.1 7,452 6/7/2016
2.5.0 8,664 5/24/2016
2.4.3 7,057 5/7/2016
2.4.2 6,938 4/26/2016
2.4.1 6,652 4/16/2016
2.4.0 6,892 4/14/2016
2.3.0 7,500 3/30/2016
2.2.2 8,798 3/10/2016
2.2.1 6,580 3/8/2016
2.2.0 7,381 2/26/2016
2.1.3 8,944 1/17/2016
2.1.2 6,668 1/15/2016
2.1.1 6,900 1/4/2016
2.1.0 7,001 12/4/2015
2.0.2 6,802 12/1/2015
2.0.1 6,569 11/27/2015
2.0.0 30,441 11/19/2015
2.0.0-rc4build353 6,501 11/18/2015
2.0.0-rc4build352 6,502 11/17/2015
2.0.0-rc4build351 6,524 11/17/2015
2.0.0-rc4build350 6,489 11/17/2015
2.0.0-rc4build349 6,525 11/12/2015
2.0.0-rc4build348 6,495 11/12/2015
2.0.0-rc4build347 6,494 11/12/2015
2.0.0-rc4build346 6,461 11/12/2015
2.0.0-rc4build345 6,476 11/12/2015
2.0.0-rc4build344 6,512 11/7/2015
2.0.0-rc4build343 6,513 11/5/2015
2.0.0-rc4build342 6,575 11/1/2015
2.0.0-rc4build341 6,517 10/29/2015
2.0.0-rc4build340 6,482 11/12/2015
2.0.0-rc4build339 6,488 11/7/2015
2.0.0-rc4build338 6,492 11/5/2015
2.0.0-rc4build337 6,474 11/1/2015
2.0.0-rc4build336 6,490 10/29/2015
2.0.0-rc3build340 6,500 10/26/2015
2.0.0-rc3build339 6,492 10/26/2015
2.0.0-rc3build338 6,505 10/23/2015
2.0.0-rc3build337 6,522 10/20/2015
2.0.0-rc3build336 6,516 10/19/2015
2.0.0-rc3build335 6,520 10/12/2015
2.0.0-rc3build334 6,514 10/10/2015
2.0.0-rc3build333 6,511 10/6/2015
2.0.0-rc3build332 6,515 10/6/2015
2.0.0-rc3build331 6,498 10/1/2015
2.0.0-rc3build330 6,500 10/1/2015
2.0.0-rc3build329 6,489 9/30/2015
2.0.0-rc3build328 6,570 9/26/2015
2.0.0-rc3build327 6,502 9/25/2015
2.0.0-rc3build326 6,504 9/25/2015
2.0.0-rc3build325 6,494 9/25/2015
2.0.0-rc3build324 6,543 9/11/2015
2.0.0-rc3build323 6,535 9/11/2015
2.0.0-rc3build322 6,541 9/11/2015
2.0.0-rc3build321 6,505 9/11/2015
2.0.0-rc3build320 6,510 9/11/2015
2.0.0-rc3build319 6,524 9/8/2015
2.0.0-rc3build318 6,510 9/6/2015
2.0.0-rc3build317 6,528 9/3/2015
2.0.0-rc3build316 6,529 9/2/2015
2.0.0-rc3build315 6,503 8/31/2015
2.0.0-rc3build314 6,502 9/8/2015
2.0.0-rc3build313 6,509 8/29/2015
2.0.0-rc3build312 6,542 8/23/2015
2.0.0-rc3build311 6,521 8/21/2015
2.0.0-rc3build310 6,525 8/18/2015
2.0.0-rc3build309 6,495 8/12/2015
2.0.0-rc3build308 6,525 8/6/2015
2.0.0-rc3build307 6,550 8/23/2015
2.0.0-rc3build306 6,507 8/6/2015
2.0.0-rc3build304 6,479 8/4/2015
2.0.0-rc3build303 6,462 8/6/2015
2.0.0-rc3build302 6,527 8/3/2015
2.0.0-rc3build301 6,552 7/31/2015
2.0.0-rc3build300 6,692 7/28/2015
2.0.0-rc3build299 6,491 7/28/2015
2.0.0-rc3build298 6,498 7/28/2015
2.0.0-rc3build297 6,483 7/31/2015
2.0.0-rc3build296 6,478 7/28/2015
2.0.0-rc2build297 6,492 7/26/2015
2.0.0-rc2build296 6,486 7/26/2015
2.0.0-rc2build295 6,513 7/24/2015
2.0.0-rc2build294 6,501 7/24/2015
2.0.0-rc2build293 6,508 7/26/2015
2.0.0-rc2build292 6,576 7/21/2015
2.0.0-rc2build291 6,476 7/24/2015
2.0.0-rc2build289 6,575 7/21/2015
2.0.0-rc1build371 6,508 1/11/2016
2.0.0-rc1build366 6,479 1/11/2016
2.0.0-rc1build288 6,535 7/4/2015
2.0.0-rc1build287 6,500 6/19/2015
2.0.0-rc1build286 6,716 6/8/2015
2.0.0-rc1build285 6,511 6/4/2015
2.0.0-rc1build284 6,500 6/3/2015
2.0.0-rc1build283 6,549 6/1/2015
2.0.0-rc1build282 6,500 5/29/2015
2.0.0-rc1build281 6,489 5/27/2015
2.0.0-rc1build280 6,475 5/27/2015
2.0.0-rc1build279 6,493 5/21/2015
2.0.0-rc1build278 6,504 5/16/2015
2.0.0-rc1build277 6,507 5/15/2015
2.0.0-rc1build276 6,484 5/21/2015
2.0.0-rc1build275 6,470 5/16/2015
2.0.0-rc1build274 6,572 5/15/2015
2.0.0-rc1build273 6,527 5/15/2015
2.0.0-rc1build272 6,502 5/14/2015
2.0.0-rc1build271 6,527 5/14/2015
2.0.0-rc1build270 6,488 5/13/2015
2.0.0-rc1build269 6,498 5/14/2015
2.0.0-rc1build268 6,529 5/12/2015
2.0.0-rc1build267 6,503 5/10/2015
2.0.0-rc1build266 6,491 5/7/2015
2.0.0-rc1build265 6,487 5/6/2015
2.0.0-rc1build264 6,564 5/5/2015
2.0.0-rc1build263 6,498 5/1/2015
2.0.0-rc1build262 6,520 4/30/2015
2.0.0-rc1build261 6,490 4/29/2015
2.0.0-rc1build260 6,565 4/28/2015
2.0.0-rc1build259 6,519 4/21/2015
2.0.0-rc1build258 6,513 4/29/2015
2.0.0-rc1build255 6,523 4/21/2015
2.0.0-preview256 6,524 4/15/2015
2.0.0-preview255 6,529 4/14/2015
2.0.0-preview254 6,520 4/14/2015
2.0.0-preview253 6,528 4/13/2015
2.0.0-preview252 6,525 4/10/2015
2.0.0-preview251 6,528 4/7/2015
2.0.0-preview250 6,538 4/6/2015
2.0.0-preview249 6,729 4/6/2015
2.0.0-preview248 6,529 4/7/2015
2.0.0-preview247 6,527 4/6/2015
2.0.0-preview246 6,531 4/6/2015
2.0.0-preview245 6,535 4/3/2015
2.0.0-preview244 6,512 4/3/2015
2.0.0-preview243 6,533 4/3/2015
2.0.0-preview242 6,548 4/2/2015
2.0.0-preview241 6,520 3/31/2015
2.0.0-preview240 6,533 3/31/2015
2.0.0-preview239 6,562 3/30/2015
2.0.0-preview238 6,526 3/30/2015
2.0.0-preview237 6,520 3/29/2015
2.0.0-preview236 6,531 3/28/2015
2.0.0-preview235 6,545 3/27/2015
2.0.0-preview234 6,528 3/27/2015
2.0.0-preview233 6,528 3/26/2015
2.0.0-preview232 6,511 3/26/2015
2.0.0-preview231 6,556 3/25/2015
2.0.0-preview230 6,544 3/25/2015
2.0.0-preview229 6,548 3/25/2015
2.0.0-preview228 6,533 3/23/2015
2.0.0-preview227 6,545 3/23/2015
2.0.0-preview226 6,524 3/19/2015
2.0.0-preview225 6,530 3/18/2015
2.0.0-preview224 6,522 3/18/2015
2.0.0-preview223 6,541 3/18/2015
2.0.0-preview222 6,525 3/17/2015
2.0.0-preview221 6,540 3/15/2015
2.0.0-preview220 6,521 3/14/2015
2.0.0-preview219 6,504 3/13/2015
2.0.0-preview218 6,528 3/11/2015
2.0.0-preview217 6,530 3/10/2015
2.0.0-preview216 6,585 3/10/2015
2.0.0-preview215 6,535 3/10/2015
2.0.0-preview214 6,547 3/10/2015
2.0.0-preview213 6,521 3/9/2015
2.0.0-preview212 6,524 3/6/2015
2.0.0-preview211 6,520 3/4/2015
2.0.0-preview210 6,549 3/4/2015
2.0.0-preview209 6,535 3/4/2015
2.0.0-preview208 6,529 3/3/2015
2.0.0-preview207 6,527 3/3/2015
2.0.0-preview206 6,527 3/3/2015
2.0.0-preview205 6,535 3/2/2015
2.0.0-preview204 6,528 3/2/2015
2.0.0-preview203 6,707 2/26/2015
2.0.0-preview202 6,527 2/25/2015
2.0.0-preview201 6,563 2/20/2015
2.0.0-preview200 6,661 2/20/2015
2.0.0-preview199 6,549 2/20/2015
2.0.0-preview198 6,529 2/19/2015
2.0.0-preview197 6,528 2/19/2015
2.0.0-preview196 6,536 2/19/2015
2.0.0-preview195 6,550 2/19/2015
2.0.0-preview194 6,581 2/18/2015
2.0.0-preview193 6,546 2/18/2015
2.0.0-preview192 6,623 2/17/2015
2.0.0-preview191 6,609 2/17/2015
2.0.0-preview190 6,639 2/17/2015
2.0.0-preview189 6,525 2/12/2015
2.0.0-preview188 6,554 2/11/2015
2.0.0-preview187 6,638 2/11/2015
2.0.0-preview186 6,695 2/11/2015
2.0.0-preview185 6,551 2/10/2015
2.0.0-preview184 6,532 2/10/2015
2.0.0-preview183 6,544 2/10/2015
2.0.0-preview182 6,580 2/9/2015
2.0.0-preview181 6,539 2/2/2015
2.0.0-preview180 6,541 2/2/2015
2.0.0-preview179 6,523 1/31/2015
2.0.0-preview178 6,532 1/30/2015
2.0.0-preview177 6,549 1/29/2015
2.0.0-preview176 6,605 1/24/2015
2.0.0-preview175 6,536 1/24/2015
2.0.0-preview174 6,604 1/23/2015
2.0.0-preview173 6,587 1/18/2015
2.0.0-preview172 6,537 1/19/2015
2.0.0-preview171 6,616 1/16/2015
2.0.0-preview170 6,540 1/16/2015
2.0.0-preview169 6,573 1/16/2015
2.0.0-preview168 6,535 1/16/2015
2.0.0-preview167 6,609 1/16/2015
2.0.0-preview166 6,548 1/15/2015
2.0.0-preview165 6,572 1/15/2015
2.0.0-preview164 6,539 1/15/2015
2.0.0-preview163 6,572 1/15/2015
2.0.0-preview162 6,583 1/14/2015
2.0.0-preview161 6,541 1/14/2015
2.0.0-preview160 6,532 1/14/2015
2.0.0-preview159 6,533 1/14/2015
2.0.0-preview158 6,540 1/14/2015
2.0.0-preview157 6,523 1/14/2015
2.0.0-preview156 6,543 1/13/2015
2.0.0-preview155 6,554 1/13/2015
2.0.0-preview154 6,610 1/12/2015
2.0.0-preview153 6,553 1/12/2015
2.0.0-preview152 6,543 1/9/2015
2.0.0-preview151 6,544 1/9/2015
2.0.0-preview150 6,551 1/8/2015
2.0.0-preview148 6,557 1/8/2015
2.0.0-preview147 6,543 1/3/2015
2.0.0-preview146 6,572 1/3/2015
2.0.0-preview145 6,618 12/30/2014
2.0.0-preview144 6,582 12/29/2014
2.0.0-preview143 6,604 12/29/2014
2.0.0-preview142 6,581 12/23/2014
2.0.0-preview141 6,553 12/23/2014
2.0.0-preview140 6,565 12/23/2014
2.0.0-preview139 6,635 12/20/2014
2.0.0-preview138 6,540 12/20/2014
2.0.0-preview137 6,554 12/20/2014
2.0.0-preview136 6,560 12/20/2014
2.0.0-preview135 6,522 12/20/2014
2.0.0-preview133 6,651 12/18/2014
2.0.0-preview132 6,591 12/15/2014
2.0.0-preview131 6,568 12/14/2014
2.0.0-preview130 6,540 12/12/2014
2.0.0-preview129 6,568 12/12/2014
2.0.0-preview128 6,538 12/11/2014
2.0.0-preview127 6,572 12/10/2014
2.0.0-preview126 6,576 12/10/2014
2.0.0-preview125 6,559 12/8/2014
2.0.0-preview124 6,589 12/8/2014
2.0.0-preview123 6,563 12/7/2014
2.0.0-preview119 6,661 11/24/2014
2.0.0-preview118 6,623 11/21/2014
2.0.0-preview116 6,963 11/13/2014
2.0.0-preview115 6,799 11/6/2014
2.0.0-preview114 6,977 11/6/2014
2.0.0-preview113 6,757 11/5/2014
2.0.0-preview112 6,767 11/5/2014
2.0.0-preview110 7,004 11/5/2014
2.0.0-preview109 7,027 11/4/2014
2.0.0-preview108 6,881 10/31/2014
2.0.0-preview107 7,103 10/31/2014
2.0.0-preview105 7,174 10/31/2014
2.0.0-preview104 6,535 10/29/2014
2.0.0-preview103 6,545 10/27/2014
2.0.0-preview102 6,560 10/27/2014
2.0.0-preview101 6,569 10/24/2014
2.0.0-beta258 6,531 4/21/2015
2.0.0-beta254 6,585 4/20/2015
1.4.1 10,464 10/9/2014
1.4.0 6,966 9/10/2014
1.3.1 6,724 8/18/2014
1.3.0 6,838 7/16/2014
1.2.2 6,799 7/2/2014
1.2.1 6,612 6/30/2014
1.2.0 7,074 1/9/2014
1.1.1 6,657 12/26/2013
1.1.0 6,590 12/26/2013
1.0.11 6,834 12/24/2013
Show less