SimpleInjector 2.8.1

Simple Injector is an easy, flexible and fast dependency injection library that uses best practice to guide your solutions toward the pit of success.

There is a newer version of this package available.
See the version list below for details.
Install-Package SimpleInjector -Version 2.8.1
dotnet add package SimpleInjector --version 2.8.1
<PackageReference Include="SimpleInjector" Version="2.8.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add SimpleInjector --version 2.8.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

This patch release fixes a bug in the diagnostic system. The torn lifestyle warning caused false positives in situations where RegisterSingle<T>(T instance) was used.

Dependencies

This package has no dependencies.

Showing the top 10 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
XLabs/Xamarin-Forms-Labs
Xamarin Forms Labs is a open source project that aims to provide a powerful and cross platform set of controls and helpers tailored to work with Xamarin Forms.
SolrNet/SolrNet
Solr client for .Net
danielpalme/IocPerformance
Performance comparison of .NET IoC containers
maartenba/MvcSiteMapProvider
An ASP.NET MVC SiteMapProvider implementation for the ASP.NET MVC framework.
SharpRepository/SharpRepository
C# Generic Repository for use with Entity Framework, RavenDB and more with built-in caching options.

Read more about the GitHub Usage information on our documentation.

Version History

Version Downloads Last updated
5.0.0-beta1 0 6/1/2020
4.10.2 41,194 4/24/2020
4.9.2 31,174 4/8/2020
4.9.1 79,504 3/6/2020
4.9.0 217,988 1/6/2020
4.8.1 124,149 11/30/2019
4.8.0 43,346 11/23/2019
4.8.0-beta2 198 11/20/2019
4.8.0-beta1 290 11/17/2019
4.8.0-alpha3 596 11/17/2019
4.8.0-alpha2 167 11/16/2019
4.8.0-alpha1 164 11/16/2019
4.7.1 326,648 9/2/2019
4.7.0 880 9/1/2019
4.6.2 190,205 7/27/2019
4.6.1 21,808 7/23/2019
4.6.0 428,846 5/11/2019
4.6.0-beta2 3,935 5/8/2019
4.6.0-beta1 4,139 4/23/2019
4.5.3 18,167 7/23/2019
4.5.2 39,727 5/6/2019
4.5.1 243,651 3/22/2019
4.5.0 16,986 3/21/2019
4.5.0-beta1 4,967 3/14/2019
4.4.3 730,941 1/1/2019
4.4.2 313,991 12/1/2018
4.4.0 270,081 11/2/2018
4.3.0 1,400,601 5/16/2018
4.3.0-beta1 4,284 5/11/2018
4.2.3 9,861 5/15/2018
4.2.2 103,720 4/26/2018
4.2.1 113,343 4/15/2018
4.2.0 4,602 4/14/2018
4.1.3 4,155 5/15/2018
4.1.2 4,983 4/26/2018
4.1.1 78,389 4/4/2018
4.1.0 105,558 3/23/2018
4.1.0-beta1 3,942 3/16/2018
4.1.0-alpha1 4,616 2/26/2018
4.0.12 1,101,653 10/21/2017
4.0.11 227,938 9/20/2017
4.0.8 614,036 6/3/2017
4.0.7 119,850 5/19/2017
4.0.6 83,463 5/4/2017
4.0.3 86,672 4/19/2017
4.0.2 7,086 4/19/2017
4.0.0 172,131 3/31/2017
4.0.0-beta2 24,757 3/14/2017
4.0.0-beta1 7,045 2/19/2017
4.0.0-alpha3 7,218 1/8/2017
4.0.0-alpha2 4,488 12/30/2016
4.0.0-alpha1 4,668 11/25/2016
3.3.2 535,444 12/2/2016
3.3.1 25,854 11/23/2016
3.3.0 31,642 11/21/2016
3.3.0-beta2 4,280 11/10/2016
3.3.0-beta1 3,846 11/9/2016
3.3.0-alpha1 3,842 11/11/2016
3.2.7 148,155 11/3/2016
3.2.5 10,158 11/1/2016
3.2.4 27,926 10/26/2016
3.2.3 55,231 10/16/2016
3.2.2 266,768 8/26/2016
3.2.0 191,191 6/28/2016
3.2.0-beta2 3,882 6/28/2016
3.2.0-beta1 3,809 6/27/2016
3.2.0-alpha2 6,131 5/2/2016
3.1.5 131,596 5/22/2016
3.1.5-alpha3 3,866 5/22/2016
3.1.5-alpha2 3,804 5/22/2016
3.1.5-alpha1 3,795 5/18/2016
3.1.4 66,507 5/1/2016
3.1.3 57,348 4/12/2016
3.1.2 307,360 12/14/2015
3.1.2-alpha2 4,147 12/8/2015
3.1.2-alpha1 3,878 12/6/2015
3.1.1 93,586 11/23/2015
3.1.0 83,945 10/12/2015
3.0.7 5,019 10/10/2015
3.0.6 10,764 10/4/2015
3.0.5 59,337 9/3/2015
3.0.4 7,142 8/31/2015
3.0.3 5,977 8/27/2015
3.0.1 14,991 8/20/2015
3.0.0 12,987 8/18/2015
3.0.0-beta4 5,037 8/11/2015
3.0.0-beta3 3,956 8/3/2015
3.0.0-beta2 4,044 7/17/2015
3.0.0-beta1 4,928 6/28/2015
3.0.0-alpha2 3,910 6/21/2015
3.0.0-alpha1 3,974 6/14/2015
2.8.3 77,260 7/17/2015
2.8.1 5,331 7/16/2015
2.8.0 165,990 5/2/2015
2.8.0-beta5 3,789 5/3/2015
2.8.0-beta4 3,955 4/27/2015
2.8.0-beta3 3,817 4/26/2015
2.8.0-beta2 3,908 4/17/2015
2.8.0-beta1 4,120 4/9/2015
2.8.0-alpha1 3,889 4/5/2015
2.7.3 97,384 3/9/2015
2.7.3-alpha1 3,962 3/1/2015
2.7.2 31,815 2/12/2015
2.7.2-beta2 3,857 2/11/2015
2.7.2-beta1 3,858 2/10/2015
2.7.2-alpha2 3,886 2/12/2015
2.7.2-alpha1 3,837 2/10/2015
2.7.1 14,368 2/1/2015
2.7.1-alpha3 4,529 1/16/2015
2.7.1-alpha2 3,842 1/16/2015
2.7.1-alpha1 3,810 1/15/2015
2.7.0 14,921 1/15/2015
2.7.0-beta2 3,836 1/13/2015
2.7.0-beta1 4,773 11/12/2014
2.6.1 86,661 10/26/2014
2.6.0 12,772 10/14/2014
2.6.0-beta2 4,351 9/20/2014
2.6.0-beta1 5,463 8/30/2014
2.6.0-alpha2 4,223 8/17/2014
2.6.0-alpha1 3,895 8/17/2014
2.5.2 59,678 7/13/2014
2.5.0 68,169 3/2/2014
2.5.0-beta2 3,945 2/26/2014
2.5.0-beta1 4,749 2/9/2014
2.4.1 19,694 1/14/2014
2.4.0 12,576 12/8/2013
2.4.0-beta3 3,990 11/24/2013
2.4.0-beta2 4,006 11/5/2013
2.4.0-beta1 4,169 10/15/2013
2.4.0-alpha3 4,131 8/23/2013
2.4.0-alpha1 4,043 7/15/2013
2.3.6 13,868 10/21/2013
2.3.5 12,458 9/2/2013
2.3.2 4,124 8/31/2013
2.3.0 28,139 6/30/2013
2.3.0-beta2 4,019 6/20/2013
2.3.0-beta1 3,982 6/18/2013
2.2.3 10,646 5/4/2013
2.2.1 5,924 4/19/2013
2.2.0 5,221 4/8/2013
2.1.0 6,116 3/19/2013
2.0.2 7,548 3/10/2013
2.0.1 5,830 2/28/2013
2.0.0 7,053 2/25/2013
2.0.0-beta5 3,978 2/22/2013
2.0.0-beta4 4,001 2/17/2013
2.0.0-beta3 3,958 2/10/2013
2.0.0-beta2 3,950 2/8/2013
2.0.0-beta1 4,018 1/29/2013
2.0.0-alpha1 3,986 1/19/2013
1.6.0.12319 10,551 11/15/2012
1.5.0.12199 9,883 7/17/2012
1.4.2.12140 6,232 5/19/2012
1.4.0.12049 4,491 2/17/2012
1.3.0.11343 4,254 12/10/2011
1.2.0.11273 12,041 10/3/2011
Show less