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)
appget/appget
Free and open package manager for Windows.
DevTechProfile/CapFrameX
Frametime capture and analysis tool

Version History

Version Downloads Last updated
4.1.0-preview-03 3,152 10/3/2019
4.1.0-preview-02 2,089 8/25/2019
4.1.0-preview-01 224 8/21/2019
4.0.7 26,638 9/4/2019
4.0.6 1,653 8/29/2019
4.0.5 107,053 6/8/2019
4.0.5-preview-01 3,663 6/7/2019
4.0.4 54,123 5/1/2019
4.0.3 5,653 4/10/2019
4.0.2 16,027 3/30/2019
4.0.1 12,534 3/28/2019
4.0.0 25,535 3/4/2019
4.0.0-preview-02 302 2/22/2019
4.0.0-preview-01 2,834 12/1/2018
3.1.0-preview-07 2,130 11/20/2018
3.1.0-preview-06 812 11/7/2018
3.1.0-preview-05 324 10/12/2018
3.1.0-preview-04 544 10/6/2018
3.1.0-preview-03 239 10/5/2018
3.1.0-preview-02 231 10/4/2018
3.1.0-preview-01 259 10/3/2018
3.0.2 276,572 7/11/2018
3.0.1 740 7/7/2018
3.0.0 1,043 6/24/2018
3.0.0-preview-12 544 6/6/2018
3.0.0-preview-11 1,535 3/17/2018
3.0.0-preview-10 405 3/13/2018
3.0.0-preview-09 452 2/21/2018
3.0.0-preview-08 367 2/12/2018
3.0.0-preview-07 415 2/9/2018
3.0.0-preview-06 341 2/8/2018
3.0.0-preview-05 336 2/5/2018
3.0.0-preview-04 358 2/1/2018
3.0.0-preview-03 1,247 12/3/2017
3.0.0-preview-02 463 11/14/2017
3.0.0-preview-01 811 10/1/2017
2.12.10 62,942 4/11/2018
2.12.8 19,243 3/13/2018
2.12.7 16,097 1/19/2018
2.12.6 61,515 12/21/2017
2.12.5 19,713 10/30/2017
2.12.4 6,975 10/17/2017
2.12.3 3,966 10/2/2017
2.12.2 16,498 9/17/2017
2.12.1 23,727 9/9/2017
2.12.0 1,657 9/1/2017
2.12.0-preview-01 479 8/29/2017
2.11.6 8,977 7/18/2017
2.11.5 1,857 7/12/2017
2.11.4 6,400 6/28/2017
2.11.3 5,083 6/1/2017
2.11.2 367 6/1/2017
2.11.1 588 5/31/2017
2.11.0 483 5/30/2017
2.11.0-preview-02 593 3/15/2017
2.11.0-preview-01 364 3/10/2017
2.10.7 6,536 5/3/2017
2.10.6 36,644 4/20/2017
2.10.4 2,993 3/28/2017
2.10.3 514 3/25/2017
2.10.2 4,333 3/14/2017
2.10.1 18,974 2/18/2017
2.10.0 6,852 2/1/2017
2.9.7 5,464 1/12/2017
2.9.6 874 12/30/2016
2.9.5 652 12/26/2016
2.9.4 1,743 12/10/2016
2.9.3 608 12/8/2016
2.9.2 585 12/3/2016
2.9.1 1,336 11/19/2016
2.9.0 892 11/17/2016
2.8.5 1,243 11/2/2016
2.8.4 616 10/28/2016
2.8.3 4,702 10/20/2016
2.8.2 658 10/20/2016
2.8.1 395 10/19/2016
2.8.0 396 10/18/2016
2.8.0-preview-01 361 10/13/2016
2.7.1 21,155 9/1/2016
2.7.0 3,458 8/19/2016
2.6.4 2,701 7/29/2016
2.6.3 2,611 7/9/2016
2.6.3-netcore-rc2 682 7/9/2016
2.6.2 2,437 6/13/2016
2.6.2-netcore-rc2 545 6/13/2016
2.6.1-netcore-rc2 356 6/10/2016
2.6.0 575 6/10/2016
2.5.1 497 6/7/2016
2.5.0 1,197 5/24/2016
2.4.3 1,390 5/7/2016
2.4.2 637 4/26/2016
2.4.1 2,264 4/16/2016
2.4.0 480 4/14/2016
2.3.0 1,694 3/30/2016
2.2.2 4,225 3/10/2016
2.2.1 424 3/8/2016
2.2.0 848 2/26/2016
2.1.3 1,116 1/17/2016
2.1.2 528 1/15/2016
2.1.1 675 1/4/2016
2.1.0 1,336 12/4/2015
2.0.2 652 12/1/2015
2.0.1 548 11/27/2015
2.0.0 1,801 11/19/2015
2.0.0-rc4build353 446 11/18/2015
2.0.0-rc4build352 415 11/17/2015
2.0.0-rc4build351 429 11/17/2015
2.0.0-rc4build350 466 11/17/2015
2.0.0-rc4build349 450 11/12/2015
2.0.0-rc4build348 426 11/12/2015
2.0.0-rc4build347 432 11/12/2015
2.0.0-rc4build346 455 11/12/2015
2.0.0-rc4build345 416 11/12/2015
2.0.0-rc4build344 433 11/7/2015
2.0.0-rc4build343 461 11/5/2015
2.0.0-rc4build342 753 11/1/2015
2.0.0-rc4build341 429 10/29/2015
2.0.0-rc4build340 445 11/12/2015
2.0.0-rc4build339 427 11/7/2015
2.0.0-rc4build338 442 11/5/2015
2.0.0-rc4build337 428 11/1/2015
2.0.0-rc4build336 441 10/29/2015
2.0.0-rc3build340 403 10/26/2015
2.0.0-rc3build339 400 10/26/2015
2.0.0-rc3build338 364 10/23/2015
2.0.0-rc3build337 433 10/20/2015
2.0.0-rc3build336 398 10/19/2015
2.0.0-rc3build335 495 10/12/2015
2.0.0-rc3build334 394 10/10/2015
2.0.0-rc3build333 426 10/6/2015
2.0.0-rc3build332 415 10/6/2015
2.0.0-rc3build331 427 10/1/2015
2.0.0-rc3build330 373 10/1/2015
2.0.0-rc3build329 382 9/30/2015
2.0.0-rc3build328 425 9/26/2015
2.0.0-rc3build327 397 9/25/2015
2.0.0-rc3build326 372 9/25/2015
2.0.0-rc3build325 392 9/25/2015
2.0.0-rc3build324 467 9/11/2015
2.0.0-rc3build323 440 9/11/2015
2.0.0-rc3build322 406 9/11/2015
2.0.0-rc3build321 396 9/11/2015
2.0.0-rc3build320 372 9/11/2015
2.0.0-rc3build319 417 9/8/2015
2.0.0-rc3build318 433 9/6/2015
2.0.0-rc3build317 414 9/3/2015
2.0.0-rc3build316 480 9/2/2015
2.0.0-rc3build315 419 8/31/2015
2.0.0-rc3build314 427 9/8/2015
2.0.0-rc3build313 389 8/29/2015
2.0.0-rc3build312 426 8/23/2015
2.0.0-rc3build311 415 8/21/2015
2.0.0-rc3build310 434 8/18/2015
2.0.0-rc3build309 411 8/12/2015
2.0.0-rc3build308 362 8/6/2015
2.0.0-rc3build307 394 8/23/2015
2.0.0-rc3build306 370 8/6/2015
2.0.0-rc3build304 436 8/4/2015
2.0.0-rc3build303 366 8/6/2015
2.0.0-rc3build302 375 8/3/2015
2.0.0-rc3build301 403 7/31/2015
2.0.0-rc3build300 497 7/28/2015
2.0.0-rc3build299 398 7/28/2015
2.0.0-rc3build298 378 7/28/2015
2.0.0-rc3build297 366 7/31/2015
2.0.0-rc2build297 405 7/26/2015
2.0.0-rc2build295 544 7/24/2015
2.0.0-rc2build294 407 7/24/2015
2.0.0-rc2build293 390 7/26/2015
2.0.0-rc2build292 400 7/21/2015
2.0.0-rc2build291 396 7/24/2015
2.0.0-rc2build289 387 7/21/2015
2.0.0-rc1build371 353 1/11/2016
2.0.0-rc1build366 354 1/11/2016
2.0.0-rc1build288 397 7/4/2015
2.0.0-rc1build287 384 6/19/2015
2.0.0-rc1build286 388 6/8/2015
2.0.0-rc1build285 377 6/4/2015
2.0.0-rc1build284 403 6/3/2015
2.0.0-rc1build283 524 6/1/2015
2.0.0-rc1build282 398 5/29/2015
2.0.0-rc1build281 377 5/27/2015
2.0.0-rc1build280 437 5/27/2015
2.0.0-rc1build279 414 5/21/2015
2.0.0-rc1build278 444 5/16/2015
2.0.0-rc1build277 446 5/15/2015
2.0.0-rc1build276 538 5/21/2015
2.0.0-rc1build275 377 5/16/2015
2.0.0-rc1build274 443 5/15/2015
2.0.0-rc1build273 388 5/15/2015
2.0.0-rc1build272 422 5/14/2015
2.0.0-rc1build271 387 5/14/2015
2.0.0-rc1build270 372 5/13/2015
2.0.0-rc1build269 395 5/14/2015
2.0.0-rc1build268 401 5/12/2015
2.0.0-rc1build267 407 5/10/2015
2.0.0-rc1build266 396 5/7/2015
2.0.0-rc1build265 391 5/6/2015
2.0.0-rc1build264 398 5/5/2015
2.0.0-rc1build263 398 5/1/2015
2.0.0-rc1build262 393 4/30/2015
2.0.0-rc1build261 366 4/29/2015
2.0.0-rc1build260 378 4/28/2015
2.0.0-rc1build259 397 4/21/2015
2.0.0-rc1build258 373 4/29/2015
2.0.0-rc1build255 383 4/21/2015
2.0.0-preview256 499 4/15/2015
2.0.0-preview255 416 4/14/2015
2.0.0-preview254 404 4/14/2015
2.0.0-preview253 441 4/13/2015
2.0.0-preview252 453 4/10/2015
2.0.0-preview251 492 4/7/2015
2.0.0-preview250 415 4/6/2015
2.0.0-preview249 455 4/6/2015
2.0.0-preview248 405 4/7/2015
2.0.0-preview247 418 4/6/2015
2.0.0-preview246 475 4/6/2015
2.0.0-preview245 409 4/3/2015
2.0.0-preview244 433 4/3/2015
2.0.0-preview243 403 4/3/2015
2.0.0-preview242 405 4/2/2015
2.0.0-preview241 403 3/31/2015
2.0.0-preview240 406 3/31/2015
2.0.0-preview239 402 3/30/2015
2.0.0-preview238 416 3/30/2015
2.0.0-preview237 407 3/29/2015
2.0.0-preview236 407 3/28/2015
2.0.0-preview235 451 3/27/2015
2.0.0-preview234 426 3/27/2015
2.0.0-preview233 423 3/26/2015
2.0.0-preview232 407 3/26/2015
2.0.0-preview231 428 3/25/2015
2.0.0-preview230 451 3/25/2015
2.0.0-preview229 406 3/25/2015
2.0.0-preview228 438 3/23/2015
2.0.0-preview227 414 3/23/2015
2.0.0-preview226 423 3/19/2015
2.0.0-preview225 436 3/18/2015
2.0.0-preview224 433 3/18/2015
2.0.0-preview223 443 3/18/2015
2.0.0-preview222 407 3/17/2015
2.0.0-preview221 417 3/15/2015
2.0.0-preview220 401 3/14/2015
2.0.0-preview219 403 3/13/2015
2.0.0-preview218 448 3/11/2015
2.0.0-preview217 402 3/10/2015
2.0.0-preview216 421 3/10/2015
2.0.0-preview215 459 3/10/2015
2.0.0-preview214 411 3/10/2015
2.0.0-preview213 415 3/9/2015
2.0.0-preview212 435 3/6/2015
2.0.0-preview211 412 3/4/2015
2.0.0-preview210 462 3/4/2015
2.0.0-preview209 406 3/4/2015
2.0.0-preview208 414 3/3/2015
2.0.0-preview207 395 3/3/2015
2.0.0-preview206 405 3/3/2015
2.0.0-preview205 405 3/2/2015
2.0.0-preview204 399 3/2/2015
2.0.0-preview203 424 2/26/2015
2.0.0-preview202 444 2/25/2015
2.0.0-preview201 414 2/20/2015
2.0.0-preview200 523 2/20/2015
2.0.0-preview199 420 2/20/2015
2.0.0-preview198 460 2/19/2015
2.0.0-preview197 405 2/19/2015
2.0.0-preview196 437 2/19/2015
2.0.0-preview195 417 2/19/2015
2.0.0-preview194 466 2/18/2015
2.0.0-preview193 523 2/18/2015
2.0.0-preview192 468 2/17/2015
2.0.0-preview191 521 2/17/2015
2.0.0-preview190 407 2/17/2015
2.0.0-preview189 445 2/12/2015
2.0.0-preview188 525 2/11/2015
2.0.0-preview187 536 2/11/2015
2.0.0-preview186 436 2/11/2015
2.0.0-preview185 433 2/10/2015
2.0.0-preview184 458 2/10/2015
2.0.0-preview183 502 2/10/2015
2.0.0-preview182 421 2/9/2015
2.0.0-preview181 440 2/2/2015
2.0.0-preview180 442 2/2/2015
2.0.0-preview179 408 1/31/2015
2.0.0-preview178 459 1/30/2015
2.0.0-preview177 469 1/29/2015
2.0.0-preview176 427 1/24/2015
2.0.0-preview175 492 1/24/2015
2.0.0-preview174 481 1/23/2015
2.0.0-preview173 467 1/18/2015
2.0.0-preview172 455 1/19/2015
2.0.0-preview171 452 1/16/2015
2.0.0-preview170 484 1/16/2015
2.0.0-preview169 428 1/16/2015
2.0.0-preview168 417 1/16/2015
2.0.0-preview167 424 1/16/2015
2.0.0-preview166 499 1/15/2015
2.0.0-preview165 501 1/15/2015
2.0.0-preview164 446 1/15/2015
2.0.0-preview163 437 1/15/2015
2.0.0-preview162 456 1/14/2015
2.0.0-preview161 488 1/14/2015
2.0.0-preview160 426 1/14/2015
2.0.0-preview159 497 1/14/2015
2.0.0-preview158 445 1/14/2015
2.0.0-preview157 465 1/14/2015
2.0.0-preview156 437 1/13/2015
2.0.0-preview155 476 1/13/2015
2.0.0-preview154 448 1/12/2015
2.0.0-preview153 458 1/12/2015
2.0.0-preview152 408 1/9/2015
2.0.0-preview151 423 1/9/2015
2.0.0-preview150 424 1/8/2015
2.0.0-preview148 419 1/8/2015
2.0.0-preview147 443 1/3/2015
2.0.0-preview146 432 1/3/2015
2.0.0-preview145 464 12/30/2014
2.0.0-preview144 475 12/29/2014
2.0.0-preview143 488 12/29/2014
2.0.0-preview142 434 12/23/2014
2.0.0-preview141 452 12/23/2014
2.0.0-preview140 443 12/23/2014
2.0.0-preview139 441 12/20/2014
2.0.0-preview138 424 12/20/2014
2.0.0-preview137 426 12/20/2014
2.0.0-preview136 422 12/20/2014
2.0.0-preview135 422 12/20/2014
2.0.0-preview133 417 12/18/2014
2.0.0-preview132 432 12/15/2014
2.0.0-preview131 426 12/14/2014
2.0.0-preview130 498 12/12/2014
2.0.0-preview129 433 12/12/2014
2.0.0-preview128 483 12/11/2014
2.0.0-preview127 440 12/10/2014
2.0.0-preview126 433 12/10/2014
2.0.0-preview125 431 12/8/2014
2.0.0-preview124 430 12/8/2014
2.0.0-preview123 477 12/7/2014
2.0.0-preview119 495 11/24/2014
2.0.0-preview118 548 11/21/2014
2.0.0-preview116 1,018 11/13/2014
2.0.0-preview115 646 11/6/2014
2.0.0-preview114 851 11/6/2014
2.0.0-preview113 640 11/5/2014
2.0.0-preview112 634 11/5/2014
2.0.0-preview110 899 11/5/2014
2.0.0-preview109 966 11/4/2014
2.0.0-preview108 791 10/31/2014
2.0.0-preview107 1,043 10/31/2014
2.0.0-preview105 1,039 10/31/2014
2.0.0-preview104 432 10/29/2014
2.0.0-preview103 433 10/27/2014
2.0.0-preview102 483 10/27/2014
2.0.0-preview101 444 10/24/2014
2.0.0-beta258 401 4/21/2015
2.0.0-beta254 454 4/20/2015
1.4.1 1,984 10/9/2014
1.4.0 736 9/10/2014
1.3.1 568 8/18/2014
1.3.0 578 7/16/2014
1.2.2 582 7/2/2014
1.2.1 481 6/30/2014
1.2.0 667 1/9/2014
1.1.1 554 12/26/2013
1.1.0 497 12/26/2013
1.0.11 523 12/24/2013