DryIoc.dll 4.0.3

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

Install-Package DryIoc.dll -Version 4.0.3
dotnet add package DryIoc.dll --version 4.0.3
paket add DryIoc.dll --version 4.0.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

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

Version History

Version Downloads Last updated
4.0.3 804 4/10/2019
4.0.2 1,018 3/30/2019
4.0.1 3,275 3/28/2019
4.0.0 7,573 3/4/2019
4.0.0-preview-02 178 2/22/2019
4.0.0-preview-01 1,918 12/1/2018
3.1.0-preview-07 1,381 11/20/2018
3.1.0-preview-06 415 11/7/2018
3.1.0-preview-05 202 10/12/2018
3.1.0-preview-04 326 10/6/2018
3.1.0-preview-03 136 10/5/2018
3.1.0-preview-02 126 10/4/2018
3.1.0-preview-01 167 10/3/2018
3.0.2 122,720 7/11/2018
3.0.1 578 7/7/2018
3.0.0 832 6/24/2018
3.0.0-preview-12 425 6/6/2018
3.0.0-preview-11 1,409 3/17/2018
3.0.0-preview-10 289 3/13/2018
3.0.0-preview-09 347 2/21/2018
3.0.0-preview-08 253 2/12/2018
3.0.0-preview-07 302 2/9/2018
3.0.0-preview-06 227 2/8/2018
3.0.0-preview-05 221 2/5/2018
3.0.0-preview-04 237 2/1/2018
3.0.0-preview-03 1,126 12/3/2017
3.0.0-preview-02 237 11/14/2017
3.0.0-preview-01 573 10/1/2017
2.12.10 45,780 4/11/2018
2.12.8 15,257 3/13/2018
2.12.7 14,180 1/19/2018
2.12.6 53,835 12/21/2017
2.12.5 17,942 10/30/2017
2.12.4 6,244 10/17/2017
2.12.3 3,566 10/2/2017
2.12.2 15,240 9/17/2017
2.12.1 15,964 9/9/2017
2.12.0 1,390 9/1/2017
2.12.0-preview-01 266 8/29/2017
2.11.6 8,249 7/18/2017
2.11.5 1,530 7/12/2017
2.11.4 6,182 6/28/2017
2.11.3 4,636 6/1/2017
2.11.2 244 6/1/2017
2.11.1 461 5/31/2017
2.11.0 356 5/30/2017
2.11.0-preview-02 476 3/15/2017
2.11.0-preview-01 256 3/10/2017
2.10.7 6,074 5/3/2017
2.10.6 32,462 4/20/2017
2.10.4 2,534 3/28/2017
2.10.3 394 3/25/2017
2.10.2 4,204 3/14/2017
2.10.1 16,526 2/18/2017
2.10.0 5,987 2/1/2017
2.9.7 4,396 1/12/2017
2.9.6 738 12/30/2016
2.9.5 491 12/26/2016
2.9.4 1,583 12/10/2016
2.9.3 492 12/8/2016
2.9.2 421 12/3/2016
2.9.1 1,152 11/19/2016
2.9.0 740 11/17/2016
2.8.5 976 11/2/2016
2.8.4 477 10/28/2016
2.8.3 4,039 10/20/2016
2.8.2 524 10/20/2016
2.8.1 281 10/19/2016
2.8.0 271 10/18/2016
2.8.0-preview-01 244 10/13/2016
2.7.1 14,548 9/1/2016
2.7.0 2,941 8/19/2016
2.6.4 2,527 7/29/2016
2.6.3 2,403 7/9/2016
2.6.3-netcore-rc2 585 7/9/2016
2.6.2 2,266 6/13/2016
2.6.2-netcore-rc2 436 6/13/2016
2.6.1-netcore-rc2 251 6/10/2016
2.6.0 461 6/10/2016
2.5.1 369 6/7/2016
2.5.0 1,079 5/24/2016
2.4.3 1,223 5/7/2016
2.4.2 501 4/26/2016
2.4.1 1,569 4/16/2016
2.4.0 372 4/14/2016
2.3.0 1,569 3/30/2016
2.2.2 3,821 3/10/2016
2.2.1 316 3/8/2016
2.2.0 715 2/26/2016
2.1.3 978 1/17/2016
2.1.2 390 1/15/2016
2.1.1 561 1/4/2016
2.1.0 1,185 12/4/2015
2.0.2 502 12/1/2015
2.0.1 399 11/27/2015
2.0.0 1,626 11/19/2015
2.0.0-rc4build353 337 11/18/2015
2.0.0-rc4build352 318 11/17/2015
2.0.0-rc4build351 325 11/17/2015
2.0.0-rc4build350 350 11/17/2015
2.0.0-rc4build349 337 11/12/2015
2.0.0-rc4build348 309 11/12/2015
2.0.0-rc4build347 321 11/12/2015
2.0.0-rc4build346 342 11/12/2015
2.0.0-rc4build345 311 11/12/2015
2.0.0-rc4build344 326 11/7/2015
2.0.0-rc4build343 345 11/5/2015
2.0.0-rc4build342 632 11/1/2015
2.0.0-rc4build341 318 10/29/2015
2.0.0-rc4build340 338 11/12/2015
2.0.0-rc4build339 308 11/7/2015
2.0.0-rc4build338 321 11/5/2015
2.0.0-rc4build337 312 11/1/2015
2.0.0-rc4build336 313 10/29/2015
2.0.0-rc3build340 287 10/26/2015
2.0.0-rc3build339 291 10/26/2015
2.0.0-rc3build338 269 10/23/2015
2.0.0-rc3build337 335 10/20/2015
2.0.0-rc3build336 282 10/19/2015
2.0.0-rc3build335 383 10/12/2015
2.0.0-rc3build334 273 10/10/2015
2.0.0-rc3build333 328 10/6/2015
2.0.0-rc3build332 307 10/6/2015
2.0.0-rc3build331 346 10/1/2015
2.0.0-rc3build330 273 10/1/2015
2.0.0-rc3build329 284 9/30/2015
2.0.0-rc3build328 329 9/26/2015
2.0.0-rc3build327 293 9/25/2015
2.0.0-rc3build326 274 9/25/2015
2.0.0-rc3build325 286 9/25/2015
2.0.0-rc3build324 365 9/11/2015
2.0.0-rc3build323 328 9/11/2015
2.0.0-rc3build322 296 9/11/2015
2.0.0-rc3build321 284 9/11/2015
2.0.0-rc3build320 264 9/11/2015
2.0.0-rc3build319 323 9/8/2015
2.0.0-rc3build318 322 9/6/2015
2.0.0-rc3build317 299 9/3/2015
2.0.0-rc3build316 370 9/2/2015
2.0.0-rc3build315 305 8/31/2015
2.0.0-rc3build314 320 9/8/2015
2.0.0-rc3build313 289 8/29/2015
2.0.0-rc3build312 324 8/23/2015
2.0.0-rc3build311 309 8/21/2015
2.0.0-rc3build310 334 8/18/2015
2.0.0-rc3build309 302 8/12/2015
2.0.0-rc3build308 263 8/6/2015
2.0.0-rc3build307 284 8/23/2015
2.0.0-rc3build306 261 8/6/2015
2.0.0-rc3build304 331 8/4/2015
2.0.0-rc3build303 262 8/6/2015
2.0.0-rc3build302 268 8/3/2015
2.0.0-rc3build301 290 7/31/2015
2.0.0-rc3build300 394 7/28/2015
2.0.0-rc3build299 303 7/28/2015
2.0.0-rc3build298 272 7/28/2015
2.0.0-rc3build297 261 7/31/2015
2.0.0-rc2build297 307 7/26/2015
2.0.0-rc2build295 441 7/24/2015
2.0.0-rc2build294 287 7/24/2015
2.0.0-rc2build293 293 7/26/2015
2.0.0-rc2build292 294 7/21/2015
2.0.0-rc2build291 293 7/24/2015
2.0.0-rc2build289 275 7/21/2015
2.0.0-rc1build371 248 1/11/2016
2.0.0-rc1build366 252 1/11/2016
2.0.0-rc1build288 312 7/4/2015
2.0.0-rc1build287 278 6/19/2015
2.0.0-rc1build286 281 6/8/2015
2.0.0-rc1build285 273 6/4/2015
2.0.0-rc1build284 310 6/3/2015
2.0.0-rc1build283 410 6/1/2015
2.0.0-rc1build282 279 5/29/2015
2.0.0-rc1build281 269 5/27/2015
2.0.0-rc1build280 344 5/27/2015
2.0.0-rc1build279 307 5/21/2015
2.0.0-rc1build278 335 5/16/2015
2.0.0-rc1build277 336 5/15/2015
2.0.0-rc1build276 406 5/21/2015
2.0.0-rc1build275 282 5/16/2015
2.0.0-rc1build274 330 5/15/2015
2.0.0-rc1build273 290 5/15/2015
2.0.0-rc1build272 311 5/14/2015
2.0.0-rc1build271 288 5/14/2015
2.0.0-rc1build270 280 5/13/2015
2.0.0-rc1build269 284 5/14/2015
2.0.0-rc1build268 296 5/12/2015
2.0.0-rc1build267 290 5/10/2015
2.0.0-rc1build266 290 5/7/2015
2.0.0-rc1build265 282 5/6/2015
2.0.0-rc1build264 282 5/5/2015
2.0.0-rc1build263 296 5/1/2015
2.0.0-rc1build262 286 4/30/2015
2.0.0-rc1build261 271 4/29/2015
2.0.0-rc1build260 283 4/28/2015
2.0.0-rc1build259 292 4/21/2015
2.0.0-rc1build258 280 4/29/2015
2.0.0-rc1build255 272 4/21/2015
2.0.0-preview256 378 4/15/2015
2.0.0-preview255 289 4/14/2015
2.0.0-preview254 289 4/14/2015
2.0.0-preview253 320 4/13/2015
2.0.0-preview252 335 4/10/2015
2.0.0-preview251 361 4/7/2015
2.0.0-preview250 293 4/6/2015
2.0.0-preview249 331 4/6/2015
2.0.0-preview248 288 4/7/2015
2.0.0-preview247 295 4/6/2015
2.0.0-preview246 346 4/6/2015
2.0.0-preview245 289 4/3/2015
2.0.0-preview244 308 4/3/2015
2.0.0-preview243 286 4/3/2015
2.0.0-preview242 288 4/2/2015
2.0.0-preview241 300 3/31/2015
2.0.0-preview240 281 3/31/2015
2.0.0-preview239 277 3/30/2015
2.0.0-preview238 291 3/30/2015
2.0.0-preview237 302 3/29/2015
2.0.0-preview236 282 3/28/2015
2.0.0-preview235 294 3/27/2015
2.0.0-preview234 305 3/27/2015
2.0.0-preview233 299 3/26/2015
2.0.0-preview232 297 3/26/2015
2.0.0-preview231 306 3/25/2015
2.0.0-preview230 326 3/25/2015
2.0.0-preview229 292 3/25/2015
2.0.0-preview228 317 3/23/2015
2.0.0-preview227 304 3/23/2015
2.0.0-preview226 296 3/19/2015
2.0.0-preview225 322 3/18/2015
2.0.0-preview224 324 3/18/2015
2.0.0-preview223 310 3/18/2015
2.0.0-preview222 291 3/17/2015
2.0.0-preview221 293 3/15/2015
2.0.0-preview220 286 3/14/2015
2.0.0-preview219 279 3/13/2015
2.0.0-preview218 335 3/11/2015
2.0.0-preview217 284 3/10/2015
2.0.0-preview216 300 3/10/2015
2.0.0-preview215 335 3/10/2015
2.0.0-preview214 284 3/10/2015
2.0.0-preview213 292 3/9/2015
2.0.0-preview212 309 3/6/2015
2.0.0-preview211 290 3/4/2015
2.0.0-preview210 341 3/4/2015
2.0.0-preview209 291 3/4/2015
2.0.0-preview208 289 3/3/2015
2.0.0-preview207 284 3/3/2015
2.0.0-preview206 286 3/3/2015
2.0.0-preview205 284 3/2/2015
2.0.0-preview204 291 3/2/2015
2.0.0-preview203 302 2/26/2015
2.0.0-preview202 319 2/25/2015
2.0.0-preview201 297 2/20/2015
2.0.0-preview200 400 2/20/2015
2.0.0-preview199 308 2/20/2015
2.0.0-preview198 334 2/19/2015
2.0.0-preview197 292 2/19/2015
2.0.0-preview196 313 2/19/2015
2.0.0-preview195 298 2/19/2015
2.0.0-preview194 355 2/18/2015
2.0.0-preview193 413 2/18/2015
2.0.0-preview192 358 2/17/2015
2.0.0-preview191 393 2/17/2015
2.0.0-preview190 296 2/17/2015
2.0.0-preview189 326 2/12/2015
2.0.0-preview188 401 2/11/2015
2.0.0-preview187 416 2/11/2015
2.0.0-preview186 324 2/11/2015
2.0.0-preview185 313 2/10/2015
2.0.0-preview184 360 2/10/2015
2.0.0-preview183 389 2/10/2015
2.0.0-preview182 298 2/9/2015
2.0.0-preview181 324 2/2/2015
2.0.0-preview180 315 2/2/2015
2.0.0-preview179 291 1/31/2015
2.0.0-preview178 340 1/30/2015
2.0.0-preview177 347 1/29/2015
2.0.0-preview176 306 1/24/2015
2.0.0-preview175 375 1/24/2015
2.0.0-preview174 354 1/23/2015
2.0.0-preview173 344 1/18/2015
2.0.0-preview172 340 1/19/2015
2.0.0-preview171 330 1/16/2015
2.0.0-preview170 370 1/16/2015
2.0.0-preview169 316 1/16/2015
2.0.0-preview168 296 1/16/2015
2.0.0-preview167 300 1/16/2015
2.0.0-preview166 386 1/15/2015
2.0.0-preview165 378 1/15/2015
2.0.0-preview164 322 1/15/2015
2.0.0-preview163 308 1/15/2015
2.0.0-preview162 334 1/14/2015
2.0.0-preview161 357 1/14/2015
2.0.0-preview160 303 1/14/2015
2.0.0-preview159 377 1/14/2015
2.0.0-preview158 324 1/14/2015
2.0.0-preview157 343 1/14/2015
2.0.0-preview156 329 1/13/2015
2.0.0-preview155 354 1/13/2015
2.0.0-preview154 301 1/12/2015
2.0.0-preview153 304 1/12/2015
2.0.0-preview152 308 1/9/2015
2.0.0-preview151 295 1/9/2015
2.0.0-preview150 300 1/8/2015
2.0.0-preview148 304 1/8/2015
2.0.0-preview147 322 1/3/2015
2.0.0-preview146 303 1/3/2015
2.0.0-preview145 344 12/30/2014
2.0.0-preview144 352 12/29/2014
2.0.0-preview143 364 12/29/2014
2.0.0-preview142 320 12/23/2014
2.0.0-preview141 340 12/23/2014
2.0.0-preview140 316 12/23/2014
2.0.0-preview139 336 12/20/2014
2.0.0-preview138 306 12/20/2014
2.0.0-preview137 303 12/20/2014
2.0.0-preview136 318 12/20/2014
2.0.0-preview135 299 12/20/2014
2.0.0-preview133 304 12/18/2014
2.0.0-preview132 308 12/15/2014
2.0.0-preview131 302 12/14/2014
2.0.0-preview130 376 12/12/2014
2.0.0-preview129 309 12/12/2014
2.0.0-preview128 359 12/11/2014
2.0.0-preview127 311 12/10/2014
2.0.0-preview126 311 12/10/2014
2.0.0-preview125 331 12/8/2014
2.0.0-preview124 309 12/8/2014
2.0.0-preview123 372 12/7/2014
2.0.0-preview119 373 11/24/2014
2.0.0-preview118 437 11/21/2014
2.0.0-preview116 898 11/13/2014
2.0.0-preview115 520 11/6/2014
2.0.0-preview114 730 11/6/2014
2.0.0-preview113 521 11/5/2014
2.0.0-preview112 522 11/5/2014
2.0.0-preview110 774 11/5/2014
2.0.0-preview109 852 11/4/2014
2.0.0-preview108 666 10/31/2014
2.0.0-preview107 910 10/31/2014
2.0.0-preview105 923 10/31/2014
2.0.0-preview104 314 10/29/2014
2.0.0-preview103 307 10/27/2014
2.0.0-preview102 364 10/27/2014
2.0.0-preview101 321 10/24/2014
2.0.0-beta258 299 4/21/2015
2.0.0-beta254 337 4/20/2015
1.4.1 1,850 10/9/2014
1.4.0 615 9/10/2014
1.3.1 436 8/18/2014
1.3.0 457 7/16/2014
1.2.2 462 7/2/2014
1.2.1 341 6/30/2014
1.2.0 544 1/9/2014
1.1.1 430 12/26/2013
1.1.0 374 12/26/2013
1.0.11 380 12/24/2013