DryIoc.dll 4.1.0-preview-02

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

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

Release Notes

## v4.1.0

### Briefly:

- Bug fixes
- Better memory and performance for the real-world applications - big object graphs and the Unit-of-work scenarios
- FEC V3.0 optimized for nested lambda invocation (scoped services in DryIoc) and consuming less memory
- Rules.WithUseInterpretation to work iOS
- Streamlined ambient ScopeContext scope disposal, ensuring more predictable AsyncExecutionFlowScopeContext, ThreadScopeContext behavior


## 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 8 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
PrismLibrary/Prism-Samples-Forms
Samples that demonstrate how to use various Prism features with Xamarin.Forms
pamidur/aspect-injector
AOP framework for .NET (c#, vb, etc)

Version History

Version Downloads Last updated
4.1.0-preview-02 938 8/25/2019
4.1.0-preview-01 186 8/21/2019
4.0.7 1,417 9/4/2019
4.0.6 956 8/29/2019
4.0.5 51,461 6/8/2019
4.0.5-preview-01 2,914 6/7/2019
4.0.4 24,509 5/1/2019
4.0.3 4,706 4/10/2019
4.0.2 9,805 3/30/2019
4.0.1 10,864 3/28/2019
4.0.0 20,536 3/4/2019
4.0.0-preview-02 273 2/22/2019
4.0.0-preview-01 2,802 12/1/2018
3.1.0-preview-07 2,094 11/20/2018
3.1.0-preview-06 756 11/7/2018
3.1.0-preview-05 291 10/12/2018
3.1.0-preview-04 489 10/6/2018
3.1.0-preview-03 212 10/5/2018
3.1.0-preview-02 199 10/4/2018
3.1.0-preview-01 231 10/3/2018
3.0.2 239,327 7/11/2018
3.0.1 693 7/7/2018
3.0.0 994 6/24/2018
3.0.0-preview-12 507 6/6/2018
3.0.0-preview-11 1,491 3/17/2018
3.0.0-preview-10 366 3/13/2018
3.0.0-preview-09 420 2/21/2018
3.0.0-preview-08 337 2/12/2018
3.0.0-preview-07 381 2/9/2018
3.0.0-preview-06 306 2/8/2018
3.0.0-preview-05 302 2/5/2018
3.0.0-preview-04 321 2/1/2018
3.0.0-preview-03 1,213 12/3/2017
3.0.0-preview-02 373 11/14/2017
3.0.0-preview-01 715 10/1/2017
2.12.10 56,144 4/11/2018
2.12.8 17,810 3/13/2018
2.12.7 15,472 1/19/2018
2.12.6 57,981 12/21/2017
2.12.5 18,954 10/30/2017
2.12.4 6,678 10/17/2017
2.12.3 3,838 10/2/2017
2.12.2 15,882 9/17/2017
2.12.1 19,974 9/9/2017
2.12.0 1,557 9/1/2017
2.12.0-preview-01 407 8/29/2017
2.11.6 8,747 7/18/2017
2.11.5 1,769 7/12/2017
2.11.4 6,350 6/28/2017
2.11.3 4,937 6/1/2017
2.11.2 336 6/1/2017
2.11.1 554 5/31/2017
2.11.0 446 5/30/2017
2.11.0-preview-02 559 3/15/2017
2.11.0-preview-01 335 3/10/2017
2.10.7 6,357 5/3/2017
2.10.6 35,564 4/20/2017
2.10.4 2,865 3/28/2017
2.10.3 482 3/25/2017
2.10.2 4,300 3/14/2017
2.10.1 18,324 2/18/2017
2.10.0 6,565 2/1/2017
2.9.7 4,998 1/12/2017
2.9.6 837 12/30/2016
2.9.5 620 12/26/2016
2.9.4 1,682 12/10/2016
2.9.3 577 12/8/2016
2.9.2 547 12/3/2016
2.9.1 1,295 11/19/2016
2.9.0 854 11/17/2016
2.8.5 1,190 11/2/2016
2.8.4 580 10/28/2016
2.8.3 4,537 10/20/2016
2.8.2 621 10/20/2016
2.8.1 366 10/19/2016
2.8.0 357 10/18/2016
2.8.0-preview-01 330 10/13/2016
2.7.1 19,218 9/1/2016
2.7.0 3,355 8/19/2016
2.6.4 2,649 7/29/2016
2.6.3 2,557 7/9/2016
2.6.3-netcore-rc2 658 7/9/2016
2.6.2 2,382 6/13/2016
2.6.2-netcore-rc2 519 6/13/2016
2.6.1-netcore-rc2 332 6/10/2016
2.6.0 540 6/10/2016
2.5.1 463 6/7/2016
2.5.0 1,164 5/24/2016
2.4.3 1,346 5/7/2016
2.4.2 608 4/26/2016
2.4.1 2,072 4/16/2016
2.4.0 450 4/14/2016
2.3.0 1,661 3/30/2016
2.2.2 4,136 3/10/2016
2.2.1 394 3/8/2016
2.2.0 809 2/26/2016
2.1.3 1,087 1/17/2016
2.1.2 498 1/15/2016
2.1.1 641 1/4/2016
2.1.0 1,299 12/4/2015
2.0.2 615 12/1/2015
2.0.1 505 11/27/2015
2.0.0 1,755 11/19/2015
2.0.0-rc4build353 420 11/18/2015
2.0.0-rc4build352 385 11/17/2015
2.0.0-rc4build351 396 11/17/2015
2.0.0-rc4build350 437 11/17/2015
2.0.0-rc4build349 417 11/12/2015
2.0.0-rc4build348 398 11/12/2015
2.0.0-rc4build347 404 11/12/2015
2.0.0-rc4build346 427 11/12/2015
2.0.0-rc4build345 387 11/12/2015
2.0.0-rc4build344 402 11/7/2015
2.0.0-rc4build343 435 11/5/2015
2.0.0-rc4build342 720 11/1/2015
2.0.0-rc4build341 403 10/29/2015
2.0.0-rc4build340 420 11/12/2015
2.0.0-rc4build339 397 11/7/2015
2.0.0-rc4build338 413 11/5/2015
2.0.0-rc4build337 399 11/1/2015
2.0.0-rc4build336 406 10/29/2015
2.0.0-rc3build340 373 10/26/2015
2.0.0-rc3build339 374 10/26/2015
2.0.0-rc3build338 341 10/23/2015
2.0.0-rc3build337 408 10/20/2015
2.0.0-rc3build336 369 10/19/2015
2.0.0-rc3build335 467 10/12/2015
2.0.0-rc3build334 363 10/10/2015
2.0.0-rc3build333 399 10/6/2015
2.0.0-rc3build332 391 10/6/2015
2.0.0-rc3build331 405 10/1/2015
2.0.0-rc3build330 347 10/1/2015
2.0.0-rc3build329 357 9/30/2015
2.0.0-rc3build328 401 9/26/2015
2.0.0-rc3build327 372 9/25/2015
2.0.0-rc3build326 349 9/25/2015
2.0.0-rc3build325 368 9/25/2015
2.0.0-rc3build324 441 9/11/2015
2.0.0-rc3build323 412 9/11/2015
2.0.0-rc3build322 381 9/11/2015
2.0.0-rc3build321 371 9/11/2015
2.0.0-rc3build320 349 9/11/2015
2.0.0-rc3build319 391 9/8/2015
2.0.0-rc3build318 406 9/6/2015
2.0.0-rc3build317 390 9/3/2015
2.0.0-rc3build316 454 9/2/2015
2.0.0-rc3build315 389 8/31/2015
2.0.0-rc3build314 400 9/8/2015
2.0.0-rc3build313 363 8/29/2015
2.0.0-rc3build312 399 8/23/2015
2.0.0-rc3build311 392 8/21/2015
2.0.0-rc3build310 409 8/18/2015
2.0.0-rc3build309 386 8/12/2015
2.0.0-rc3build308 337 8/6/2015
2.0.0-rc3build307 367 8/23/2015
2.0.0-rc3build306 345 8/6/2015
2.0.0-rc3build304 409 8/4/2015
2.0.0-rc3build303 342 8/6/2015
2.0.0-rc3build302 351 8/3/2015
2.0.0-rc3build301 377 7/31/2015
2.0.0-rc3build300 475 7/28/2015
2.0.0-rc3build299 370 7/28/2015
2.0.0-rc3build298 355 7/28/2015
2.0.0-rc3build297 344 7/31/2015
2.0.0-rc2build297 385 7/26/2015
2.0.0-rc2build295 517 7/24/2015
2.0.0-rc2build294 379 7/24/2015
2.0.0-rc2build293 365 7/26/2015
2.0.0-rc2build292 378 7/21/2015
2.0.0-rc2build291 370 7/24/2015
2.0.0-rc2build289 359 7/21/2015
2.0.0-rc1build371 331 1/11/2016
2.0.0-rc1build366 329 1/11/2016
2.0.0-rc1build288 371 7/4/2015
2.0.0-rc1build287 355 6/19/2015
2.0.0-rc1build286 363 6/8/2015
2.0.0-rc1build285 348 6/4/2015
2.0.0-rc1build284 378 6/3/2015
2.0.0-rc1build283 496 6/1/2015
2.0.0-rc1build282 364 5/29/2015
2.0.0-rc1build281 350 5/27/2015
2.0.0-rc1build280 409 5/27/2015
2.0.0-rc1build279 391 5/21/2015
2.0.0-rc1build278 420 5/16/2015
2.0.0-rc1build277 419 5/15/2015
2.0.0-rc1build276 511 5/21/2015
2.0.0-rc1build275 345 5/16/2015
2.0.0-rc1build274 413 5/15/2015
2.0.0-rc1build273 365 5/15/2015
2.0.0-rc1build272 394 5/14/2015
2.0.0-rc1build271 362 5/14/2015
2.0.0-rc1build270 348 5/13/2015
2.0.0-rc1build269 366 5/14/2015
2.0.0-rc1build268 376 5/12/2015
2.0.0-rc1build267 377 5/10/2015
2.0.0-rc1build266 371 5/7/2015
2.0.0-rc1build265 361 5/6/2015
2.0.0-rc1build264 365 5/5/2015
2.0.0-rc1build263 371 5/1/2015
2.0.0-rc1build262 366 4/30/2015
2.0.0-rc1build261 341 4/29/2015
2.0.0-rc1build260 350 4/28/2015
2.0.0-rc1build259 368 4/21/2015
2.0.0-rc1build258 347 4/29/2015
2.0.0-rc1build255 356 4/21/2015
2.0.0-preview256 469 4/15/2015
2.0.0-preview255 378 4/14/2015
2.0.0-preview254 372 4/14/2015
2.0.0-preview253 415 4/13/2015
2.0.0-preview252 421 4/10/2015
2.0.0-preview251 458 4/7/2015
2.0.0-preview250 384 4/6/2015
2.0.0-preview249 422 4/6/2015
2.0.0-preview248 374 4/7/2015
2.0.0-preview247 384 4/6/2015
2.0.0-preview246 442 4/6/2015
2.0.0-preview245 374 4/3/2015
2.0.0-preview244 400 4/3/2015
2.0.0-preview243 372 4/3/2015
2.0.0-preview242 378 4/2/2015
2.0.0-preview241 373 3/31/2015
2.0.0-preview240 372 3/31/2015
2.0.0-preview239 365 3/30/2015
2.0.0-preview238 382 3/30/2015
2.0.0-preview237 375 3/29/2015
2.0.0-preview236 378 3/28/2015
2.0.0-preview235 418 3/27/2015
2.0.0-preview234 392 3/27/2015
2.0.0-preview233 387 3/26/2015
2.0.0-preview232 377 3/26/2015
2.0.0-preview231 394 3/25/2015
2.0.0-preview230 414 3/25/2015
2.0.0-preview229 377 3/25/2015
2.0.0-preview228 406 3/23/2015
2.0.0-preview227 384 3/23/2015
2.0.0-preview226 386 3/19/2015
2.0.0-preview225 404 3/18/2015
2.0.0-preview224 398 3/18/2015
2.0.0-preview223 412 3/18/2015
2.0.0-preview222 374 3/17/2015
2.0.0-preview221 382 3/15/2015
2.0.0-preview220 367 3/14/2015
2.0.0-preview219 368 3/13/2015
2.0.0-preview218 417 3/11/2015
2.0.0-preview217 366 3/10/2015
2.0.0-preview216 386 3/10/2015
2.0.0-preview215 425 3/10/2015
2.0.0-preview214 376 3/10/2015
2.0.0-preview213 379 3/9/2015
2.0.0-preview212 400 3/6/2015
2.0.0-preview211 379 3/4/2015
2.0.0-preview210 429 3/4/2015
2.0.0-preview209 373 3/4/2015
2.0.0-preview208 377 3/3/2015
2.0.0-preview207 360 3/3/2015
2.0.0-preview206 369 3/3/2015
2.0.0-preview205 373 3/2/2015
2.0.0-preview204 364 3/2/2015
2.0.0-preview203 388 2/26/2015
2.0.0-preview202 409 2/25/2015
2.0.0-preview201 381 2/20/2015
2.0.0-preview200 489 2/20/2015
2.0.0-preview199 385 2/20/2015
2.0.0-preview198 425 2/19/2015
2.0.0-preview197 370 2/19/2015
2.0.0-preview196 403 2/19/2015
2.0.0-preview195 383 2/19/2015
2.0.0-preview194 431 2/18/2015
2.0.0-preview193 492 2/18/2015
2.0.0-preview192 434 2/17/2015
2.0.0-preview191 484 2/17/2015
2.0.0-preview190 375 2/17/2015
2.0.0-preview189 412 2/12/2015
2.0.0-preview188 493 2/11/2015
2.0.0-preview187 509 2/11/2015
2.0.0-preview186 404 2/11/2015
2.0.0-preview185 399 2/10/2015
2.0.0-preview184 431 2/10/2015
2.0.0-preview183 472 2/10/2015
2.0.0-preview182 390 2/9/2015
2.0.0-preview181 414 2/2/2015
2.0.0-preview180 407 2/2/2015
2.0.0-preview179 376 1/31/2015
2.0.0-preview178 426 1/30/2015
2.0.0-preview177 436 1/29/2015
2.0.0-preview176 396 1/24/2015
2.0.0-preview175 458 1/24/2015
2.0.0-preview174 445 1/23/2015
2.0.0-preview173 432 1/18/2015
2.0.0-preview172 421 1/19/2015
2.0.0-preview171 420 1/16/2015
2.0.0-preview170 450 1/16/2015
2.0.0-preview169 398 1/16/2015
2.0.0-preview168 389 1/16/2015
2.0.0-preview167 393 1/16/2015
2.0.0-preview166 465 1/15/2015
2.0.0-preview165 467 1/15/2015
2.0.0-preview164 413 1/15/2015
2.0.0-preview163 402 1/15/2015
2.0.0-preview162 428 1/14/2015
2.0.0-preview161 455 1/14/2015
2.0.0-preview160 392 1/14/2015
2.0.0-preview159 468 1/14/2015
2.0.0-preview158 411 1/14/2015
2.0.0-preview157 433 1/14/2015
2.0.0-preview156 404 1/13/2015
2.0.0-preview155 443 1/13/2015
2.0.0-preview154 417 1/12/2015
2.0.0-preview153 422 1/12/2015
2.0.0-preview152 379 1/9/2015
2.0.0-preview151 389 1/9/2015
2.0.0-preview150 392 1/8/2015
2.0.0-preview148 387 1/8/2015
2.0.0-preview147 411 1/3/2015
2.0.0-preview146 396 1/3/2015
2.0.0-preview145 434 12/30/2014
2.0.0-preview144 445 12/29/2014
2.0.0-preview143 454 12/29/2014
2.0.0-preview142 403 12/23/2014
2.0.0-preview141 419 12/23/2014
2.0.0-preview140 412 12/23/2014
2.0.0-preview139 411 12/20/2014
2.0.0-preview138 389 12/20/2014
2.0.0-preview137 393 12/20/2014
2.0.0-preview136 392 12/20/2014
2.0.0-preview135 388 12/20/2014
2.0.0-preview133 386 12/18/2014
2.0.0-preview132 400 12/15/2014
2.0.0-preview131 393 12/14/2014
2.0.0-preview130 467 12/12/2014
2.0.0-preview129 401 12/12/2014
2.0.0-preview128 451 12/11/2014
2.0.0-preview127 403 12/10/2014
2.0.0-preview126 402 12/10/2014
2.0.0-preview125 403 12/8/2014
2.0.0-preview124 399 12/8/2014
2.0.0-preview123 446 12/7/2014
2.0.0-preview119 465 11/24/2014
2.0.0-preview118 517 11/21/2014
2.0.0-preview116 983 11/13/2014
2.0.0-preview115 611 11/6/2014
2.0.0-preview114 820 11/6/2014
2.0.0-preview113 606 11/5/2014
2.0.0-preview112 603 11/5/2014
2.0.0-preview110 865 11/5/2014
2.0.0-preview109 935 11/4/2014
2.0.0-preview108 758 10/31/2014
2.0.0-preview107 1,011 10/31/2014
2.0.0-preview105 1,007 10/31/2014
2.0.0-preview104 403 10/29/2014
2.0.0-preview103 400 10/27/2014
2.0.0-preview102 448 10/27/2014
2.0.0-preview101 414 10/24/2014
2.0.0-beta258 375 4/21/2015
2.0.0-beta254 426 4/20/2015
1.4.1 1,949 10/9/2014
1.4.0 709 9/10/2014
1.3.1 531 8/18/2014
1.3.0 548 7/16/2014
1.2.2 550 7/2/2014
1.2.1 443 6/30/2014
1.2.0 630 1/9/2014
1.1.1 517 12/26/2013
1.1.0 465 12/26/2013
1.0.11 488 12/24/2013