SimpleInjector 2.0.0-beta3

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-beta3
                    
NuGet\Install-Package SimpleInjector -Version 2.0.0-beta3
                    
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-beta3" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="SimpleInjector" Version="2.0.0-beta3" />
                    
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-beta3
                    
#r "nuget: SimpleInjector, 2.0.0-beta3"
                    
#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-beta3
                    
#: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-beta3&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=SimpleInjector&version=2.0.0-beta3&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
reactiveui/splat
Makes things cross-platform
BlogEngine/BlogEngine.NET
Multi-User ASP.NET Blogging Application
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
AudioBand/AudioBand
Display and control songs from the Windows taskbar
maartenba/MvcSiteMapProvider
An ASP.NET MVC SiteMapProvider implementation for the ASP.NET MVC framework.
pnp/PnP-Tools
Scripts and tools for Office 365 and SharePoint - More for IT Pro's
Version Downloads Last Updated
5.5.0 1,687,567 8/16/2024
5.4.6 485,185 5/24/2024
5.4.5 180,557 4/25/2024
5.4.4 1,009,075 1/5/2024
5.4.3 142,619 12/13/2023
5.4.3-beta1 2,003 12/11/2023
5.4.2 175,549 11/15/2023
5.4.1 3,928,703 9/29/2022
5.4.1-beta2 3,185 9/27/2022
5.4.1-beta1 2,930 9/27/2022
5.4.0 4,009,925 7/20/2022
5.3.3 1,726,158 1/29/2022
5.3.2 2,324,646 7/2/2021
5.3.1 247,563 6/13/2021
5.3.0 2,177,334 3/4/2021
5.3.0-beta2 26,233 1/8/2021
5.3.0-beta1 3,416 1/7/2021
5.2.1 1,400,380 1/13/2021
5.2.0-alpha2 12,169 12/7/2020
5.2.0-alpha1 4,974 12/5/2020
5.1.0 791,990 10/24/2020
5.0.4 99,021 10/15/2020
5.0.3 890,934 7/13/2020
5.0.2 179,901 6/28/2020
5.0.1 115,024 6/15/2020
5.0.0 1,786,497 6/11/2020
5.0.0-beta2 10,074 6/6/2020
5.0.0-beta1 9,835 6/1/2020
4.10.2 2,560,416 4/24/2020
4.9.2 465,706 4/8/2020
4.9.1 985,848 3/6/2020
4.9.0 1,591,042 1/6/2020
4.8.1 644,735 11/30/2019
4.8.0 182,883 11/23/2019
4.8.0-beta2 9,291 11/20/2019
4.8.0-beta1 9,440 11/17/2019
4.8.0-alpha3 9,663 11/17/2019
4.8.0-alpha2 9,111 11/16/2019
4.8.0-alpha1 9,177 11/16/2019
4.7.1 1,727,793 9/2/2019
4.7.0 15,178 9/1/2019
4.6.2 829,846 7/27/2019
4.6.1 176,290 7/23/2019
4.6.0 1,659,821 5/11/2019
4.6.0-beta2 13,093 5/8/2019
4.6.0-beta1 13,266 4/23/2019
4.5.3 31,495 7/23/2019
4.5.2 113,819 5/6/2019
4.5.1 728,553 3/22/2019
4.5.0 76,522 3/21/2019
4.5.0-beta1 13,397 3/14/2019
4.4.3 2,301,248 1/1/2019
4.4.2 950,319 12/1/2018
4.4.0 1,286,059 11/2/2018
4.3.0 4,231,165 5/16/2018
4.3.0-beta1 13,222 5/11/2018
4.2.3 29,633 5/15/2018
4.2.2 211,051 4/26/2018
4.2.1 288,827 4/15/2018
4.2.0 18,471 4/14/2018
4.1.3 15,635 5/15/2018
4.1.2 16,746 4/26/2018
4.1.1 188,876 4/4/2018
4.1.0 210,621 3/23/2018
4.1.0-beta1 12,942 3/16/2018
4.1.0-alpha1 31,661 2/26/2018
4.0.12 2,532,298 10/21/2017
4.0.11 619,336 9/20/2017
4.0.8 2,015,063 6/3/2017
4.0.7 359,203 5/19/2017
4.0.6 202,473 5/4/2017
4.0.3 256,758 4/19/2017
4.0.2 20,506 4/19/2017
4.0.0 671,098 3/31/2017
4.0.0-beta2 35,111 3/14/2017
4.0.0-beta1 16,713 2/19/2017
4.0.0-alpha3 18,007 1/8/2017
4.0.0-alpha2 14,267 12/30/2016
4.0.0-alpha1 14,084 11/25/2016
3.3.2 1,245,590 12/2/2016
3.3.1 48,751 11/23/2016
3.3.0 92,101 11/21/2016
3.3.0-beta2 13,306 11/10/2016
3.3.0-beta1 13,133 11/9/2016
3.3.0-alpha1 12,857 11/11/2016
3.2.7 340,186 11/3/2016
3.2.5 29,918 11/1/2016
3.2.4 1,086,673 10/26/2016
3.2.3 103,929 10/16/2016
3.2.2 515,138 8/26/2016
3.2.0 678,637 6/28/2016
3.2.0-beta2 12,054 6/28/2016
3.2.0-beta1 12,137 6/27/2016
3.2.0-alpha2 14,256 5/2/2016
3.1.5 280,530 5/22/2016
3.1.5-alpha3 12,228 5/22/2016
3.1.5-alpha2 11,894 5/22/2016
3.1.5-alpha1 10,965 5/18/2016
3.1.4 190,502 5/1/2016
3.1.3 132,178 4/12/2016
3.1.2 675,939 12/14/2015
3.1.2-alpha2 11,387 12/8/2015
3.1.2-alpha1 11,074 12/6/2015
3.1.1 163,665 11/23/2015
3.1.0 231,137 10/12/2015
3.0.7 18,318 10/10/2015
3.0.6 23,662 10/4/2015
3.0.5 186,772 9/3/2015
3.0.4 60,107 8/31/2015
3.0.3 18,957 8/27/2015
3.0.1 44,792 8/20/2015
3.0.0 35,052 8/18/2015
3.0.0-beta4 14,298 8/11/2015
3.0.0-beta3 13,120 8/3/2015
3.0.0-beta2 13,153 7/17/2015
3.0.0-beta1 16,512 6/28/2015
3.0.0-alpha2 12,921 6/21/2015
3.0.0-alpha1 12,702 6/14/2015
2.8.3 268,577 7/17/2015
2.8.1 15,964 7/16/2015
2.8.0 410,576 5/2/2015
2.8.0-beta5 7,855 5/3/2015
2.8.0-beta4 13,308 4/27/2015
2.8.0-beta3 13,023 4/26/2015
2.8.0-beta2 13,072 4/17/2015
2.8.0-beta1 13,265 4/9/2015
2.8.0-alpha1 13,083 4/5/2015
2.7.3 304,497 3/9/2015
2.7.3-alpha1 13,128 3/1/2015
2.7.2 68,154 2/12/2015
2.7.2-beta2 7,839 2/11/2015
2.7.2-beta1 7,791 2/10/2015
2.7.2-alpha2 13,058 2/12/2015
2.7.2-alpha1 7,663 2/10/2015
2.7.1 44,684 2/1/2015
2.7.1-alpha3 8,305 1/16/2015
2.7.1-alpha2 7,744 1/16/2015
2.7.1-alpha1 7,641 1/15/2015
2.7.0 64,276 1/15/2015
2.7.0-beta2 7,698 1/13/2015
2.7.0-beta1 8,671 11/12/2014
2.6.1 190,074 10/26/2014
2.6.0 145,116 10/14/2014
2.6.0-beta2 8,179 9/20/2014
2.6.0-beta1 15,023 8/30/2014
2.6.0-alpha2 8,115 8/17/2014
2.6.0-alpha1 7,808 8/17/2014
2.5.2 131,224 7/13/2014
2.5.0 313,245 3/2/2014
2.5.0-beta2 13,082 2/26/2014
2.5.0-beta1 19,755 2/9/2014
2.4.1 89,295 1/14/2014
2.4.0 53,098 12/8/2013
2.4.0-beta3 12,418 11/24/2013
2.4.0-beta2 12,297 11/5/2013
2.4.0-beta1 12,471 10/15/2013
2.4.0-alpha3 8,021 8/23/2013
2.4.0-alpha1 7,998 7/15/2013
2.3.6 88,369 10/21/2013
2.3.5 49,762 9/2/2013
2.3.2 33,291 8/31/2013
2.3.0 70,134 6/30/2013
2.3.0-beta2 12,070 6/20/2013
2.3.0-beta1 8,675 6/18/2013
2.2.3 72,908 5/4/2013
2.2.1 33,450 4/19/2013
2.2.0 16,162 4/8/2013
2.1.0 16,274 3/19/2013
2.0.2 20,050 3/10/2013
2.0.1 16,993 2/28/2013
2.0.0 27,214 2/25/2013
2.0.0-beta5 13,392 2/22/2013
2.0.0-beta4 12,488 2/17/2013
2.0.0-beta3 12,575 2/10/2013
2.0.0-beta2 12,651 2/8/2013
2.0.0-beta1 10,669 1/29/2013
2.0.0-alpha1 9,056 1/19/2013
1.6.0.12319 35,573 11/15/2012
1.5.0.12199 22,457 7/17/2012
1.4.2.12140 18,643 5/19/2012
1.4.0.12049 21,056 2/17/2012
1.3.0.11343 18,685 12/10/2011
1.2.0.11273 49,089 10/3/2011