SimpleInjector 2.2.1

The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org. Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package SimpleInjector --version 2.2.1
NuGet\Install-Package SimpleInjector -Version 2.2.1
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="SimpleInjector" Version="2.2.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add SimpleInjector --version 2.2.1
#r "nuget: SimpleInjector, 2.2.1"
#r directive can be used in F# Interactive and Polyglot Notebooks. 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.2.1

// Install SimpleInjector as a Cake Tool
#tool nuget:?package=SimpleInjector&version=2.2.1

The goal of Simple Injector is to provide .NET application developers with an easy, flexible, and fast dependency injection framework, that uses best practices to steers developers towards the pit of success.

Product Compatible and additional computed target framework versions.
.NET Framework net40-client is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages (357)

Showing the top 5 NuGet packages that depend on SimpleInjector:

Package Downloads
SimpleInjector.Integration.AspNetCore The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

Integration library for ASP.NET Core for Simple Injector.

SimpleInjector.Integration.WebApi The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

Simple Injector ASP.NET Web API Integration.

SimpleInjector.Integration.AspNetCore.Mvc.Core The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

Integration library for ASP.NET Core MVC core features for Simple Injector. This includes controller integration.

SimpleInjector.Integration.Web The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

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.ServiceCollection The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

Integrates Simple Injector with applications that require the use of IServiceCollection for registration of framework components.

GitHub repositories (55)

Showing the top 5 popular GitHub repositories that depend on SimpleInjector:

Repository Stars
jbogard/MediatR
Simple, unambitious mediator implementation in .NET
chocolatey/choco
Chocolatey - the package manager for Windows
MediaBrowser/Emby
Emby Server is a personal media server with apps on just about every device.
reactiveui/splat
Makes things cross-platform
dadhi/DryIoc
DryIoc is fast, small, full-featured IoC Container for .NET
Version Downloads Last updated
5.4.4 178,999 1/5/2024
5.4.3 56,508 12/13/2023
5.4.3-beta1 1,861 12/11/2023
5.4.2 59,487 11/15/2023
5.4.1 2,079,883 9/29/2022
5.4.1-beta2 2,981 9/27/2022
5.4.1-beta1 2,741 9/27/2022
5.4.0 1,552,463 7/20/2022
5.3.3 1,261,427 1/29/2022
5.3.2 1,731,927 7/2/2021
5.3.1 212,757 6/13/2021
5.3.0 1,711,857 3/4/2021
5.3.0-beta2 23,040 1/8/2021
5.3.0-beta1 3,156 1/7/2021
5.2.1 855,984 1/13/2021
5.2.0-alpha2 11,733 12/7/2020
5.2.0-alpha1 4,605 12/5/2020
5.1.0 618,936 10/24/2020
5.0.4 81,768 10/15/2020
5.0.3 739,124 7/13/2020
5.0.2 135,824 6/28/2020
5.0.1 104,622 6/15/2020
5.0.0 1,198,060 6/11/2020
5.0.0-beta2 9,561 6/6/2020
5.0.0-beta1 9,299 6/1/2020
4.10.2 2,025,480 4/24/2020
4.9.2 371,764 4/8/2020
4.9.1 875,045 3/6/2020
4.9.0 1,342,214 1/6/2020
4.8.1 533,589 11/30/2019
4.8.0 164,090 11/23/2019
4.8.0-beta2 8,772 11/20/2019
4.8.0-beta1 8,937 11/17/2019
4.8.0-alpha3 9,135 11/17/2019
4.8.0-alpha2 8,593 11/16/2019
4.8.0-alpha1 8,634 11/16/2019
4.7.1 1,299,465 9/2/2019
4.7.0 13,888 9/1/2019
4.6.2 740,894 7/27/2019
4.6.1 140,907 7/23/2019
4.6.0 1,406,680 5/11/2019
4.6.0-beta2 12,579 5/8/2019
4.6.0-beta1 12,777 4/23/2019
4.5.3 30,350 7/23/2019
4.5.2 106,656 5/6/2019
4.5.1 636,904 3/22/2019
4.5.0 40,081 3/21/2019
4.5.0-beta1 12,955 3/14/2019
4.4.3 1,885,493 1/1/2019
4.4.2 880,467 12/1/2018
4.4.0 1,080,115 11/2/2018
4.3.0 3,611,483 5/16/2018
4.3.0-beta1 12,500 5/11/2018
4.2.3 28,491 5/15/2018
4.2.2 188,216 4/26/2018
4.2.1 269,068 4/15/2018
4.2.0 16,457 4/14/2018
4.1.3 14,778 5/15/2018
4.1.2 15,825 4/26/2018
4.1.1 162,300 4/4/2018
4.1.0 192,912 3/23/2018
4.1.0-beta1 12,102 3/16/2018
4.1.0-alpha1 30,362 2/26/2018
4.0.12 2,366,407 10/21/2017
4.0.11 534,724 9/20/2017
4.0.8 1,680,538 6/3/2017
4.0.7 311,077 5/19/2017
4.0.6 155,093 5/4/2017
4.0.3 203,992 4/19/2017
4.0.2 18,300 4/19/2017
4.0.0 576,455 3/31/2017
4.0.0-beta2 34,280 3/14/2017
4.0.0-beta1 16,095 2/19/2017
4.0.0-alpha3 17,183 1/8/2017
4.0.0-alpha2 13,557 12/30/2016
4.0.0-alpha1 13,229 11/25/2016
3.3.2 1,105,182 12/2/2016
3.3.1 45,349 11/23/2016
3.3.0 82,912 11/21/2016
3.3.0-beta2 12,706 11/10/2016
3.3.0-beta1 12,560 11/9/2016
3.3.0-alpha1 12,266 11/11/2016
3.2.7 320,018 11/3/2016
3.2.5 27,362 11/1/2016
3.2.4 1,031,370 10/26/2016
3.2.3 97,140 10/16/2016
3.2.2 472,029 8/26/2016
3.2.0 533,588 6/28/2016
3.2.0-beta2 11,505 6/28/2016
3.2.0-beta1 11,590 6/27/2016
3.2.0-alpha2 13,717 5/2/2016
3.1.5 232,608 5/22/2016
3.1.5-alpha3 11,690 5/22/2016
3.1.5-alpha2 11,253 5/22/2016
3.1.5-alpha1 10,435 5/18/2016
3.1.4 166,641 5/1/2016
3.1.3 119,063 4/12/2016
3.1.2 590,993 12/14/2015
3.1.2-alpha2 10,814 12/8/2015
3.1.2-alpha1 10,529 12/6/2015
3.1.1 149,955 11/23/2015
3.1.0 208,964 10/12/2015
3.0.7 16,716 10/10/2015
3.0.6 22,819 10/4/2015
3.0.5 157,044 9/3/2015
3.0.4 55,666 8/31/2015
3.0.3 17,909 8/27/2015
3.0.1 43,228 8/20/2015
3.0.0 32,587 8/18/2015
3.0.0-beta4 13,592 8/11/2015
3.0.0-beta3 12,542 8/3/2015
3.0.0-beta2 12,523 7/17/2015
3.0.0-beta1 14,868 6/28/2015
3.0.0-alpha2 12,341 6/21/2015
3.0.0-alpha1 12,082 6/14/2015
2.8.3 230,128 7/17/2015
2.8.1 15,338 7/16/2015
2.8.0 356,194 5/2/2015
2.8.0-beta5 7,478 5/3/2015
2.8.0-beta4 12,714 4/27/2015
2.8.0-beta3 12,426 4/26/2015
2.8.0-beta2 12,446 4/17/2015
2.8.0-beta1 12,660 4/9/2015
2.8.0-alpha1 12,426 4/5/2015
2.7.3 263,442 3/9/2015
2.7.3-alpha1 12,535 3/1/2015
2.7.2 61,596 2/12/2015
2.7.2-beta2 7,478 2/11/2015
2.7.2-beta1 7,403 2/10/2015
2.7.2-alpha2 12,489 2/12/2015
2.7.2-alpha1 7,308 2/10/2015
2.7.1 42,170 2/1/2015
2.7.1-alpha3 7,957 1/16/2015
2.7.1-alpha2 7,334 1/16/2015
2.7.1-alpha1 7,245 1/15/2015
2.7.0 59,302 1/15/2015
2.7.0-beta2 7,279 1/13/2015
2.7.0-beta1 8,277 11/12/2014
2.6.1 170,468 10/26/2014
2.6.0 60,575 10/14/2014
2.6.0-beta2 7,804 9/20/2014
2.6.0-beta1 14,335 8/30/2014
2.6.0-alpha2 7,749 8/17/2014
2.6.0-alpha1 7,381 8/17/2014
2.5.2 124,456 7/13/2014
2.5.0 278,990 3/2/2014
2.5.0-beta2 12,481 2/26/2014
2.5.0-beta1 17,190 2/9/2014
2.4.1 85,934 1/14/2014
2.4.0 47,949 12/8/2013
2.4.0-beta3 11,846 11/24/2013
2.4.0-beta2 11,694 11/5/2013
2.4.0-beta1 11,941 10/15/2013
2.4.0-alpha3 7,561 8/23/2013
2.4.0-alpha1 7,630 7/15/2013
2.3.6 63,133 10/21/2013
2.3.5 40,633 9/2/2013
2.3.2 31,941 8/31/2013
2.3.0 68,399 6/30/2013
2.3.0-beta2 11,496 6/20/2013
2.3.0-beta1 8,184 6/18/2013
2.2.3 62,985 5/4/2013
2.2.1 32,227 4/19/2013
2.2.0 15,546 4/8/2013
2.1.0 15,611 3/19/2013
2.0.2 17,959 3/10/2013
2.0.1 16,325 2/28/2013
2.0.0 21,630 2/25/2013
2.0.0-beta5 12,093 2/22/2013
2.0.0-beta4 11,952 2/17/2013
2.0.0-beta3 12,064 2/10/2013
2.0.0-beta2 12,056 2/8/2013
2.0.0-beta1 10,234 1/29/2013
2.0.0-alpha1 8,624 1/19/2013
1.6.0.12319 33,962 11/15/2012
1.5.0.12199 21,504 7/17/2012
1.4.2.12140 17,614 5/19/2012
1.4.0.12049 20,432 2/17/2012
1.3.0.11343 18,095 12/10/2011
1.2.0.11273 43,669 10/3/2011