SimpleInjector 2.4.0-alpha3

The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org. Prefix Reserved
This is a prerelease version of SimpleInjector.
There is a newer version of this package available.
See the version list below for details.
dotnet add package SimpleInjector --version 2.4.0-alpha3
NuGet\Install-Package SimpleInjector -Version 2.4.0-alpha3
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.4.0-alpha3" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add SimpleInjector --version 2.4.0-alpha3
#r "nuget: SimpleInjector, 2.4.0-alpha3"
#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.4.0-alpha3&prerelease

// Install SimpleInjector as a Cake Tool
#tool nuget:?package=SimpleInjector&version=2.4.0-alpha3&prerelease

The goal of Simple Injector is to provide .NET and Silveright 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. 
Silverlight sl4 is compatible.  sl5 was computed. 
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.5 744 4/25/2024
5.4.4 206,897 1/5/2024
5.4.3 58,575 12/13/2023
5.4.3-beta1 1,861 12/11/2023
5.4.2 61,869 11/15/2023
5.4.1 2,117,317 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,590,208 7/20/2022
5.3.3 1,271,238 1/29/2022
5.3.2 1,742,171 7/2/2021
5.3.1 213,419 6/13/2021
5.3.0 1,722,492 3/4/2021
5.3.0-beta2 23,131 1/8/2021
5.3.0-beta1 3,156 1/7/2021
5.2.1 868,278 1/13/2021
5.2.0-alpha2 11,743 12/7/2020
5.2.0-alpha1 4,605 12/5/2020
5.1.0 622,223 10/24/2020
5.0.4 82,411 10/15/2020
5.0.3 741,718 7/13/2020
5.0.2 136,646 6/28/2020
5.0.1 104,984 6/15/2020
5.0.0 1,207,813 6/11/2020
5.0.0-beta2 9,582 6/6/2020
5.0.0-beta1 9,320 6/1/2020
4.10.2 2,035,990 4/24/2020
4.9.2 374,502 4/8/2020
4.9.1 877,590 3/6/2020
4.9.0 1,346,982 1/6/2020
4.8.1 535,942 11/30/2019
4.8.0 164,347 11/23/2019
4.8.0-beta2 8,789 11/20/2019
4.8.0-beta1 8,959 11/17/2019
4.8.0-alpha3 9,150 11/17/2019
4.8.0-alpha2 8,620 11/16/2019
4.8.0-alpha1 8,673 11/16/2019
4.7.1 1,305,211 9/2/2019
4.7.0 13,933 9/1/2019
4.6.2 742,808 7/27/2019
4.6.1 142,206 7/23/2019
4.6.0 1,412,380 5/11/2019
4.6.0-beta2 12,591 5/8/2019
4.6.0-beta1 12,800 4/23/2019
4.5.3 30,363 7/23/2019
4.5.2 106,737 5/6/2019
4.5.1 638,502 3/22/2019
4.5.0 40,666 3/21/2019
4.5.0-beta1 12,972 3/14/2019
4.4.3 1,894,042 1/1/2019
4.4.2 883,497 12/1/2018
4.4.0 1,084,966 11/2/2018
4.3.0 3,624,946 5/16/2018
4.3.0-beta1 12,519 5/11/2018
4.2.3 28,515 5/15/2018
4.2.2 188,552 4/26/2018
4.2.1 269,432 4/15/2018
4.2.0 16,487 4/14/2018
4.1.3 14,801 5/15/2018
4.1.2 15,848 4/26/2018
4.1.1 162,929 4/4/2018
4.1.0 193,429 3/23/2018
4.1.0-beta1 12,123 3/16/2018
4.1.0-alpha1 30,376 2/26/2018
4.0.12 2,370,758 10/21/2017
4.0.11 536,637 9/20/2017
4.0.8 1,688,268 6/3/2017
4.0.7 311,478 5/19/2017
4.0.6 155,535 5/4/2017
4.0.3 205,154 4/19/2017
4.0.2 18,350 4/19/2017
4.0.0 577,894 3/31/2017
4.0.0-beta2 34,307 3/14/2017
4.0.0-beta1 16,117 2/19/2017
4.0.0-alpha3 17,206 1/8/2017
4.0.0-alpha2 13,577 12/30/2016
4.0.0-alpha1 13,263 11/25/2016
3.3.2 1,108,368 12/2/2016
3.3.1 45,421 11/23/2016
3.3.0 83,235 11/21/2016
3.3.0-beta2 12,735 11/10/2016
3.3.0-beta1 12,575 11/9/2016
3.3.0-alpha1 12,282 11/11/2016
3.2.7 320,447 11/3/2016
3.2.5 27,414 11/1/2016
3.2.4 1,031,513 10/26/2016
3.2.3 97,289 10/16/2016
3.2.2 473,006 8/26/2016
3.2.0 536,334 6/28/2016
3.2.0-beta2 11,528 6/28/2016
3.2.0-beta1 11,621 6/27/2016
3.2.0-alpha2 13,731 5/2/2016
3.1.5 233,475 5/22/2016
3.1.5-alpha3 11,706 5/22/2016
3.1.5-alpha2 11,269 5/22/2016
3.1.5-alpha1 10,457 5/18/2016
3.1.4 167,161 5/1/2016
3.1.3 119,344 4/12/2016
3.1.2 592,535 12/14/2015
3.1.2-alpha2 10,834 12/8/2015
3.1.2-alpha1 10,546 12/6/2015
3.1.1 150,148 11/23/2015
3.1.0 209,380 10/12/2015
3.0.7 16,736 10/10/2015
3.0.6 22,849 10/4/2015
3.0.5 157,630 9/3/2015
3.0.4 55,690 8/31/2015
3.0.3 17,929 8/27/2015
3.0.1 43,277 8/20/2015
3.0.0 32,723 8/18/2015
3.0.0-beta4 13,615 8/11/2015
3.0.0-beta3 12,562 8/3/2015
3.0.0-beta2 12,545 7/17/2015
3.0.0-beta1 14,883 6/28/2015
3.0.0-alpha2 12,363 6/21/2015
3.0.0-alpha1 12,105 6/14/2015
2.8.3 231,456 7/17/2015
2.8.1 15,367 7/16/2015
2.8.0 357,215 5/2/2015
2.8.0-beta5 7,481 5/3/2015
2.8.0-beta4 12,741 4/27/2015
2.8.0-beta3 12,446 4/26/2015
2.8.0-beta2 12,468 4/17/2015
2.8.0-beta1 12,676 4/9/2015
2.8.0-alpha1 12,443 4/5/2015
2.7.3 264,546 3/9/2015
2.7.3-alpha1 12,558 3/1/2015
2.7.2 61,717 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,505 2/12/2015
2.7.2-alpha1 7,308 2/10/2015
2.7.1 42,256 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,246 1/15/2015
2.7.0 59,359 1/15/2015
2.7.0-beta2 7,279 1/13/2015
2.7.0-beta1 8,278 11/12/2014
2.6.1 170,797 10/26/2014
2.6.0 60,857 10/14/2014
2.6.0-beta2 7,804 9/20/2014
2.6.0-beta1 14,364 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,634 7/13/2014
2.5.0 279,738 3/2/2014
2.5.0-beta2 12,496 2/26/2014
2.5.0-beta1 17,262 2/9/2014
2.4.1 86,013 1/14/2014
2.4.0 48,022 12/8/2013
2.4.0-beta3 11,859 11/24/2013
2.4.0-beta2 11,723 11/5/2013
2.4.0-beta1 11,958 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,498 10/21/2013
2.3.5 40,872 9/2/2013
2.3.2 31,956 8/31/2013
2.3.0 68,653 6/30/2013
2.3.0-beta2 11,518 6/20/2013
2.3.0-beta1 8,184 6/18/2013
2.2.3 63,219 5/4/2013
2.2.1 32,288 4/19/2013
2.2.0 15,569 4/8/2013
2.1.0 15,658 3/19/2013
2.0.2 18,021 3/10/2013
2.0.1 16,349 2/28/2013
2.0.0 21,678 2/25/2013
2.0.0-beta5 12,118 2/22/2013
2.0.0-beta4 12,001 2/17/2013
2.0.0-beta3 12,095 2/10/2013
2.0.0-beta2 12,088 2/8/2013
2.0.0-beta1 10,236 1/29/2013
2.0.0-alpha1 8,626 1/19/2013
1.6.0.12319 34,032 11/15/2012
1.5.0.12199 21,527 7/17/2012
1.4.2.12140 17,618 5/19/2012
1.4.0.12049 20,500 2/17/2012
1.3.0.11343 18,160 12/10/2011
1.2.0.11273 43,766 10/3/2011

Two new features are tested in this alpha release.
1. A new SimpleInjector.Diagnostics.dll to the core package that makes the Diagnostic API public. For more info, see here: https://simpleinjector.codeplex.com/workitem/20062.
2. .NET 4.5 interface IReadOnlyCollection<T> and IReadOnlyList<T> are supported as collection types. They are automatically injected, just as IEnumerable<T> already is. More info here: https://simpleinjector.codeplex.com/workitem/19992.