SimpleInjector 2.0.0-beta4

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-beta4
                    
NuGet\Install-Package SimpleInjector -Version 2.0.0-beta4
                    
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-beta4" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="SimpleInjector" Version="2.0.0-beta4" />
                    
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-beta4
                    
#r "nuget: SimpleInjector, 2.0.0-beta4"
                    
#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-beta4
                    
#: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-beta4&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=SimpleInjector&version=2.0.0-beta4&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 (363)

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

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.
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
SolrNet/SolrNet
Solr client for .Net
CodeMazeBlog/CodeMazeGuides
The main repository for all the Code Maze guides
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
mayuanyang/Mediator.Net
A simple mediator for .Net for sending command, publishing event and request response with pipelines supported
Version Downloads Last Updated
5.5.0 1,323,414 8/16/2024
5.4.6 445,509 5/24/2024
5.4.5 164,089 4/25/2024
5.4.4 941,497 1/5/2024
5.4.3 136,975 12/13/2023
5.4.3-beta1 1,965 12/11/2023
5.4.2 162,615 11/15/2023
5.4.1 3,729,870 9/29/2022
5.4.1-beta2 3,136 9/27/2022
5.4.1-beta1 2,878 9/27/2022
5.4.0 3,672,568 7/20/2022
5.3.3 1,668,316 1/29/2022
5.3.2 2,234,150 7/2/2021
5.3.1 243,988 6/13/2021
5.3.0 2,115,699 3/4/2021
5.3.0-beta2 25,973 1/8/2021
5.3.0-beta1 3,351 1/7/2021
5.2.1 1,322,713 1/13/2021
5.2.0-alpha2 12,063 12/7/2020
5.2.0-alpha1 4,888 12/5/2020
5.1.0 780,264 10/24/2020
5.0.4 97,254 10/15/2020
5.0.3 870,350 7/13/2020
5.0.2 174,854 6/28/2020
5.0.1 114,370 6/15/2020
5.0.0 1,707,442 6/11/2020
5.0.0-beta2 9,939 6/6/2020
5.0.0-beta1 9,691 6/1/2020
4.10.2 2,500,957 4/24/2020
4.9.2 457,640 4/8/2020
4.9.1 974,650 3/6/2020
4.9.0 1,562,518 1/6/2020
4.8.1 629,578 11/30/2019
4.8.0 179,954 11/23/2019
4.8.0-beta2 9,135 11/20/2019
4.8.0-beta1 9,291 11/17/2019
4.8.0-alpha3 9,532 11/17/2019
4.8.0-alpha2 8,982 11/16/2019
4.8.0-alpha1 9,053 11/16/2019
4.7.1 1,654,913 9/2/2019
4.7.0 14,990 9/1/2019
4.6.2 820,108 7/27/2019
4.6.1 172,351 7/23/2019
4.6.0 1,624,915 5/11/2019
4.6.0-beta2 12,948 5/8/2019
4.6.0-beta1 13,119 4/23/2019
4.5.3 31,288 7/23/2019
4.5.2 112,652 5/6/2019
4.5.1 716,925 3/22/2019
4.5.0 69,488 3/21/2019
4.5.0-beta1 13,269 3/14/2019
4.4.3 2,248,578 1/1/2019
4.4.2 943,255 12/1/2018
4.4.0 1,267,831 11/2/2018
4.3.0 4,161,647 5/16/2018
4.3.0-beta1 13,036 5/11/2018
4.2.3 29,343 5/15/2018
4.2.2 208,306 4/26/2018
4.2.1 286,276 4/15/2018
4.2.0 17,813 4/14/2018
4.1.3 15,437 5/15/2018
4.1.2 16,537 4/26/2018
4.1.1 185,855 4/4/2018
4.1.0 208,896 3/23/2018
4.1.0-beta1 12,785 3/16/2018
4.1.0-alpha1 31,229 2/26/2018
4.0.12 2,512,847 10/21/2017
4.0.11 607,849 9/20/2017
4.0.8 1,969,412 6/3/2017
4.0.7 335,795 5/19/2017
4.0.6 178,629 5/4/2017
4.0.3 249,551 4/19/2017
4.0.2 20,239 4/19/2017
4.0.0 656,421 3/31/2017
4.0.0-beta2 34,918 3/14/2017
4.0.0-beta1 16,540 2/19/2017
4.0.0-alpha3 17,771 1/8/2017
4.0.0-alpha2 14,085 12/30/2016
4.0.0-alpha1 13,882 11/25/2016
3.3.2 1,228,945 12/2/2016
3.3.1 48,346 11/23/2016
3.3.0 90,737 11/21/2016
3.3.0-beta2 13,127 11/10/2016
3.3.0-beta1 12,975 11/9/2016
3.3.0-alpha1 12,716 11/11/2016
3.2.7 337,076 11/3/2016
3.2.5 29,639 11/1/2016
3.2.4 1,066,598 10/26/2016
3.2.3 102,604 10/16/2016
3.2.2 510,085 8/26/2016
3.2.0 661,050 6/28/2016
3.2.0-beta2 11,914 6/28/2016
3.2.0-beta1 12,014 6/27/2016
3.2.0-alpha2 14,124 5/2/2016
3.1.5 277,586 5/22/2016
3.1.5-alpha3 12,099 5/22/2016
3.1.5-alpha2 11,755 5/22/2016
3.1.5-alpha1 10,858 5/18/2016
3.1.4 188,290 5/1/2016
3.1.3 131,132 4/12/2016
3.1.2 665,002 12/14/2015
3.1.2-alpha2 11,276 12/8/2015
3.1.2-alpha1 10,956 12/6/2015
3.1.1 161,492 11/23/2015
3.1.0 226,563 10/12/2015
3.0.7 18,145 10/10/2015
3.0.6 23,495 10/4/2015
3.0.5 184,422 9/3/2015
3.0.4 57,857 8/31/2015
3.0.3 18,789 8/27/2015
3.0.1 44,439 8/20/2015
3.0.0 34,545 8/18/2015
3.0.0-beta4 14,145 8/11/2015
3.0.0-beta3 13,006 8/3/2015
3.0.0-beta2 13,024 7/17/2015
3.0.0-beta1 16,255 6/28/2015
3.0.0-alpha2 12,801 6/21/2015
3.0.0-alpha1 12,571 6/14/2015
2.8.3 262,689 7/17/2015
2.8.1 15,849 7/16/2015
2.8.0 403,566 5/2/2015
2.8.0-beta5 7,783 5/3/2015
2.8.0-beta4 13,169 4/27/2015
2.8.0-beta3 12,873 4/26/2015
2.8.0-beta2 12,938 4/17/2015
2.8.0-beta1 13,118 4/9/2015
2.8.0-alpha1 12,946 4/5/2015
2.7.3 299,301 3/9/2015
2.7.3-alpha1 12,999 3/1/2015
2.7.2 67,546 2/12/2015
2.7.2-beta2 7,764 2/11/2015
2.7.2-beta1 7,724 2/10/2015
2.7.2-alpha2 12,909 2/12/2015
2.7.2-alpha1 7,598 2/10/2015
2.7.1 44,268 2/1/2015
2.7.1-alpha3 8,232 1/16/2015
2.7.1-alpha2 7,660 1/16/2015
2.7.1-alpha1 7,570 1/15/2015
2.7.0 63,222 1/15/2015
2.7.0-beta2 7,618 1/13/2015
2.7.0-beta1 8,578 11/12/2014
2.6.1 187,239 10/26/2014
2.6.0 129,047 10/14/2014
2.6.0-beta2 8,110 9/20/2014
2.6.0-beta1 14,885 8/30/2014
2.6.0-alpha2 8,033 8/17/2014
2.6.0-alpha1 7,738 8/17/2014
2.5.2 129,937 7/13/2014
2.5.0 307,289 3/2/2014
2.5.0-beta2 12,940 2/26/2014
2.5.0-beta1 19,457 2/9/2014
2.4.1 88,322 1/14/2014
2.4.0 52,154 12/8/2013
2.4.0-beta3 12,308 11/24/2013
2.4.0-beta2 12,186 11/5/2013
2.4.0-beta1 12,352 10/15/2013
2.4.0-alpha3 7,940 8/23/2013
2.4.0-alpha1 7,918 7/15/2013
2.3.6 84,780 10/21/2013
2.3.5 49,151 9/2/2013
2.3.2 32,815 8/31/2013
2.3.0 69,653 6/30/2013
2.3.0-beta2 11,970 6/20/2013
2.3.0-beta1 8,595 6/18/2013
2.2.3 70,782 5/4/2013
2.2.1 33,070 4/19/2013
2.2.0 16,022 4/8/2013
2.1.0 16,152 3/19/2013
2.0.2 19,862 3/10/2013
2.0.1 16,851 2/28/2013
2.0.0 26,120 2/25/2013
2.0.0-beta5 13,213 2/22/2013
2.0.0-beta4 12,380 2/17/2013
2.0.0-beta3 12,460 2/10/2013
2.0.0-beta2 12,524 2/8/2013
2.0.0-beta1 10,570 1/29/2013
2.0.0-alpha1 8,982 1/19/2013
1.6.0.12319 35,331 11/15/2012
1.5.0.12199 22,318 7/17/2012
1.4.2.12140 18,376 5/19/2012
1.4.0.12049 20,940 2/17/2012
1.3.0.11343 18,556 12/10/2011
1.2.0.11273 48,119 10/3/2011