SimpleInjector 2.0.0-beta2

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.0.0-beta2
                    
NuGet\Install-Package SimpleInjector -Version 2.0.0-beta2
                    
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.0.0-beta2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="SimpleInjector" Version="2.0.0-beta2" />
                    
Directory.Packages.props
<PackageReference Include="SimpleInjector" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add SimpleInjector --version 2.0.0-beta2
                    
#r "nuget: SimpleInjector, 2.0.0-beta2"
                    
#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.
#:package SimpleInjector@2.0.0-beta2
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=SimpleInjector&version=2.0.0-beta2&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=SimpleInjector&version=2.0.0-beta2&prerelease
                    
Install as a Cake Tool

The Simple Injector is an easy-to-use Inversion of Control library for .NET. It solely supports code-based configuration and is an ideal starting point for developers unfamiliar with larger IoC / DI libraries.

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 (365)

Showing the top 5 NuGet packages that depend on SimpleInjector:

Package Downloads
SimpleInjector.Integration.AspNetCore

Integration library for ASP.NET Core for Simple Injector.

SimpleInjector.Integration.ServiceCollection

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

SimpleInjector.Integration.AspNetCore.Mvc.Core

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

SimpleInjector.Integration.WebApi

Simple Injector ASP.NET Web API Integration.

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.

GitHub repositories (56)

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

Repository Stars
LuckyPennySoftware/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.
NRules/NRules
Rules engine for .NET, based on the Rete matching algorithm, with internal DSL in C#.
dadhi/DryIoc
DryIoc is fast, small, full-featured IoC Container for .NET
BlogEngine/BlogEngine.NET
Multi-User ASP.NET Blogging Application
reactiveui/splat
Makes things cross-platform
CodeMazeBlog/CodeMazeGuides
The main repository for all the Code Maze guides
SolrNet/SolrNet
Solr client for .Net
danielpalme/IocPerformance
Performance comparison of .NET IoC containers
DevTeam/Pure.DI
Pure DI for .NET
dsafa/audio-band
Display and control songs from the Windows taskbar
SharpRepository/SharpRepository
C# Generic Repository for use with Entity Framework, RavenDB and more with built-in caching options.
seesharper/LightInject
An ultra lightweight IoC container
bilal-fazlani/commanddotnet
A modern framework for building modern CLI apps
roubachof/Sharpnado.Tabs
Pure MAUI and Xamarin.Forms Tabs, including fixed tabs, scrollable tabs, bottom tabs, badge, segmented control, custom tabs, button tabs, bendable tabs...
NuKeeperDotNet/NuKeeper
Automagically update nuget packages in .NET projects
maartenba/MvcSiteMapProvider
An ASP.NET MVC SiteMapProvider implementation for the ASP.NET MVC framework.
AudioBand/AudioBand
Display and control songs from the Windows taskbar
pnp/PnP-Tools
Scripts and tools for Office 365 and SharePoint - More for IT Pro's
Version Downloads Last Updated
5.5.0 1,813,172 8/16/2024
5.4.6 501,135 5/24/2024
5.4.5 186,339 4/25/2024
5.4.4 1,033,720 1/5/2024
5.4.3 144,303 12/13/2023
5.4.3-beta1 2,016 12/11/2023
5.4.2 180,049 11/15/2023
5.4.1 4,008,691 9/29/2022
5.4.1-beta2 3,198 9/27/2022
5.4.1-beta1 2,945 9/27/2022
5.4.0 4,137,869 7/20/2022
5.3.3 1,755,885 1/29/2022
5.3.2 2,368,421 7/2/2021
5.3.1 250,046 6/13/2021
5.3.0 2,204,562 3/4/2021
5.3.0-beta2 26,392 1/8/2021
5.3.0-beta1 3,429 1/7/2021
5.2.1 1,424,336 1/13/2021
5.2.0-alpha2 12,278 12/7/2020
5.2.0-alpha1 5,094 12/5/2020
5.1.0 799,989 10/24/2020
5.0.4 99,399 10/15/2020
5.0.3 901,218 7/13/2020
5.0.2 182,571 6/28/2020
5.0.1 115,753 6/15/2020
5.0.0 1,810,979 6/11/2020
5.0.0-beta2 10,274 6/6/2020
5.0.0-beta1 10,026 6/1/2020
4.10.2 2,587,054 4/24/2020
4.9.2 469,773 4/8/2020
4.9.1 991,085 3/6/2020
4.9.0 1,609,543 1/6/2020
4.8.1 653,109 11/30/2019
4.8.0 183,672 11/23/2019
4.8.0-beta2 9,473 11/20/2019
4.8.0-beta1 9,661 11/17/2019
4.8.0-alpha3 9,859 11/17/2019
4.8.0-alpha2 9,267 11/16/2019
4.8.0-alpha1 9,353 11/16/2019
4.7.1 1,759,719 9/2/2019
4.7.0 15,432 9/1/2019
4.6.2 836,043 7/27/2019
4.6.1 178,504 7/23/2019
4.6.0 1,676,920 5/11/2019
4.6.0-beta2 13,320 5/8/2019
4.6.0-beta1 13,430 4/23/2019
4.5.3 31,677 7/23/2019
4.5.2 115,040 5/6/2019
4.5.1 736,407 3/22/2019
4.5.0 78,523 3/21/2019
4.5.0-beta1 13,570 3/14/2019
4.4.3 2,322,353 1/1/2019
4.4.2 956,375 12/1/2018
4.4.0 1,300,297 11/2/2018
4.3.0 4,268,026 5/16/2018
4.3.0-beta1 13,381 5/11/2018
4.2.3 30,007 5/15/2018
4.2.2 213,021 4/26/2018
4.2.1 291,504 4/15/2018
4.2.0 19,001 4/14/2018
4.1.3 15,848 5/15/2018
4.1.2 16,983 4/26/2018
4.1.1 190,691 4/4/2018
4.1.0 212,289 3/23/2018
4.1.0-beta1 13,115 3/16/2018
4.1.0-alpha1 32,262 2/26/2018
4.0.12 2,548,352 10/21/2017
4.0.11 626,548 9/20/2017
4.0.8 2,047,126 6/3/2017
4.0.7 373,697 5/19/2017
4.0.6 214,504 5/4/2017
4.0.3 261,289 4/19/2017
4.0.2 20,771 4/19/2017
4.0.0 677,043 3/31/2017
4.0.0-beta2 35,384 3/14/2017
4.0.0-beta1 16,870 2/19/2017
4.0.0-alpha3 18,232 1/8/2017
4.0.0-alpha2 14,484 12/30/2016
4.0.0-alpha1 14,219 11/25/2016
3.3.2 1,256,667 12/2/2016
3.3.1 49,081 11/23/2016
3.3.0 92,945 11/21/2016
3.3.0-beta2 13,493 11/10/2016
3.3.0-beta1 13,305 11/9/2016
3.3.0-alpha1 13,037 11/11/2016
3.2.7 342,905 11/3/2016
3.2.5 30,156 11/1/2016
3.2.4 1,121,537 10/26/2016
3.2.3 105,010 10/16/2016
3.2.2 518,958 8/26/2016
3.2.0 685,689 6/28/2016
3.2.0-beta2 12,171 6/28/2016
3.2.0-beta1 12,284 6/27/2016
3.2.0-alpha2 14,342 5/2/2016
3.1.5 282,279 5/22/2016
3.1.5-alpha3 12,340 5/22/2016
3.1.5-alpha2 12,029 5/22/2016
3.1.5-alpha1 11,075 5/18/2016
3.1.4 191,320 5/1/2016
3.1.3 132,626 4/12/2016
3.1.2 680,131 12/14/2015
3.1.2-alpha2 11,481 12/8/2015
3.1.2-alpha1 11,183 12/6/2015
3.1.1 164,495 11/23/2015
3.1.0 233,669 10/12/2015
3.0.7 18,444 10/10/2015
3.0.6 23,823 10/4/2015
3.0.5 187,961 9/3/2015
3.0.4 62,213 8/31/2015
3.0.3 19,191 8/27/2015
3.0.1 45,699 8/20/2015
3.0.0 35,330 8/18/2015
3.0.0-beta4 14,445 8/11/2015
3.0.0-beta3 13,275 8/3/2015
3.0.0-beta2 13,281 7/17/2015
3.0.0-beta1 16,707 6/28/2015
3.0.0-alpha2 13,074 6/21/2015
3.0.0-alpha1 12,846 6/14/2015
2.8.3 271,777 7/17/2015
2.8.1 16,109 7/16/2015
2.8.0 416,846 5/2/2015
2.8.0-beta5 7,873 5/3/2015
2.8.0-beta4 13,440 4/27/2015
2.8.0-beta3 13,141 4/26/2015
2.8.0-beta2 13,208 4/17/2015
2.8.0-beta1 13,395 4/9/2015
2.8.0-alpha1 13,215 4/5/2015
2.7.3 307,108 3/9/2015
2.7.3-alpha1 13,261 3/1/2015
2.7.2 69,263 2/12/2015
2.7.2-beta2 7,859 2/11/2015
2.7.2-beta1 7,808 2/10/2015
2.7.2-alpha2 13,175 2/12/2015
2.7.2-alpha1 7,681 2/10/2015
2.7.1 45,574 2/1/2015
2.7.1-alpha3 8,331 1/16/2015
2.7.1-alpha2 7,775 1/16/2015
2.7.1-alpha1 7,659 1/15/2015
2.7.0 65,104 1/15/2015
2.7.0-beta2 7,717 1/13/2015
2.7.0-beta1 8,691 11/12/2014
2.6.1 192,755 10/26/2014
2.6.0 149,528 10/14/2014
2.6.0-beta2 8,221 9/20/2014
2.6.0-beta1 15,350 8/30/2014
2.6.0-alpha2 8,151 8/17/2014
2.6.0-alpha1 7,828 8/17/2014
2.5.2 132,454 7/13/2014
2.5.0 319,580 3/2/2014
2.5.0-beta2 13,208 2/26/2014
2.5.0-beta1 19,898 2/9/2014
2.4.1 89,919 1/14/2014
2.4.0 53,944 12/8/2013
2.4.0-beta3 12,517 11/24/2013
2.4.0-beta2 12,401 11/5/2013
2.4.0-beta1 12,567 10/15/2013
2.4.0-alpha3 8,040 8/23/2013
2.4.0-alpha1 8,020 7/15/2013
2.3.6 90,070 10/21/2013
2.3.5 50,286 9/2/2013
2.3.2 33,757 8/31/2013
2.3.0 70,601 6/30/2013
2.3.0-beta2 12,170 6/20/2013
2.3.0-beta1 8,713 6/18/2013
2.2.3 73,774 5/4/2013
2.2.1 33,864 4/19/2013
2.2.0 16,290 4/8/2013
2.1.0 16,383 3/19/2013
2.0.2 20,176 3/10/2013
2.0.1 17,119 2/28/2013
2.0.0 27,767 2/25/2013
2.0.0-beta5 13,524 2/22/2013
2.0.0-beta4 12,585 2/17/2013
2.0.0-beta3 12,667 2/10/2013
2.0.0-beta2 12,752 2/8/2013
2.0.0-beta1 10,755 1/29/2013
2.0.0-alpha1 9,112 1/19/2013
1.6.0.12319 35,785 11/15/2012
1.5.0.12199 22,589 7/17/2012
1.4.2.12140 18,853 5/19/2012
1.4.0.12049 21,152 2/17/2012
1.3.0.11343 18,754 12/10/2011
1.2.0.11273 49,867 10/3/2011