DryIoc.dll 4.0.4

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

Release Notes

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

Version History

Version Downloads Last updated
4.0.5 535 6/8/2019
4.0.5-preview-01 377 6/7/2019
4.0.4 5,438 5/1/2019
4.0.3 3,132 4/10/2019
4.0.2 3,651 3/30/2019
4.0.1 8,017 3/28/2019
4.0.0 12,381 3/4/2019
4.0.0-preview-02 217 2/22/2019
4.0.0-preview-01 2,757 12/1/2018
3.1.0-preview-07 2,047 11/20/2018
3.1.0-preview-06 688 11/7/2018
3.1.0-preview-05 235 10/12/2018
3.1.0-preview-04 367 10/6/2018
3.1.0-preview-03 166 10/5/2018
3.1.0-preview-02 153 10/4/2018
3.1.0-preview-01 190 10/3/2018
3.0.2 170,518 7/11/2018
3.0.1 622 7/7/2018
3.0.0 890 6/24/2018
3.0.0-preview-12 454 6/6/2018
3.0.0-preview-11 1,431 3/17/2018
3.0.0-preview-10 311 3/13/2018
3.0.0-preview-09 369 2/21/2018
3.0.0-preview-08 277 2/12/2018
3.0.0-preview-07 329 2/9/2018
3.0.0-preview-06 250 2/8/2018
3.0.0-preview-05 251 2/5/2018
3.0.0-preview-04 265 2/1/2018
3.0.0-preview-03 1,154 12/3/2017
3.0.0-preview-02 264 11/14/2017
3.0.0-preview-01 611 10/1/2017
2.12.10 49,305 4/11/2018
2.12.8 16,224 3/13/2018
2.12.7 14,779 1/19/2018
2.12.6 55,702 12/21/2017
2.12.5 18,305 10/30/2017
2.12.4 6,400 10/17/2017
2.12.3 3,691 10/2/2017
2.12.2 15,457 9/17/2017
2.12.1 16,970 9/9/2017
2.12.0 1,439 9/1/2017
2.12.0-preview-01 299 8/29/2017
2.11.6 8,472 7/18/2017
2.11.5 1,665 7/12/2017
2.11.4 6,242 6/28/2017
2.11.3 4,753 6/1/2017
2.11.2 274 6/1/2017
2.11.1 493 5/31/2017
2.11.0 386 5/30/2017
2.11.0-preview-02 501 3/15/2017
2.11.0-preview-01 277 3/10/2017
2.10.7 6,185 5/3/2017
2.10.6 33,928 4/20/2017
2.10.4 2,660 3/28/2017
2.10.3 420 3/25/2017
2.10.2 4,237 3/14/2017
2.10.1 17,107 2/18/2017
2.10.0 6,276 2/1/2017
2.9.7 4,638 1/12/2017
2.9.6 768 12/30/2016
2.9.5 527 12/26/2016
2.9.4 1,612 12/10/2016
2.9.3 523 12/8/2016
2.9.2 468 12/3/2016
2.9.1 1,206 11/19/2016
2.9.0 777 11/17/2016
2.8.5 1,073 11/2/2016
2.8.4 506 10/28/2016
2.8.3 4,319 10/20/2016
2.8.2 554 10/20/2016
2.8.1 306 10/19/2016
2.8.0 292 10/18/2016
2.8.0-preview-01 268 10/13/2016
2.7.1 16,077 9/1/2016
2.7.0 3,209 8/19/2016
2.6.4 2,571 7/29/2016
2.6.3 2,456 7/9/2016
2.6.3-netcore-rc2 605 7/9/2016
2.6.2 2,300 6/13/2016
2.6.2-netcore-rc2 455 6/13/2016
2.6.1-netcore-rc2 269 6/10/2016
2.6.0 489 6/10/2016
2.5.1 393 6/7/2016
2.5.0 1,102 5/24/2016
2.4.3 1,266 5/7/2016
2.4.2 532 4/26/2016
2.4.1 1,771 4/16/2016
2.4.0 395 4/14/2016
2.3.0 1,595 3/30/2016
2.2.2 3,926 3/10/2016
2.2.1 347 3/8/2016
2.2.0 750 2/26/2016
2.1.3 1,022 1/17/2016
2.1.2 432 1/15/2016
2.1.1 583 1/4/2016
2.1.0 1,225 12/4/2015
2.0.2 542 12/1/2015
2.0.1 427 11/27/2015
2.0.0 1,682 11/19/2015
2.0.0-rc4build353 362 11/18/2015
2.0.0-rc4build352 334 11/17/2015
2.0.0-rc4build351 347 11/17/2015
2.0.0-rc4build350 377 11/17/2015
2.0.0-rc4build349 353 11/12/2015
2.0.0-rc4build348 339 11/12/2015
2.0.0-rc4build347 348 11/12/2015
2.0.0-rc4build346 369 11/12/2015
2.0.0-rc4build345 337 11/12/2015
2.0.0-rc4build344 343 11/7/2015
2.0.0-rc4build343 371 11/5/2015
2.0.0-rc4build342 660 11/1/2015
2.0.0-rc4build341 348 10/29/2015
2.0.0-rc4build340 362 11/12/2015
2.0.0-rc4build339 335 11/7/2015
2.0.0-rc4build338 350 11/5/2015
2.0.0-rc4build337 339 11/1/2015
2.0.0-rc4build336 341 10/29/2015
2.0.0-rc3build340 313 10/26/2015
2.0.0-rc3build339 312 10/26/2015
2.0.0-rc3build338 294 10/23/2015
2.0.0-rc3build337 349 10/20/2015
2.0.0-rc3build336 309 10/19/2015
2.0.0-rc3build335 408 10/12/2015
2.0.0-rc3build334 301 10/10/2015
2.0.0-rc3build333 343 10/6/2015
2.0.0-rc3build332 335 10/6/2015
2.0.0-rc3build331 361 10/1/2015
2.0.0-rc3build330 287 10/1/2015
2.0.0-rc3build329 302 9/30/2015
2.0.0-rc3build328 347 9/26/2015
2.0.0-rc3build327 312 9/25/2015
2.0.0-rc3build326 292 9/25/2015
2.0.0-rc3build325 311 9/25/2015
2.0.0-rc3build324 393 9/11/2015
2.0.0-rc3build323 362 9/11/2015
2.0.0-rc3build322 324 9/11/2015
2.0.0-rc3build321 314 9/11/2015
2.0.0-rc3build320 292 9/11/2015
2.0.0-rc3build319 343 9/8/2015
2.0.0-rc3build318 350 9/6/2015
2.0.0-rc3build317 332 9/3/2015
2.0.0-rc3build316 400 9/2/2015
2.0.0-rc3build315 333 8/31/2015
2.0.0-rc3build314 347 9/8/2015
2.0.0-rc3build313 308 8/29/2015
2.0.0-rc3build312 349 8/23/2015
2.0.0-rc3build311 339 8/21/2015
2.0.0-rc3build310 360 8/18/2015
2.0.0-rc3build309 329 8/12/2015
2.0.0-rc3build308 286 8/6/2015
2.0.0-rc3build307 312 8/23/2015
2.0.0-rc3build306 288 8/6/2015
2.0.0-rc3build304 359 8/4/2015
2.0.0-rc3build303 293 8/6/2015
2.0.0-rc3build302 294 8/3/2015
2.0.0-rc3build301 322 7/31/2015
2.0.0-rc3build300 419 7/28/2015
2.0.0-rc3build299 324 7/28/2015
2.0.0-rc3build298 303 7/28/2015
2.0.0-rc3build297 289 7/31/2015
2.0.0-rc2build297 336 7/26/2015
2.0.0-rc2build295 466 7/24/2015
2.0.0-rc2build294 316 7/24/2015
2.0.0-rc2build293 318 7/26/2015
2.0.0-rc2build292 324 7/21/2015
2.0.0-rc2build291 320 7/24/2015
2.0.0-rc2build289 301 7/21/2015
2.0.0-rc1build371 273 1/11/2016
2.0.0-rc1build366 280 1/11/2016
2.0.0-rc1build288 333 7/4/2015
2.0.0-rc1build287 305 6/19/2015
2.0.0-rc1build286 308 6/8/2015
2.0.0-rc1build285 298 6/4/2015
2.0.0-rc1build284 334 6/3/2015
2.0.0-rc1build283 437 6/1/2015
2.0.0-rc1build282 310 5/29/2015
2.0.0-rc1build281 301 5/27/2015
2.0.0-rc1build280 367 5/27/2015
2.0.0-rc1build279 337 5/21/2015
2.0.0-rc1build278 363 5/16/2015
2.0.0-rc1build277 366 5/15/2015
2.0.0-rc1build276 434 5/21/2015
2.0.0-rc1build275 307 5/16/2015
2.0.0-rc1build274 359 5/15/2015
2.0.0-rc1build273 316 5/15/2015
2.0.0-rc1build272 341 5/14/2015
2.0.0-rc1build271 313 5/14/2015
2.0.0-rc1build270 300 5/13/2015
2.0.0-rc1build269 314 5/14/2015
2.0.0-rc1build268 323 5/12/2015
2.0.0-rc1build267 319 5/10/2015
2.0.0-rc1build266 320 5/7/2015
2.0.0-rc1build265 305 5/6/2015
2.0.0-rc1build264 312 5/5/2015
2.0.0-rc1build263 323 5/1/2015
2.0.0-rc1build262 314 4/30/2015
2.0.0-rc1build261 294 4/29/2015
2.0.0-rc1build260 303 4/28/2015
2.0.0-rc1build259 312 4/21/2015
2.0.0-rc1build258 300 4/29/2015
2.0.0-rc1build255 301 4/21/2015
2.0.0-preview256 411 4/15/2015
2.0.0-preview255 323 4/14/2015
2.0.0-preview254 322 4/14/2015
2.0.0-preview253 358 4/13/2015
2.0.0-preview252 366 4/10/2015
2.0.0-preview251 397 4/7/2015
2.0.0-preview250 328 4/6/2015
2.0.0-preview249 366 4/6/2015
2.0.0-preview248 318 4/7/2015
2.0.0-preview247 325 4/6/2015
2.0.0-preview246 382 4/6/2015
2.0.0-preview245 321 4/3/2015
2.0.0-preview244 342 4/3/2015
2.0.0-preview243 321 4/3/2015
2.0.0-preview242 322 4/2/2015
2.0.0-preview241 327 3/31/2015
2.0.0-preview240 314 3/31/2015
2.0.0-preview239 310 3/30/2015
2.0.0-preview238 325 3/30/2015
2.0.0-preview237 331 3/29/2015
2.0.0-preview236 320 3/28/2015
2.0.0-preview235 340 3/27/2015
2.0.0-preview234 336 3/27/2015
2.0.0-preview233 329 3/26/2015
2.0.0-preview232 327 3/26/2015
2.0.0-preview231 338 3/25/2015
2.0.0-preview230 359 3/25/2015
2.0.0-preview229 323 3/25/2015
2.0.0-preview228 351 3/23/2015
2.0.0-preview227 328 3/23/2015
2.0.0-preview226 333 3/19/2015
2.0.0-preview225 354 3/18/2015
2.0.0-preview224 347 3/18/2015
2.0.0-preview223 355 3/18/2015
2.0.0-preview222 324 3/17/2015
2.0.0-preview221 327 3/15/2015
2.0.0-preview220 310 3/14/2015
2.0.0-preview219 314 3/13/2015
2.0.0-preview218 365 3/11/2015
2.0.0-preview217 317 3/10/2015
2.0.0-preview216 331 3/10/2015
2.0.0-preview215 370 3/10/2015
2.0.0-preview214 316 3/10/2015
2.0.0-preview213 323 3/9/2015
2.0.0-preview212 343 3/6/2015
2.0.0-preview211 322 3/4/2015
2.0.0-preview210 375 3/4/2015
2.0.0-preview209 324 3/4/2015
2.0.0-preview208 325 3/3/2015
2.0.0-preview207 307 3/3/2015
2.0.0-preview206 320 3/3/2015
2.0.0-preview205 316 3/2/2015
2.0.0-preview204 315 3/2/2015
2.0.0-preview203 334 2/26/2015
2.0.0-preview202 353 2/25/2015
2.0.0-preview201 332 2/20/2015
2.0.0-preview200 432 2/20/2015
2.0.0-preview199 339 2/20/2015
2.0.0-preview198 368 2/19/2015
2.0.0-preview197 319 2/19/2015
2.0.0-preview196 348 2/19/2015
2.0.0-preview195 327 2/19/2015
2.0.0-preview194 382 2/18/2015
2.0.0-preview193 442 2/18/2015
2.0.0-preview192 380 2/17/2015
2.0.0-preview191 427 2/17/2015
2.0.0-preview190 326 2/17/2015
2.0.0-preview189 357 2/12/2015
2.0.0-preview188 433 2/11/2015
2.0.0-preview187 453 2/11/2015
2.0.0-preview186 349 2/11/2015
2.0.0-preview185 344 2/10/2015
2.0.0-preview184 384 2/10/2015
2.0.0-preview183 422 2/10/2015
2.0.0-preview182 334 2/9/2015
2.0.0-preview181 358 2/2/2015
2.0.0-preview180 352 2/2/2015
2.0.0-preview179 322 1/31/2015
2.0.0-preview178 370 1/30/2015
2.0.0-preview177 382 1/29/2015
2.0.0-preview176 340 1/24/2015
2.0.0-preview175 404 1/24/2015
2.0.0-preview174 390 1/23/2015
2.0.0-preview173 378 1/18/2015
2.0.0-preview172 372 1/19/2015
2.0.0-preview171 362 1/16/2015
2.0.0-preview170 399 1/16/2015
2.0.0-preview169 351 1/16/2015
2.0.0-preview168 332 1/16/2015
2.0.0-preview167 334 1/16/2015
2.0.0-preview166 416 1/15/2015
2.0.0-preview165 410 1/15/2015
2.0.0-preview164 356 1/15/2015
2.0.0-preview163 344 1/15/2015
2.0.0-preview162 370 1/14/2015
2.0.0-preview161 393 1/14/2015
2.0.0-preview160 337 1/14/2015
2.0.0-preview159 413 1/14/2015
2.0.0-preview158 358 1/14/2015
2.0.0-preview157 377 1/14/2015
2.0.0-preview156 355 1/13/2015
2.0.0-preview155 390 1/13/2015
2.0.0-preview154 342 1/12/2015
2.0.0-preview153 346 1/12/2015
2.0.0-preview152 328 1/9/2015
2.0.0-preview151 332 1/9/2015
2.0.0-preview150 336 1/8/2015
2.0.0-preview148 338 1/8/2015
2.0.0-preview147 355 1/3/2015
2.0.0-preview146 340 1/3/2015
2.0.0-preview145 378 12/30/2014
2.0.0-preview144 389 12/29/2014
2.0.0-preview143 398 12/29/2014
2.0.0-preview142 354 12/23/2014
2.0.0-preview141 372 12/23/2014
2.0.0-preview140 352 12/23/2014
2.0.0-preview139 366 12/20/2014
2.0.0-preview138 340 12/20/2014
2.0.0-preview137 339 12/20/2014
2.0.0-preview136 350 12/20/2014
2.0.0-preview135 333 12/20/2014
2.0.0-preview133 329 12/18/2014
2.0.0-preview132 345 12/15/2014
2.0.0-preview131 347 12/14/2014
2.0.0-preview130 411 12/12/2014
2.0.0-preview129 346 12/12/2014
2.0.0-preview128 394 12/11/2014
2.0.0-preview127 346 12/10/2014
2.0.0-preview126 344 12/10/2014
2.0.0-preview125 362 12/8/2014
2.0.0-preview124 343 12/8/2014
2.0.0-preview123 396 12/7/2014
2.0.0-preview119 409 11/24/2014
2.0.0-preview118 468 11/21/2014
2.0.0-preview116 935 11/13/2014
2.0.0-preview115 554 11/6/2014
2.0.0-preview114 765 11/6/2014
2.0.0-preview113 555 11/5/2014
2.0.0-preview112 548 11/5/2014
2.0.0-preview110 809 11/5/2014
2.0.0-preview109 886 11/4/2014
2.0.0-preview108 704 10/31/2014
2.0.0-preview107 949 10/31/2014
2.0.0-preview105 957 10/31/2014
2.0.0-preview104 348 10/29/2014
2.0.0-preview103 344 10/27/2014
2.0.0-preview102 391 10/27/2014
2.0.0-preview101 357 10/24/2014
2.0.0-beta258 327 4/21/2015
2.0.0-beta254 367 4/20/2015
1.4.1 1,889 10/9/2014
1.4.0 652 9/10/2014
1.3.1 468 8/18/2014
1.3.0 488 7/16/2014
1.2.2 491 7/2/2014
1.2.1 374 6/30/2014
1.2.0 569 1/9/2014
1.1.1 464 12/26/2013
1.1.0 405 12/26/2013
1.0.11 417 12/24/2013