SimpleInjector 2.8.3

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.3
dotnet add package SimpleInjector --version 2.8.3
<PackageReference Include="SimpleInjector" Version="2.8.3" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add SimpleInjector --version 2.8.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: SimpleInjector, 2.8.3"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install SimpleInjector as a Cake Addin
#addin nuget:?package=SimpleInjector&version=2.8.3

// Install SimpleInjector as a Cake Tool
#tool nuget:?package=SimpleInjector&version=2.8.3
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.

NuGet packages (306)

Showing the top 5 NuGet packages that depend on SimpleInjector:

Package Downloads
SimpleInjector.Integration.WebApi
Simple Injector ASP.NET Web API 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.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.Integration.AspNetCore
Integration library for ASP.NET Core for Simple Injector.

GitHub repositories (47)

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 70,107 3/4/2021
5.3.0-beta2 3,792 1/8/2021
5.3.0-beta1 151 1/7/2021
5.2.1 114,727 1/13/2021
5.2.0-alpha2 1,652 12/7/2020
5.2.0-alpha1 287 12/5/2020
5.1.0 159,517 10/24/2020
5.0.4 30,620 10/15/2020
5.0.3 273,572 7/13/2020
5.0.2 31,680 6/28/2020
5.0.1 42,043 6/15/2020
5.0.0 177,972 6/11/2020
5.0.0-beta2 1,261 6/6/2020
5.0.0-beta1 1,050 6/1/2020
4.10.2 593,595 4/24/2020
4.9.2 149,861 4/8/2020
4.9.1 325,293 3/6/2020
4.9.0 554,040 1/6/2020
4.8.1 255,105 11/30/2019
4.8.0 90,245 11/23/2019
4.8.0-beta2 774 11/20/2019
4.8.0-beta1 887 11/17/2019
4.8.0-alpha3 1,206 11/17/2019
4.8.0-alpha2 701 11/16/2019
4.8.0-alpha1 764 11/16/2019
4.7.1 610,953 9/2/2019
4.7.0 1,779 9/1/2019
4.6.2 368,034 7/27/2019
4.6.1 35,712 7/23/2019
4.6.0 699,740 5/11/2019
4.6.0-beta2 4,541 5/8/2019
4.6.0-beta1 4,736 4/23/2019
4.5.3 19,374 7/23/2019
4.5.2 55,148 5/6/2019
4.5.1 342,134 3/22/2019
4.5.0 19,019 3/21/2019
4.5.0-beta1 5,542 3/14/2019
4.4.3 1,046,249 1/1/2019
4.4.2 494,334 12/1/2018
4.4.0 433,584 11/2/2018
4.3.0 1,886,665 5/16/2018
4.3.0-beta1 4,848 5/11/2018
4.2.3 12,029 5/15/2018
4.2.2 123,657 4/26/2018
4.2.1 146,426 4/15/2018
4.2.0 5,479 4/14/2018
4.1.3 4,795 5/15/2018
4.1.2 5,666 4/26/2018
4.1.1 92,881 4/4/2018
4.1.0 122,876 3/23/2018
4.1.0-beta1 4,546 3/16/2018
4.1.0-alpha1 6,318 2/26/2018
4.0.12 1,413,983 10/21/2017
4.0.11 298,802 9/20/2017
4.0.8 799,299 6/3/2017
4.0.7 166,370 5/19/2017
4.0.6 98,270 5/4/2017
4.0.3 104,747 4/19/2017
4.0.2 7,856 4/19/2017
4.0.0 265,339 3/31/2017
4.0.0-beta2 25,470 3/14/2017
4.0.0-beta1 7,645 2/19/2017
4.0.0-alpha3 7,933 1/8/2017
4.0.0-alpha2 5,102 12/30/2016
4.0.0-alpha1 5,278 11/25/2016
3.3.2 669,704 12/2/2016
3.3.1 28,558 11/23/2016
3.3.0 41,462 11/21/2016
3.3.0-beta2 4,818 11/10/2016
3.3.0-beta1 4,381 11/9/2016
3.3.0-alpha1 4,416 11/11/2016
3.2.7 209,616 11/3/2016
3.2.5 11,098 11/1/2016
3.2.4 96,401 10/26/2016
3.2.3 64,125 10/16/2016
3.2.2 326,939 8/26/2016
3.2.0 265,953 6/28/2016
3.2.0-beta2 4,408 6/28/2016
3.2.0-beta1 4,329 6/27/2016
3.2.0-alpha2 6,676 5/2/2016
3.1.5 150,514 5/22/2016
3.1.5-alpha3 4,361 5/22/2016
3.1.5-alpha2 4,318 5/22/2016
3.1.5-alpha1 4,247 5/18/2016
3.1.4 86,123 5/1/2016
3.1.3 67,050 4/12/2016
3.1.2 400,800 12/14/2015
3.1.2-alpha2 4,595 12/8/2015
3.1.2-alpha1 4,340 12/6/2015
3.1.1 103,699 11/23/2015
3.1.0 115,006 10/12/2015
3.0.7 5,925 10/10/2015
3.0.6 11,759 10/4/2015
3.0.5 71,096 9/3/2015
3.0.4 15,545 8/31/2015
3.0.3 6,845 8/27/2015
3.0.1 17,750 8/20/2015
3.0.0 15,655 8/18/2015
3.0.0-beta4 5,613 8/11/2015
3.0.0-beta3 4,502 8/3/2015
3.0.0-beta2 4,583 7/17/2015
3.0.0-beta1 5,555 6/28/2015
3.0.0-alpha2 4,449 6/21/2015
3.0.0-alpha1 4,512 6/14/2015
2.8.3 124,991 7/17/2015
2.8.1 5,892 7/16/2015
2.8.0 202,699 5/2/2015
2.8.0-beta5 4,011 5/3/2015
2.8.0-beta4 4,520 4/27/2015
2.8.0-beta3 4,366 4/26/2015
2.8.0-beta2 4,482 4/17/2015
2.8.0-beta1 4,649 4/9/2015
2.8.0-alpha1 4,420 4/5/2015
2.7.3 127,953 3/9/2015
2.7.3-alpha1 4,510 3/1/2015
2.7.2 35,250 2/12/2015
2.7.2-beta2 4,098 2/11/2015
2.7.2-beta1 4,093 2/10/2015
2.7.2-alpha2 4,429 2/12/2015
2.7.2-alpha1 4,102 2/10/2015
2.7.1 16,574 2/1/2015
2.7.1-alpha3 4,768 1/16/2015
2.7.1-alpha2 4,090 1/16/2015
2.7.1-alpha1 4,052 1/15/2015
2.7.0 20,610 1/15/2015
2.7.0-beta2 4,074 1/13/2015
2.7.0-beta1 5,007 11/12/2014
2.6.1 97,535 10/26/2014
2.6.0 20,870 10/14/2014
2.6.0-beta2 4,702 9/20/2014
2.6.0-beta1 6,262 8/30/2014
2.6.0-alpha2 4,463 8/17/2014
2.6.0-alpha1 4,132 8/17/2014
2.5.2 67,359 7/13/2014
2.5.0 98,758 3/2/2014
2.5.0-beta2 4,518 2/26/2014
2.5.0-beta1 6,211 2/9/2014
2.4.1 24,240 1/14/2014
2.4.0 15,107 12/8/2013
2.4.0-beta3 4,460 11/24/2013
2.4.0-beta2 4,446 11/5/2013
2.4.0-beta1 4,746 10/15/2013
2.4.0-alpha3 4,462 8/23/2013
2.4.0-alpha1 4,383 7/15/2013
2.3.6 16,473 10/21/2013
2.3.5 15,877 9/2/2013
2.3.2 6,072 8/31/2013
2.3.0 31,081 6/30/2013
2.3.0-beta2 4,551 6/20/2013
2.3.0-beta1 4,379 6/18/2013
2.2.3 14,249 5/4/2013
2.2.1 7,862 4/19/2013
2.2.0 5,935 4/8/2013
2.1.0 6,753 3/19/2013
2.0.2 8,241 3/10/2013
2.0.1 6,586 2/28/2013
2.0.0 8,275 2/25/2013
2.0.0-beta5 4,538 2/22/2013
2.0.0-beta4 4,541 2/17/2013
2.0.0-beta3 4,501 2/10/2013
2.0.0-beta2 4,523 2/8/2013
2.0.0-beta1 4,524 1/29/2013
2.0.0-alpha1 4,391 1/19/2013
1.6.0.12319 11,958 11/15/2012
1.5.0.12199 11,772 7/17/2012
1.4.2.12140 7,121 5/19/2012
1.4.0.12049 5,023 2/17/2012
1.3.0.11343 4,697 12/10/2011
1.2.0.11273 28,157 10/3/2011
Show less