SimpleInjector
3.1.0
Simple Injector is an easy, flexible and fast dependency injection library that uses best practice to guide your solutions toward the pit of success.
See the version list below for details.
Install-Package SimpleInjector -Version 3.1.0
dotnet add package SimpleInjector --version 3.1.0
<PackageReference Include="SimpleInjector" Version="3.1.0" />
paket add SimpleInjector --version 3.1.0
Release Notes
- `Lifestyle.CreateProducer<TService>(Type, Container)` overload added. (fixes #100)
- `Container.RegisterConditional` overload added that accepts a `Registration` instance. This adds extra flexibility and allows using conditional registrations using delegates. (fixes #102)
- `Container.GetTypesToRegister` overload added that accepts an `TypesToRegisterOptions` to allow excluding composites and including decorators and generic type definitions. (fixes #122)
- `RegisterCollection` overloads that accept a list of assemblies, now suppress composite types. (fixes #119)
- Improved performance of `GetTypesToRegister` method and the `Register` and `RegisterCollection` overloads that accept a list of collections.
- Check added to `InstanceProducer` constructor to prevent incompatible `Registration` objects from being supplied. (fixes #52)
- Exception message improved in case batch-registration skipped decorator. (fixes #13)
- `Lifestyle.CreateRegistration` and `Container.AddRegistration` methods now throws a clear exception explaining that open generic types can't be supplied. (fixes #126)
- Expection message improved for types with multiple constructors. The exception message now references the documentation about this subject.
Full notes: https://github.com/simpleinjector/SimpleInjector/releases/tag/v3.1
Dependencies
This package has no dependencies.
Used By
NuGet packages (294)
Showing the top 5 NuGet packages that depend on SimpleInjector:
Package | Downloads |
---|---|
SimpleInjector.Integration.WebApi
Simple Injector ASP.NET Web API Integration.
|
|
SimpleInjector.Integration.Web
The Simple Injector ASP.NET Integration package adds a lifestyle to the Simple Injector called 'Per Web Request', which allows instances to live within a single HTTP request and get disposed when the request ends.
|
|
SimpleInjector.Integration.Web.Mvc
Simple Injector ASP.NET MVC Integration.
|
|
SimpleInjector.Extensions.ExecutionContextScoping
The Execution Context Scoping package adds the 'Execution Context Scope' lifestyle, which allows instances to live within an explicitly defined execution context scope (or logical call context) and get disposed when this scope ends. This scope allows flowing through asynchronous method calls.
|
|
SimpleInjector.Integration.AspNetCore
Integration library for ASP.NET Core for Simple Injector.
|
GitHub repositories (46)
Showing the top 5 popular GitHub repositories that depend on SimpleInjector:
Repository | Stars |
---|---|
chocolatey/choco
Chocolatey - the package manager for Windows
|
|
jbogard/MediatR
Simple, unambitious mediator implementation in .NET
|
|
MassTransit/MassTransit
Distributed Application Framework for .NET
|
|
MediaBrowser/Emby
Emby Server is a personal media server with apps on just about every device.
|
|
EasyNetQ/EasyNetQ
An easy to use .NET API for RabbitMQ
|
Version History
Version | Downloads | Last updated |
---|---|---|
5.3.0-beta2 | 126 | 1/8/2021 |
5.3.0-beta1 | 88 | 1/7/2021 |
5.2.1 | 1,740 | 1/13/2021 |
5.2.0 | 16,495 | 12/15/2020 |
5.2.0-alpha2 | 717 | 12/7/2020 |
5.2.0-alpha1 | 147 | 12/5/2020 |
5.1.0 | 70,405 | 10/24/2020 |
5.0.4 | 16,809 | 10/15/2020 |
5.0.3 | 186,603 | 7/13/2020 |
5.0.2 | 23,194 | 6/28/2020 |
5.0.1 | 31,123 | 6/15/2020 |
5.0.0 | 99,881 | 6/11/2020 |
5.0.0-beta2 | 1,063 | 6/6/2020 |
5.0.0-beta1 | 871 | 6/1/2020 |
4.10.2 | 412,678 | 4/24/2020 |
4.9.2 | 116,429 | 4/8/2020 |
4.9.1 | 253,384 | 3/6/2020 |
4.9.0 | 438,972 | 1/6/2020 |
4.8.1 | 221,072 | 11/30/2019 |
4.8.0 | 76,891 | 11/23/2019 |
4.8.0-beta2 | 585 | 11/20/2019 |
4.8.0-beta1 | 696 | 11/17/2019 |
4.8.0-alpha3 | 1,027 | 11/17/2019 |
4.8.0-alpha2 | 523 | 11/16/2019 |
4.8.0-alpha1 | 573 | 11/16/2019 |
4.7.1 | 529,545 | 9/2/2019 |
4.7.0 | 1,467 | 9/1/2019 |
4.6.2 | 329,287 | 7/27/2019 |
4.6.1 | 30,545 | 7/23/2019 |
4.6.0 | 608,840 | 5/11/2019 |
4.6.0-beta2 | 4,342 | 5/8/2019 |
4.6.0-beta1 | 4,532 | 4/23/2019 |
4.5.3 | 18,979 | 7/23/2019 |
4.5.2 | 51,121 | 5/6/2019 |
4.5.1 | 315,134 | 3/22/2019 |
4.5.0 | 18,673 | 3/21/2019 |
4.5.0-beta1 | 5,355 | 3/14/2019 |
4.4.3 | 948,661 | 1/1/2019 |
4.4.2 | 446,347 | 12/1/2018 |
4.4.0 | 385,071 | 11/2/2018 |
4.3.0 | 1,720,990 | 5/16/2018 |
4.3.0-beta1 | 4,616 | 5/11/2018 |
4.2.3 | 11,187 | 5/15/2018 |
4.2.2 | 116,986 | 4/26/2018 |
4.2.1 | 136,954 | 4/15/2018 |
4.2.0 | 5,191 | 4/14/2018 |
4.1.3 | 4,546 | 5/15/2018 |
4.1.2 | 5,381 | 4/26/2018 |
4.1.1 | 88,265 | 4/4/2018 |
4.1.0 | 118,449 | 3/23/2018 |
4.1.0-beta1 | 4,313 | 3/16/2018 |
4.1.0-alpha1 | 5,911 | 2/26/2018 |
4.0.12 | 1,301,808 | 10/21/2017 |
4.0.11 | 282,693 | 9/20/2017 |
4.0.8 | 737,040 | 6/3/2017 |
4.0.7 | 150,212 | 5/19/2017 |
4.0.6 | 93,711 | 5/4/2017 |
4.0.3 | 99,037 | 4/19/2017 |
4.0.2 | 7,586 | 4/19/2017 |
4.0.0 | 226,208 | 3/31/2017 |
4.0.0-beta2 | 25,178 | 3/14/2017 |
4.0.0-beta1 | 7,403 | 2/19/2017 |
4.0.0-alpha3 | 7,684 | 1/8/2017 |
4.0.0-alpha2 | 4,857 | 12/30/2016 |
4.0.0-alpha1 | 5,057 | 11/25/2016 |
3.3.2 | 627,612 | 12/2/2016 |
3.3.1 | 27,709 | 11/23/2016 |
3.3.0 | 38,084 | 11/21/2016 |
3.3.0-beta2 | 4,611 | 11/10/2016 |
3.3.0-beta1 | 4,175 | 11/9/2016 |
3.3.0-alpha1 | 4,196 | 11/11/2016 |
3.2.7 | 190,031 | 11/3/2016 |
3.2.5 | 10,777 | 11/1/2016 |
3.2.4 | 76,349 | 10/26/2016 |
3.2.3 | 61,369 | 10/16/2016 |
3.2.2 | 317,770 | 8/26/2016 |
3.2.0 | 239,349 | 6/28/2016 |
3.2.0-beta2 | 4,190 | 6/28/2016 |
3.2.0-beta1 | 4,121 | 6/27/2016 |
3.2.0-alpha2 | 6,482 | 5/2/2016 |
3.1.5 | 144,660 | 5/22/2016 |
3.1.5-alpha3 | 4,167 | 5/22/2016 |
3.1.5-alpha2 | 4,108 | 5/22/2016 |
3.1.5-alpha1 | 4,060 | 5/18/2016 |
3.1.4 | 79,543 | 5/1/2016 |
3.1.3 | 62,496 | 4/12/2016 |
3.1.2 | 369,938 | 12/14/2015 |
3.1.2-alpha2 | 4,410 | 12/8/2015 |
3.1.2-alpha1 | 4,167 | 12/6/2015 |
3.1.1 | 100,829 | 11/23/2015 |
3.1.0 | 101,870 | 10/12/2015 |
3.0.7 | 5,606 | 10/10/2015 |
3.0.6 | 11,404 | 10/4/2015 |
3.0.5 | 65,275 | 9/3/2015 |
3.0.4 | 13,433 | 8/31/2015 |
3.0.3 | 6,516 | 8/27/2015 |
3.0.1 | 16,975 | 8/20/2015 |
3.0.0 | 14,646 | 8/18/2015 |
3.0.0-beta4 | 5,394 | 8/11/2015 |
3.0.0-beta3 | 4,296 | 8/3/2015 |
3.0.0-beta2 | 4,368 | 7/17/2015 |
3.0.0-beta1 | 5,311 | 6/28/2015 |
3.0.0-alpha2 | 4,239 | 6/21/2015 |
3.0.0-alpha1 | 4,300 | 6/14/2015 |
2.8.3 | 112,462 | 7/17/2015 |
2.8.1 | 5,666 | 7/16/2015 |
2.8.0 | 191,388 | 5/2/2015 |
2.8.0-beta5 | 3,888 | 5/3/2015 |
2.8.0-beta4 | 4,316 | 4/27/2015 |
2.8.0-beta3 | 4,165 | 4/26/2015 |
2.8.0-beta2 | 4,269 | 4/17/2015 |
2.8.0-beta1 | 4,447 | 4/9/2015 |
2.8.0-alpha1 | 4,211 | 4/5/2015 |
2.7.3 | 115,533 | 3/9/2015 |
2.7.3-alpha1 | 4,305 | 3/1/2015 |
2.7.2 | 33,835 | 2/12/2015 |
2.7.2-beta2 | 3,966 | 2/11/2015 |
2.7.2-beta1 | 3,965 | 2/10/2015 |
2.7.2-alpha2 | 4,218 | 2/12/2015 |
2.7.2-alpha1 | 3,943 | 2/10/2015 |
2.7.1 | 15,887 | 2/1/2015 |
2.7.1-alpha3 | 4,628 | 1/16/2015 |
2.7.1-alpha2 | 3,941 | 1/16/2015 |
2.7.1-alpha1 | 3,908 | 1/15/2015 |
2.7.0 | 18,614 | 1/15/2015 |
2.7.0-beta2 | 3,941 | 1/13/2015 |
2.7.0-beta1 | 4,875 | 11/12/2014 |
2.6.1 | 94,122 | 10/26/2014 |
2.6.0 | 14,850 | 10/14/2014 |
2.6.0-beta2 | 4,571 | 9/20/2014 |
2.6.0-beta1 | 5,964 | 8/30/2014 |
2.6.0-alpha2 | 4,330 | 8/17/2014 |
2.6.0-alpha1 | 3,996 | 8/17/2014 |
2.5.2 | 65,030 | 7/13/2014 |
2.5.0 | 90,023 | 3/2/2014 |
2.5.0-beta2 | 4,289 | 2/26/2014 |
2.5.0-beta1 | 5,699 | 2/9/2014 |
2.4.1 | 23,460 | 1/14/2014 |
2.4.0 | 14,217 | 12/8/2013 |
2.4.0-beta3 | 4,269 | 11/24/2013 |
2.4.0-beta2 | 4,261 | 11/5/2013 |
2.4.0-beta1 | 4,547 | 10/15/2013 |
2.4.0-alpha3 | 4,327 | 8/23/2013 |
2.4.0-alpha1 | 4,244 | 7/15/2013 |
2.3.6 | 15,705 | 10/21/2013 |
2.3.5 | 14,304 | 9/2/2013 |
2.3.2 | 5,510 | 8/31/2013 |
2.3.0 | 29,774 | 6/30/2013 |
2.3.0-beta2 | 4,355 | 6/20/2013 |
2.3.0-beta1 | 4,230 | 6/18/2013 |
2.2.3 | 13,190 | 5/4/2013 |
2.2.1 | 7,327 | 4/19/2013 |
2.2.0 | 5,696 | 4/8/2013 |
2.1.0 | 6,534 | 3/19/2013 |
2.0.2 | 8,002 | 3/10/2013 |
2.0.1 | 6,329 | 2/28/2013 |
2.0.0 | 7,903 | 2/25/2013 |
2.0.0-beta5 | 4,342 | 2/22/2013 |
2.0.0-beta4 | 4,351 | 2/17/2013 |
2.0.0-beta3 | 4,302 | 2/10/2013 |
2.0.0-beta2 | 4,324 | 2/8/2013 |
2.0.0-beta1 | 4,352 | 1/29/2013 |
2.0.0-alpha1 | 4,236 | 1/19/2013 |
1.6.0.12319 | 11,448 | 11/15/2012 |
1.5.0.12199 | 11,504 | 7/17/2012 |
1.4.2.12140 | 6,822 | 5/19/2012 |
1.4.0.12049 | 4,797 | 2/17/2012 |
1.3.0.11343 | 4,513 | 12/10/2011 |
1.2.0.11273 | 27,393 | 10/3/2011 |