SimpleInjector 2.7.1

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package SimpleInjector --version 2.7.1
                    
NuGet\Install-Package SimpleInjector -Version 2.7.1
                    
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.7.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="SimpleInjector" Version="2.7.1" />
                    
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.7.1
                    
#r "nuget: SimpleInjector, 2.7.1"
                    
#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.
#addin nuget:?package=SimpleInjector&version=2.7.1
                    
Install SimpleInjector as a Cake Addin
#tool nuget:?package=SimpleInjector&version=2.7.1
                    
Install SimpleInjector as a Cake Tool

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 Framework net40-client is compatible.  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. 
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 (364)

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

Showing the top 20 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.
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
dsafa/audio-band
Display and control songs from the Windows taskbar
DevTeam/Pure.DI
Pure DI for .NET
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
NuKeeperDotNet/NuKeeper
Automagically update nuget packages in .NET projects
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...
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
AudioBand/AudioBand
Display and control songs from the Windows taskbar
couchbase/couchbase-lite-net
A lightweight, document-oriented (NoSQL), syncable database engine for .NET
Version Downloads Last updated
5.5.0 1,034,986 8/16/2024
5.4.6 414,839 5/24/2024
5.4.5 151,181 4/25/2024
5.4.4 878,183 1/5/2024
5.4.3 129,595 12/13/2023
5.4.3-beta1 1,939 12/11/2023
5.4.2 152,070 11/15/2023
5.4.1 3,526,039 9/29/2022
5.4.1-beta2 3,088 9/27/2022
5.4.1-beta1 2,826 9/27/2022
5.4.0 3,362,670 7/20/2022
5.3.3 1,628,245 1/29/2022
5.3.2 2,171,804 7/2/2021
5.3.1 241,009 6/13/2021
5.3.0 2,051,054 3/4/2021
5.3.0-beta2 25,786 1/8/2021
5.3.0-beta1 3,283 1/7/2021
5.2.1 1,263,749 1/13/2021
5.2.0-alpha2 11,997 12/7/2020
5.2.0-alpha1 4,842 12/5/2020
5.1.0 767,125 10/24/2020
5.0.4 95,537 10/15/2020
5.0.3 856,536 7/13/2020
5.0.2 170,212 6/28/2020
5.0.1 113,780 6/15/2020
5.0.0 1,644,116 6/11/2020
5.0.0-beta2 9,885 6/6/2020
5.0.0-beta1 9,629 6/1/2020
4.10.2 2,448,065 4/24/2020
4.9.2 452,990 4/8/2020
4.9.1 964,805 3/6/2020
4.9.0 1,537,194 1/6/2020
4.8.1 618,816 11/30/2019
4.8.0 178,505 11/23/2019
4.8.0-beta2 9,080 11/20/2019
4.8.0-beta1 9,226 11/17/2019
4.8.0-alpha3 9,485 11/17/2019
4.8.0-alpha2 8,905 11/16/2019
4.8.0-alpha1 8,982 11/16/2019
4.7.1 1,605,339 9/2/2019
4.7.0 14,881 9/1/2019
4.6.2 808,246 7/27/2019
4.6.1 166,249 7/23/2019
4.6.0 1,597,476 5/11/2019
4.6.0-beta2 12,899 5/8/2019
4.6.0-beta1 13,062 4/23/2019
4.5.3 31,185 7/23/2019
4.5.2 111,884 5/6/2019
4.5.1 706,256 3/22/2019
4.5.0 66,053 3/21/2019
4.5.0-beta1 13,214 3/14/2019
4.4.3 2,208,872 1/1/2019
4.4.2 936,514 12/1/2018
4.4.0 1,253,180 11/2/2018
4.3.0 4,104,395 5/16/2018
4.3.0-beta1 12,911 5/11/2018
4.2.3 29,192 5/15/2018
4.2.2 206,468 4/26/2018
4.2.1 284,933 4/15/2018
4.2.0 17,199 4/14/2018
4.1.3 15,299 5/15/2018
4.1.2 16,394 4/26/2018
4.1.1 183,407 4/4/2018
4.1.0 207,715 3/23/2018
4.1.0-beta1 12,640 3/16/2018
4.1.0-alpha1 31,102 2/26/2018
4.0.12 2,498,991 10/21/2017
4.0.11 596,413 9/20/2017
4.0.8 1,910,806 6/3/2017
4.0.7 333,492 5/19/2017
4.0.6 175,942 5/4/2017
4.0.3 242,456 4/19/2017
4.0.2 19,974 4/19/2017
4.0.0 646,330 3/31/2017
4.0.0-beta2 34,822 3/14/2017
4.0.0-beta1 16,451 2/19/2017
4.0.0-alpha3 17,673 1/8/2017
4.0.0-alpha2 13,994 12/30/2016
4.0.0-alpha1 13,772 11/25/2016
3.3.2 1,216,817 12/2/2016
3.3.1 48,062 11/23/2016
3.3.0 89,984 11/21/2016
3.3.0-beta2 13,032 11/10/2016
3.3.0-beta1 12,881 11/9/2016
3.3.0-alpha1 12,616 11/11/2016
3.2.7 335,537 11/3/2016
3.2.5 29,428 11/1/2016
3.2.4 1,064,503 10/26/2016
3.2.3 102,046 10/16/2016
3.2.2 505,077 8/26/2016
3.2.0 646,207 6/28/2016
3.2.0-beta2 11,812 6/28/2016
3.2.0-beta1 11,913 6/27/2016
3.2.0-alpha2 14,030 5/2/2016
3.1.5 274,669 5/22/2016
3.1.5-alpha3 12,005 5/22/2016
3.1.5-alpha2 11,663 5/22/2016
3.1.5-alpha1 10,764 5/18/2016
3.1.4 185,948 5/1/2016
3.1.3 129,980 4/12/2016
3.1.2 656,216 12/14/2015
3.1.2-alpha2 11,152 12/8/2015
3.1.2-alpha1 10,844 12/6/2015
3.1.1 159,807 11/23/2015
3.1.0 223,633 10/12/2015
3.0.7 18,008 10/10/2015
3.0.6 23,388 10/4/2015
3.0.5 181,511 9/3/2015
3.0.4 57,739 8/31/2015
3.0.3 18,665 8/27/2015
3.0.1 44,335 8/20/2015
3.0.0 34,364 8/18/2015
3.0.0-beta4 13,989 8/11/2015
3.0.0-beta3 12,892 8/3/2015
3.0.0-beta2 12,910 7/17/2015
3.0.0-beta1 15,988 6/28/2015
3.0.0-alpha2 12,700 6/21/2015
3.0.0-alpha1 12,466 6/14/2015
2.8.3 257,237 7/17/2015
2.8.1 15,746 7/16/2015
2.8.0 398,764 5/2/2015
2.8.0-beta5 7,680 5/3/2015
2.8.0-beta4 13,077 4/27/2015
2.8.0-beta3 12,778 4/26/2015
2.8.0-beta2 12,836 4/17/2015
2.8.0-beta1 13,020 4/9/2015
2.8.0-alpha1 12,825 4/5/2015
2.7.3 296,000 3/9/2015
2.7.3-alpha1 12,905 3/1/2015
2.7.2 67,089 2/12/2015
2.7.2-beta2 7,669 2/11/2015
2.7.2-beta1 7,634 2/10/2015
2.7.2-alpha2 12,814 2/12/2015
2.7.2-alpha1 7,498 2/10/2015
2.7.1 44,074 2/1/2015
2.7.1-alpha3 8,133 1/16/2015
2.7.1-alpha2 7,554 1/16/2015
2.7.1-alpha1 7,456 1/15/2015
2.7.0 62,771 1/15/2015
2.7.0-beta2 7,520 1/13/2015
2.7.0-beta1 8,487 11/12/2014
2.6.1 184,942 10/26/2014
2.6.0 97,012 10/14/2014
2.6.0-beta2 8,015 9/20/2014
2.6.0-beta1 14,792 8/30/2014
2.6.0-alpha2 7,939 8/17/2014
2.6.0-alpha1 7,624 8/17/2014
2.5.2 129,451 7/13/2014
2.5.0 304,911 3/2/2014
2.5.0-beta2 12,815 2/26/2014
2.5.0-beta1 19,211 2/9/2014
2.4.1 88,184 1/14/2014
2.4.0 51,555 12/8/2013
2.4.0-beta3 12,194 11/24/2013
2.4.0-beta2 12,083 11/5/2013
2.4.0-beta1 12,240 10/15/2013
2.4.0-alpha3 7,828 8/23/2013
2.4.0-alpha1 7,816 7/15/2013
2.3.6 82,272 10/21/2013
2.3.5 48,241 9/2/2013
2.3.2 32,704 8/31/2013
2.3.0 69,515 6/30/2013
2.3.0-beta2 11,833 6/20/2013
2.3.0-beta1 8,474 6/18/2013
2.2.3 69,662 5/4/2013
2.2.1 32,964 4/19/2013
2.2.0 15,912 4/8/2013
2.1.0 16,037 3/19/2013
2.0.2 19,684 3/10/2013
2.0.1 16,737 2/28/2013
2.0.0 25,326 2/25/2013
2.0.0-beta5 12,986 2/22/2013
2.0.0-beta4 12,270 2/17/2013
2.0.0-beta3 12,357 2/10/2013
2.0.0-beta2 12,413 2/8/2013
2.0.0-beta1 10,472 1/29/2013
2.0.0-alpha1 8,869 1/19/2013
1.6.0.12319 35,152 11/15/2012
1.5.0.12199 22,204 7/17/2012
1.4.2.12140 18,207 5/19/2012
1.4.0.12049 20,814 2/17/2012
1.3.0.11343 18,438 12/10/2011
1.2.0.11273 47,686 10/3/2011