SimpleInjector 4.0.6

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 4.0.6
NuGet\Install-Package SimpleInjector -Version 4.0.6
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="4.0.6" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add SimpleInjector --version 4.0.6
#r "nuget: SimpleInjector, 4.0.6"
#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=4.0.6

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

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

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp1.0 was computed.  netcoreapp1.1 was computed.  netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard1.0 is compatible.  netstandard1.1 was computed.  netstandard1.2 was computed.  netstandard1.3 is compatible.  netstandard1.4 was computed.  netstandard1.5 was computed.  netstandard1.6 was computed.  netstandard2.0 was computed.  netstandard2.1 was computed. 
.NET Framework net40 is compatible.  net403 was computed.  net45 is compatible.  net451 was computed.  net452 was computed.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen30 was computed.  tizen40 was computed.  tizen60 was computed. 
Universal Windows Platform uap was computed.  uap10.0 was computed. 
Windows Phone wp8 was computed.  wp81 was computed.  wpa81 was computed. 
Windows Store netcore was computed.  netcore45 was computed.  netcore451 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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 148,092 1/5/2024
5.4.3 53,828 12/13/2023
5.4.3-beta1 1,729 12/11/2023
5.4.2 56,639 11/15/2023
5.4.1 2,034,380 9/29/2022
5.4.1-beta2 2,843 9/27/2022
5.4.1-beta1 2,632 9/27/2022
5.4.0 1,511,967 7/20/2022
5.3.3 1,250,465 1/29/2022
5.3.2 1,717,015 7/2/2021
5.3.1 211,315 6/13/2021
5.3.0 1,698,612 3/4/2021
5.3.0-beta2 22,826 1/8/2021
5.3.0-beta1 2,987 1/7/2021
5.2.1 843,727 1/13/2021
5.2.0-alpha2 11,530 12/7/2020
5.2.0-alpha1 4,405 12/5/2020
5.1.0 613,973 10/24/2020
5.0.4 80,981 10/15/2020
5.0.3 735,164 7/13/2020
5.0.2 134,663 6/28/2020
5.0.1 104,232 6/15/2020
5.0.0 1,186,262 6/11/2020
5.0.0-beta2 9,185 6/6/2020
5.0.0-beta1 8,893 6/1/2020
4.10.2 2,013,165 4/24/2020
4.9.2 368,554 4/8/2020
4.9.1 871,190 3/6/2020
4.9.0 1,334,809 1/6/2020
4.8.1 530,496 11/30/2019
4.8.0 163,364 11/23/2019
4.8.0-beta2 8,394 11/20/2019
4.8.0-beta1 8,599 11/17/2019
4.8.0-alpha3 8,727 11/17/2019
4.8.0-alpha2 8,165 11/16/2019
4.8.0-alpha1 8,262 11/16/2019
4.7.1 1,291,156 9/2/2019
4.7.0 13,437 9/1/2019
4.6.2 737,698 7/27/2019
4.6.1 139,279 7/23/2019
4.6.0 1,399,144 5/11/2019
4.6.0-beta2 12,222 5/8/2019
4.6.0-beta1 12,413 4/23/2019
4.5.3 29,983 7/23/2019
4.5.2 105,982 5/6/2019
4.5.1 634,167 3/22/2019
4.5.0 38,944 3/21/2019
4.5.0-beta1 12,611 3/14/2019
4.4.3 1,875,029 1/1/2019
4.4.2 876,908 12/1/2018
4.4.0 1,074,988 11/2/2018
4.3.0 3,590,983 5/16/2018
4.3.0-beta1 12,142 5/11/2018
4.2.3 28,076 5/15/2018
4.2.2 187,162 4/26/2018
4.2.1 267,590 4/15/2018
4.2.0 16,015 4/14/2018
4.1.3 14,416 5/15/2018
4.1.2 15,486 4/26/2018
4.1.1 161,129 4/4/2018
4.1.0 191,610 3/23/2018
4.1.0-beta1 11,717 3/16/2018
4.1.0-alpha1 29,701 2/26/2018
4.0.12 2,359,499 10/21/2017
4.0.11 531,029 9/20/2017
4.0.8 1,668,969 6/3/2017
4.0.7 310,139 5/19/2017
4.0.6 154,131 5/4/2017
4.0.3 202,022 4/19/2017
4.0.2 17,919 4/19/2017
4.0.0 573,844 3/31/2017
4.0.0-beta2 33,889 3/14/2017
4.0.0-beta1 15,736 2/19/2017
4.0.0-alpha3 16,807 1/8/2017
4.0.0-alpha2 13,152 12/30/2016
4.0.0-alpha1 12,866 11/25/2016
3.3.2 1,099,820 12/2/2016
3.3.1 44,953 11/23/2016
3.3.0 81,946 11/21/2016
3.3.0-beta2 12,412 11/10/2016
3.3.0-beta1 12,236 11/9/2016
3.3.0-alpha1 11,938 11/11/2016
3.2.7 319,178 11/3/2016
3.2.5 26,944 11/1/2016
3.2.4 1,019,259 10/26/2016
3.2.3 96,629 10/16/2016
3.2.2 470,294 8/26/2016
3.2.0 528,672 6/28/2016
3.2.0-beta2 11,191 6/28/2016
3.2.0-beta1 11,271 6/27/2016
3.2.0-alpha2 13,369 5/2/2016
3.1.5 231,106 5/22/2016
3.1.5-alpha3 11,456 5/22/2016
3.1.5-alpha2 10,973 5/22/2016
3.1.5-alpha1 10,170 5/18/2016
3.1.4 165,247 5/1/2016
3.1.3 117,853 4/12/2016
3.1.2 588,540 12/14/2015
3.1.2-alpha2 10,555 12/8/2015
3.1.2-alpha1 10,204 12/6/2015
3.1.1 149,190 11/23/2015
3.1.0 208,206 10/12/2015
3.0.7 16,415 10/10/2015
3.0.6 22,457 10/4/2015
3.0.5 155,881 9/3/2015
3.0.4 55,342 8/31/2015
3.0.3 17,541 8/27/2015
3.0.1 42,595 8/20/2015
3.0.0 32,055 8/18/2015
3.0.0-beta4 13,284 8/11/2015
3.0.0-beta3 12,193 8/3/2015
3.0.0-beta2 12,136 7/17/2015
3.0.0-beta1 14,457 6/28/2015
3.0.0-alpha2 11,980 6/21/2015
3.0.0-alpha1 11,767 6/14/2015
2.8.3 228,647 7/17/2015
2.8.1 14,918 7/16/2015
2.8.0 354,103 5/2/2015
2.8.0-beta5 7,299 5/3/2015
2.8.0-beta4 12,278 4/27/2015
2.8.0-beta3 12,052 4/26/2015
2.8.0-beta2 12,085 4/17/2015
2.8.0-beta1 12,275 4/9/2015
2.8.0-alpha1 12,033 4/5/2015
2.7.3 261,775 3/9/2015
2.7.3-alpha1 12,145 3/1/2015
2.7.2 61,051 2/12/2015
2.7.2-beta2 7,327 2/11/2015
2.7.2-beta1 7,251 2/10/2015
2.7.2-alpha2 12,145 2/12/2015
2.7.2-alpha1 7,144 2/10/2015
2.7.1 41,227 2/1/2015
2.7.1-alpha3 7,802 1/16/2015
2.7.1-alpha2 7,185 1/16/2015
2.7.1-alpha1 7,105 1/15/2015
2.7.0 58,868 1/15/2015
2.7.0-beta2 7,108 1/13/2015
2.7.0-beta1 8,108 11/12/2014
2.6.1 169,601 10/26/2014
2.6.0 59,873 10/14/2014
2.6.0-beta2 7,645 9/20/2014
2.6.0-beta1 13,992 8/30/2014
2.6.0-alpha2 7,592 8/17/2014
2.6.0-alpha1 7,211 8/17/2014
2.5.2 123,656 7/13/2014
2.5.0 276,962 3/2/2014
2.5.0-beta2 12,183 2/26/2014
2.5.0-beta1 16,795 2/9/2014
2.4.1 85,457 1/14/2014
2.4.0 47,506 12/8/2013
2.4.0-beta3 11,484 11/24/2013
2.4.0-beta2 11,269 11/5/2013
2.4.0-beta1 11,590 10/15/2013
2.4.0-alpha3 7,433 8/23/2013
2.4.0-alpha1 7,454 7/15/2013
2.3.6 62,146 10/21/2013
2.3.5 39,633 9/2/2013
2.3.2 31,566 8/31/2013
2.3.0 67,219 6/30/2013
2.3.0-beta2 11,141 6/20/2013
2.3.0-beta1 8,026 6/18/2013
2.2.3 62,210 5/4/2013
2.2.1 31,746 4/19/2013
2.2.0 15,231 4/8/2013
2.1.0 15,223 3/19/2013
2.0.2 17,618 3/10/2013
2.0.1 15,944 2/28/2013
2.0.0 21,257 2/25/2013
2.0.0-beta5 11,679 2/22/2013
2.0.0-beta4 11,630 2/17/2013
2.0.0-beta3 11,703 2/10/2013
2.0.0-beta2 11,620 2/8/2013
2.0.0-beta1 9,980 1/29/2013
2.0.0-alpha1 8,442 1/19/2013
1.6.0.12319 33,514 11/15/2012
1.5.0.12199 21,178 7/17/2012
1.4.2.12140 17,253 5/19/2012
1.4.0.12049 19,559 2/17/2012
1.3.0.11343 17,164 12/10/2011
1.2.0.11273 43,214 10/3/2011

Problems with running Simple Injector in partial trust fixed. Partial trust didn't work when using the AsyncScopedLifestyle.