DryIoc.dll 4.0.7

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

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

Release Notes

## v4.0.7 Release notes

- fixed: #173 Validate-Method throws System.TypeInitializationException : The type initializer for 'DryIoc.OpenGenericTypeKey' threw an exception.

## v4.0.6 Release notes

- fixed: #171 Wrong IContainer resolved

## v4.0.5 Release notes

- fixed: #133 Validate method call hangs
- fixed: #134 with finding is th property is static in VB

## v4.0.4 Release notes

- fixed: #116: DryIoc Resolve with decorators goes wrong for parallel execution
- fixed: #119: v4.0.3 packages were targeting only .NET 4.5 and .NET Standard 2.0
- fixed: #120: V4.0.3 double dryioc break the build
- fixed: #121: FastExpressionCompiler.cs and Expression.cs code comment out in .NetFramework 4.7
- fixed: #124: Stackoverflow exception 4.0.3

## v4.0.3 Release notes

- fixed: #109: Cannot inject a struct using a Func wrapper
- fixed: #114: Resolve Action<T>

## v4.0.2 Release notes

- fixed: #100: ResolveMany with Meta does NOT work but collection with Meta does work

## v4.0.1 Release notes

- added: #95: Serializable ContainerException for supported targets
- fixed: #97: Resolving last registration from multiple default services bug
- fixed: #89: DryIoC.CommonServiceLocator.dll package out-of-date link

## v4.0.0 Release notes

### Highlights

- DryIoc.dll and all extensions are strongly-signed.
- Greatly improved performance and decreased memory allocations for bootstrapping and first-time resolution, as well as for the rest of operations. [The results](https://github.com/dadhi/DryIoc/issues/26#issuecomment-466460255) were measured on realistic mid-sized object graph with ~40 dependencies and mixed registration types.
- `IResolver` is directly implementing (`IServiceProvider`)[https://docs.microsoft.com/en-us/dotnet/api/system.iserviceprovider?view=netframework-4.7.2] for supported platforms
- `UseInstance` is split into `RegisterInstance` and `Use` methods #78
- The docs now are generated from `.cs` files in _DryIoc.Docs_ project with up-to-date runnable examples using [CsToMd](https://github.com/dadhi/Cstomd) project.

### Features

- added: #4 Rule for Func and Lazy to be resolved even without requested service registered
- added: #8 Parity of registration methods between IContainer and IRegistrator (RegisterMapping and RegisterPlaceholder are available in IRegistrator)
- added: #9 RegisterMany should indicate if no registration was made
- added: #11 Resolution root bound dependency expression de-duplication
- added: #17 Rules.DefaultRegistrationServiceKey enhancement
- added: #20 Enhance error message with current container Rules info
- added: #32 Integrate MediatR like middleware directly to DryIoc #32
- added: #39 For troubleshooting purposes add ability to opt-out FastExpressionCompiler
- Added: #45 Consider expression interpretation to speed-up first time resolution
- added: #78 Split UseInstance two roles into separate RegisterInstance and Use
- added: DryIoc IResolver now directly implements IServiceProvider - no need for BuildServiceProvider anymore
- added: DryIoc.Rules.Rules.MicrosoftDependencyInjectionRules - the set of rules for MS.DI available directly in DryIoc
- added: FactoryInfo.Of(MemberInfo factoryMember, object factoryInstance)
- added: Explicit Factory.RegistrationOrder and adapted its usage for open-generics
- added: IRegistrator.GetRegisteredFactories
- added: FactoryType to Registrator.RegisterMapping
- added: AsyncExecutionFlowScopeContext.Default member
- added: Support for FEC v2.0

### Fixes

- fixed: #6 Open generic singleton service registration that satisfies multiple interfaces
- fixed: #7 Context-based injection
- fixed: #16 AutoConcreteTypeResolution should not consider a primitive type
- fixed: #25 Decorator with serviceKey throws exception which gives invalid advice on how to fix the issue for the most common reason to use the servicekey
- fixed: #26 Speed Optimization for short living applications
- fixed: #27 DryIoc cold start performance
- fixed: #28 FastExpressionCompiler is not used in Net Standard 1.3, 2.0 packages and not used in .Net Core
- fixed: #29 Resolve caches object[] args values
- fixed: #33 Memory leak with ResolveManyBehavior.AzLazyEnumerable?
- fixed: #41 ErrorCode: RegisteredFactoryMethodResultTypesIsNotAssignableToImplementationType
- fixed: #46 Operation is not supported on this platform exception on Xamarin iOS
- fixed: #61 Rules.SelectLastRegisteredFactory() does not account for OpenGenerics
- fixed: #63 Func wrapper resolving #63
- fixed: #75 Scoped call to Resolve() with args seems to leak memory
- fixed: BB-593 Add auto-generated tag to PCL FEC
- fixed: BB-594 Conflicting type is not working in .NET Core 2.1
- fixed: BB-596 The problem was in non-public service type- fixed: RegisterMapping for open-generic service type
- fixed: Using facadeKey in CreateFacade

  • .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 9 GitHub repositories that depend on DryIoc.dll:

Repository Stars
PrismLibrary/Prism
Prism is a framework for building loosely coupled, maintainable, and testable XAML applications in WPF, Windows 10 UWP, and Xamarin Forms.
structuremap/structuremap
A Dependency Injection/Inversion of Control tool for .NET
digimezzo/Dopamine
Audio player which tries to make organizing and listening to music as simple and pretty as possible.
reactiveui/splat
Makes things cross-platform
danielpalme/IocPerformance
Performance comparison of .NET IoC containers
dadhi/DryIoc
DryIoc is fast, small, full-featured IoC Container for .NET
pamidur/aspect-injector
AOP framework for .NET (c#, vb, etc)
PrismLibrary/Prism-Samples-Forms
Samples that demonstrate how to use various Prism features with Xamarin.Forms
appget/appget
Free and open package manager for Windows.

Version History

Version Downloads Last updated
4.1.0-preview-03 762 10/3/2019
4.1.0-preview-02 1,789 8/25/2019
4.1.0-preview-01 201 8/21/2019
4.0.7 6,678 9/4/2019
4.0.6 1,541 8/29/2019
4.0.5 73,399 6/8/2019
4.0.5-preview-01 3,288 6/7/2019
4.0.4 35,463 5/1/2019
4.0.3 5,122 4/10/2019
4.0.2 12,027 3/30/2019
4.0.1 11,496 3/28/2019
4.0.0 22,627 3/4/2019
4.0.0-preview-02 286 2/22/2019
4.0.0-preview-01 2,818 12/1/2018
3.1.0-preview-07 2,106 11/20/2018
3.1.0-preview-06 776 11/7/2018
3.1.0-preview-05 307 10/12/2018
3.1.0-preview-04 518 10/6/2018
3.1.0-preview-03 224 10/5/2018
3.1.0-preview-02 214 10/4/2018
3.1.0-preview-01 244 10/3/2018
3.0.2 256,237 7/11/2018
3.0.1 712 7/7/2018
3.0.0 1,019 6/24/2018
3.0.0-preview-12 525 6/6/2018
3.0.0-preview-11 1,513 3/17/2018
3.0.0-preview-10 383 3/13/2018
3.0.0-preview-09 434 2/21/2018
3.0.0-preview-08 353 2/12/2018
3.0.0-preview-07 397 2/9/2018
3.0.0-preview-06 322 2/8/2018
3.0.0-preview-05 316 2/5/2018
3.0.0-preview-04 337 2/1/2018
3.0.0-preview-03 1,229 12/3/2017
3.0.0-preview-02 411 11/14/2017
3.0.0-preview-01 755 10/1/2017
2.12.10 58,290 4/11/2018
2.12.8 18,314 3/13/2018
2.12.7 15,737 1/19/2018
2.12.6 59,328 12/21/2017
2.12.5 19,253 10/30/2017
2.12.4 6,785 10/17/2017
2.12.3 3,889 10/2/2017
2.12.2 16,150 9/17/2017
2.12.1 21,646 9/9/2017
2.12.0 1,597 9/1/2017
2.12.0-preview-01 445 8/29/2017
2.11.6 8,833 7/18/2017
2.11.5 1,796 7/12/2017
2.11.4 6,376 6/28/2017
2.11.3 4,992 6/1/2017
2.11.2 351 6/1/2017
2.11.1 571 5/31/2017
2.11.0 467 5/30/2017
2.11.0-preview-02 575 3/15/2017
2.11.0-preview-01 350 3/10/2017
2.10.7 6,421 5/3/2017
2.10.6 36,023 4/20/2017
2.10.4 2,921 3/28/2017
2.10.3 498 3/25/2017
2.10.2 4,312 3/14/2017
2.10.1 18,634 2/18/2017
2.10.0 6,686 2/1/2017
2.9.7 5,107 1/12/2017
2.9.6 855 12/30/2016
2.9.5 636 12/26/2016
2.9.4 1,703 12/10/2016
2.9.3 592 12/8/2016
2.9.2 565 12/3/2016
2.9.1 1,314 11/19/2016
2.9.0 868 11/17/2016
2.8.5 1,218 11/2/2016
2.8.4 595 10/28/2016
2.8.3 4,605 10/20/2016
2.8.2 637 10/20/2016
2.8.1 380 10/19/2016
2.8.0 376 10/18/2016
2.8.0-preview-01 344 10/13/2016
2.7.1 19,901 9/1/2016
2.7.0 3,399 8/19/2016
2.6.4 2,668 7/29/2016
2.6.3 2,580 7/9/2016
2.6.3-netcore-rc2 668 7/9/2016
2.6.2 2,406 6/13/2016
2.6.2-netcore-rc2 532 6/13/2016
2.6.1-netcore-rc2 344 6/10/2016
2.6.0 555 6/10/2016
2.5.1 479 6/7/2016
2.5.0 1,178 5/24/2016
2.4.3 1,363 5/7/2016
2.4.2 622 4/26/2016
2.4.1 2,155 4/16/2016
2.4.0 464 4/14/2016
2.3.0 1,674 3/30/2016
2.2.2 4,181 3/10/2016
2.2.1 410 3/8/2016
2.2.0 825 2/26/2016
2.1.3 1,101 1/17/2016
2.1.2 512 1/15/2016
2.1.1 657 1/4/2016
2.1.0 1,315 12/4/2015
2.0.2 631 12/1/2015
2.0.1 525 11/27/2015
2.0.0 1,778 11/19/2015
2.0.0-rc4build353 431 11/18/2015
2.0.0-rc4build352 398 11/17/2015
2.0.0-rc4build351 801 11/17/2015
2.0.0-rc4build350 452 11/17/2015
2.0.0-rc4build349 432 11/12/2015
2.0.0-rc4build348 412 11/12/2015
2.0.0-rc4build347 417 11/12/2015
2.0.0-rc4build346 440 11/12/2015
2.0.0-rc4build345 401 11/12/2015
2.0.0-rc4build344 416 11/7/2015
2.0.0-rc4build343 446 11/5/2015
2.0.0-rc4build342 736 11/1/2015
2.0.0-rc4build341 415 10/29/2015
2.0.0-rc4build340 433 11/12/2015
2.0.0-rc4build339 411 11/7/2015
2.0.0-rc4build338 427 11/5/2015
2.0.0-rc4build337 412 11/1/2015
2.0.0-rc4build336 422 10/29/2015
2.0.0-rc3build340 388 10/26/2015
2.0.0-rc3build339 386 10/26/2015
2.0.0-rc3build338 352 10/23/2015
2.0.0-rc3build337 420 10/20/2015
2.0.0-rc3build336 383 10/19/2015
2.0.0-rc3build335 481 10/12/2015
2.0.0-rc3build334 377 10/10/2015
2.0.0-rc3build333 412 10/6/2015
2.0.0-rc3build332 403 10/6/2015
2.0.0-rc3build331 417 10/1/2015
2.0.0-rc3build330 359 10/1/2015
2.0.0-rc3build329 368 9/30/2015
2.0.0-rc3build328 412 9/26/2015
2.0.0-rc3build327 383 9/25/2015
2.0.0-rc3build326 360 9/25/2015
2.0.0-rc3build325 379 9/25/2015
2.0.0-rc3build324 454 9/11/2015
2.0.0-rc3build323 425 9/11/2015
2.0.0-rc3build322 393 9/11/2015
2.0.0-rc3build321 383 9/11/2015
2.0.0-rc3build320 360 9/11/2015
2.0.0-rc3build319 405 9/8/2015
2.0.0-rc3build318 419 9/6/2015
2.0.0-rc3build317 402 9/3/2015
2.0.0-rc3build316 468 9/2/2015
2.0.0-rc3build315 405 8/31/2015
2.0.0-rc3build314 412 9/8/2015
2.0.0-rc3build313 374 8/29/2015
2.0.0-rc3build312 410 8/23/2015
2.0.0-rc3build311 403 8/21/2015
2.0.0-rc3build310 421 8/18/2015
2.0.0-rc3build309 397 8/12/2015
2.0.0-rc3build308 350 8/6/2015
2.0.0-rc3build307 379 8/23/2015
2.0.0-rc3build306 358 8/6/2015
2.0.0-rc3build304 422 8/4/2015
2.0.0-rc3build303 354 8/6/2015
2.0.0-rc3build302 363 8/3/2015
2.0.0-rc3build301 390 7/31/2015
2.0.0-rc3build300 485 7/28/2015
2.0.0-rc3build299 383 7/28/2015
2.0.0-rc3build298 367 7/28/2015
2.0.0-rc3build297 356 7/31/2015
2.0.0-rc2build297 394 7/26/2015
2.0.0-rc2build295 532 7/24/2015
2.0.0-rc2build294 391 7/24/2015
2.0.0-rc2build293 376 7/26/2015
2.0.0-rc2build292 389 7/21/2015
2.0.0-rc2build291 384 7/24/2015
2.0.0-rc2build289 372 7/21/2015
2.0.0-rc1build371 342 1/11/2016
2.0.0-rc1build366 340 1/11/2016
2.0.0-rc1build288 384 7/4/2015
2.0.0-rc1build287 368 6/19/2015
2.0.0-rc1build286 375 6/8/2015
2.0.0-rc1build285 363 6/4/2015
2.0.0-rc1build284 390 6/3/2015
2.0.0-rc1build283 508 6/1/2015
2.0.0-rc1build282 383 5/29/2015
2.0.0-rc1build281 364 5/27/2015
2.0.0-rc1build280 422 5/27/2015
2.0.0-rc1build279 403 5/21/2015
2.0.0-rc1build278 430 5/16/2015
2.0.0-rc1build277 433 5/15/2015
2.0.0-rc1build276 524 5/21/2015
2.0.0-rc1build275 362 5/16/2015
2.0.0-rc1build274 428 5/15/2015
2.0.0-rc1build273 377 5/15/2015
2.0.0-rc1build272 407 5/14/2015
2.0.0-rc1build271 375 5/14/2015
2.0.0-rc1build270 361 5/13/2015
2.0.0-rc1build269 382 5/14/2015
2.0.0-rc1build268 389 5/12/2015
2.0.0-rc1build267 395 5/10/2015
2.0.0-rc1build266 385 5/7/2015
2.0.0-rc1build265 375 5/6/2015
2.0.0-rc1build264 381 5/5/2015
2.0.0-rc1build263 385 5/1/2015
2.0.0-rc1build262 379 4/30/2015
2.0.0-rc1build261 353 4/29/2015
2.0.0-rc1build260 364 4/28/2015
2.0.0-rc1build259 380 4/21/2015
2.0.0-rc1build258 359 4/29/2015
2.0.0-rc1build255 371 4/21/2015
2.0.0-preview256 484 4/15/2015
2.0.0-preview255 396 4/14/2015
2.0.0-preview254 389 4/14/2015
2.0.0-preview253 427 4/13/2015
2.0.0-preview252 437 4/10/2015
2.0.0-preview251 473 4/7/2015
2.0.0-preview250 397 4/6/2015
2.0.0-preview249 440 4/6/2015
2.0.0-preview248 389 4/7/2015
2.0.0-preview247 404 4/6/2015
2.0.0-preview246 459 4/6/2015
2.0.0-preview245 391 4/3/2015
2.0.0-preview244 416 4/3/2015
2.0.0-preview243 388 4/3/2015
2.0.0-preview242 392 4/2/2015
2.0.0-preview241 389 3/31/2015
2.0.0-preview240 387 3/31/2015
2.0.0-preview239 383 3/30/2015
2.0.0-preview238 400 3/30/2015
2.0.0-preview237 391 3/29/2015
2.0.0-preview236 395 3/28/2015
2.0.0-preview235 433 3/27/2015
2.0.0-preview234 408 3/27/2015
2.0.0-preview233 404 3/26/2015
2.0.0-preview232 390 3/26/2015
2.0.0-preview231 410 3/25/2015
2.0.0-preview230 431 3/25/2015
2.0.0-preview229 391 3/25/2015
2.0.0-preview228 424 3/23/2015
2.0.0-preview227 399 3/23/2015
2.0.0-preview226 403 3/19/2015
2.0.0-preview225 419 3/18/2015
2.0.0-preview224 415 3/18/2015
2.0.0-preview223 427 3/18/2015
2.0.0-preview222 390 3/17/2015
2.0.0-preview221 397 3/15/2015
2.0.0-preview220 384 3/14/2015
2.0.0-preview219 386 3/13/2015
2.0.0-preview218 432 3/11/2015
2.0.0-preview217 382 3/10/2015
2.0.0-preview216 402 3/10/2015
2.0.0-preview215 441 3/10/2015
2.0.0-preview214 391 3/10/2015
2.0.0-preview213 396 3/9/2015
2.0.0-preview212 417 3/6/2015
2.0.0-preview211 395 3/4/2015
2.0.0-preview210 447 3/4/2015
2.0.0-preview209 389 3/4/2015
2.0.0-preview208 393 3/3/2015
2.0.0-preview207 375 3/3/2015
2.0.0-preview206 386 3/3/2015
2.0.0-preview205 388 3/2/2015
2.0.0-preview204 382 3/2/2015
2.0.0-preview203 406 2/26/2015
2.0.0-preview202 426 2/25/2015
2.0.0-preview201 397 2/20/2015
2.0.0-preview200 505 2/20/2015
2.0.0-preview199 402 2/20/2015
2.0.0-preview198 443 2/19/2015
2.0.0-preview197 387 2/19/2015
2.0.0-preview196 420 2/19/2015
2.0.0-preview195 400 2/19/2015
2.0.0-preview194 445 2/18/2015
2.0.0-preview193 507 2/18/2015
2.0.0-preview192 451 2/17/2015
2.0.0-preview191 501 2/17/2015
2.0.0-preview190 391 2/17/2015
2.0.0-preview189 427 2/12/2015
2.0.0-preview188 508 2/11/2015
2.0.0-preview187 521 2/11/2015
2.0.0-preview186 419 2/11/2015
2.0.0-preview185 413 2/10/2015
2.0.0-preview184 443 2/10/2015
2.0.0-preview183 486 2/10/2015
2.0.0-preview182 405 2/9/2015
2.0.0-preview181 428 2/2/2015
2.0.0-preview180 426 2/2/2015
2.0.0-preview179 393 1/31/2015
2.0.0-preview178 443 1/30/2015
2.0.0-preview177 453 1/29/2015
2.0.0-preview176 413 1/24/2015
2.0.0-preview175 476 1/24/2015
2.0.0-preview174 464 1/23/2015
2.0.0-preview173 448 1/18/2015
2.0.0-preview172 438 1/19/2015
2.0.0-preview171 437 1/16/2015
2.0.0-preview170 465 1/16/2015
2.0.0-preview169 414 1/16/2015
2.0.0-preview168 402 1/16/2015
2.0.0-preview167 406 1/16/2015
2.0.0-preview166 481 1/15/2015
2.0.0-preview165 483 1/15/2015
2.0.0-preview164 428 1/15/2015
2.0.0-preview163 418 1/15/2015
2.0.0-preview162 443 1/14/2015
2.0.0-preview161 471 1/14/2015
2.0.0-preview160 407 1/14/2015
2.0.0-preview159 483 1/14/2015
2.0.0-preview158 428 1/14/2015
2.0.0-preview157 448 1/14/2015
2.0.0-preview156 419 1/13/2015
2.0.0-preview155 461 1/13/2015
2.0.0-preview154 432 1/12/2015
2.0.0-preview153 438 1/12/2015
2.0.0-preview152 394 1/9/2015
2.0.0-preview151 405 1/9/2015
2.0.0-preview150 409 1/8/2015
2.0.0-preview148 402 1/8/2015
2.0.0-preview147 427 1/3/2015
2.0.0-preview146 417 1/3/2015
2.0.0-preview145 448 12/30/2014
2.0.0-preview144 459 12/29/2014
2.0.0-preview143 471 12/29/2014
2.0.0-preview142 420 12/23/2014
2.0.0-preview141 435 12/23/2014
2.0.0-preview140 425 12/23/2014
2.0.0-preview139 426 12/20/2014
2.0.0-preview138 406 12/20/2014
2.0.0-preview137 411 12/20/2014
2.0.0-preview136 407 12/20/2014
2.0.0-preview135 404 12/20/2014
2.0.0-preview133 401 12/18/2014
2.0.0-preview132 416 12/15/2014
2.0.0-preview131 411 12/14/2014
2.0.0-preview130 483 12/12/2014
2.0.0-preview129 417 12/12/2014
2.0.0-preview128 466 12/11/2014
2.0.0-preview127 423 12/10/2014
2.0.0-preview126 418 12/10/2014
2.0.0-preview125 419 12/8/2014
2.0.0-preview124 416 12/8/2014
2.0.0-preview123 461 12/7/2014
2.0.0-preview119 479 11/24/2014
2.0.0-preview118 533 11/21/2014
2.0.0-preview116 1,001 11/13/2014
2.0.0-preview115 629 11/6/2014
2.0.0-preview114 834 11/6/2014
2.0.0-preview113 623 11/5/2014
2.0.0-preview112 618 11/5/2014
2.0.0-preview110 883 11/5/2014
2.0.0-preview109 950 11/4/2014
2.0.0-preview108 776 10/31/2014
2.0.0-preview107 1,029 10/31/2014
2.0.0-preview105 1,023 10/31/2014
2.0.0-preview104 418 10/29/2014
2.0.0-preview103 417 10/27/2014
2.0.0-preview102 466 10/27/2014
2.0.0-preview101 429 10/24/2014
2.0.0-beta258 387 4/21/2015
2.0.0-beta254 439 4/20/2015
1.4.1 1,964 10/9/2014
1.4.0 723 9/10/2014
1.3.1 550 8/18/2014
1.3.0 562 7/16/2014
1.2.2 567 7/2/2014
1.2.1 462 6/30/2014
1.2.0 647 1/9/2014
1.1.1 534 12/26/2013
1.1.0 482 12/26/2013
1.0.11 505 12/24/2013