LightInject 5.1.1

.NET Standard 1.1 .NET Framework 4.5.2
There is a newer version of this package available.
See the version list below for details.
Install-Package LightInject -Version 5.1.1
dotnet add package LightInject --version 5.1.1
<PackageReference Include="LightInject" Version="5.1.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add LightInject --version 5.1.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: LightInject, 5.1.1"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install LightInject as a Cake Addin
#addin nuget:?package=LightInject&version=5.1.1

// Install LightInject as a Cake Tool
#tool nuget:?package=LightInject&version=5.1.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

An ultra lightweight Inversion of Control container for the .Net framework. See LightInject.Source for the source distribution.

Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows
.NET Core netcoreapp1.0 netcoreapp1.1 netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1
.NET Standard netstandard1.1 netstandard1.2 netstandard1.3 netstandard1.4 netstandard1.5 netstandard1.6 netstandard2.0 netstandard2.1
.NET Framework net45 net451 net452 net46 net461 net462 net463 net47 net471 net472 net48
MonoAndroid monoandroid
MonoMac monomac
MonoTouch monotouch
Tizen tizen30 tizen40 tizen60
Universal Windows Platform uap uap10.0
Windows Phone wpa81
Windows Store netcore netcore45 netcore451
Xamarin.iOS xamarinios
Xamarin.Mac xamarinmac
Xamarin.TVOS xamarintvos
Xamarin.WatchOS xamarinwatchos
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (172)

Showing the top 5 NuGet packages that depend on LightInject:

Package Downloads
UmbracoCms.Core The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

Contains the core assemblies needed to run Umbraco Cms. This package only contains assemblies and can be used for package development. Use the UmbracoCms package to setup Umbraco in Visual Studio as an ASP.NET project.

LightInject.WebApi

An extension to the LightInject service container that enables dependency injection for Web API applications. See LightInject.WebApi.Source for the source distribution.

LightInject.Web

Enables the LightInject service container to be used in a web application by providing per web request scoped services.

LightInject.Mvc

An extension to the LightInject service container that enables dependency injection for ASP.NET MVC applications. See LightInject.Mvc.Source for the source distribution.

LightInject.Annotation

An extension to the LightInject service container that allows properties and constructor parameters to be annotated with the InjectAttribute class.

GitHub repositories (20)

Showing the top 5 popular GitHub repositories that depend on LightInject:

Repository Stars
jbogard/MediatR
Simple, unambitious mediator implementation in .NET
EasyNetQ/EasyNetQ
An easy to use .NET API for RabbitMQ
dotnetcore/AspectCore-Framework
AspectCore is an AOP-based cross platform framework for .NET Standard.
webprofusion/certify
Professional TLS/SSL Certificate Manager UI for Windows, powered by Let's Encrypt and compatible with all ACME v2 CAs. Download from certifytheweb.com
SolrNet/SolrNet
Solr client for .Net
Version Downloads Last updated
6.4.1 27,761 2/8/2022
6.4.0 291,958 10/19/2020
6.3.6 1,096 10/16/2020
6.3.5 150,478 9/23/2020
6.3.4 72,071 6/18/2020
6.3.3 80,206 5/12/2020
6.3.2 211,771 3/9/2020
6.3.1 5,588 3/2/2020
6.3.0 8,697 2/26/2020
6.2.1 23,584 2/11/2020
6.2.0 217,933 10/18/2019
6.1.0 107,327 9/12/2019
6.0.0 27,465 8/28/2019
5.5.0 387,204 5/16/2019
5.4.0 1,331,070 1/25/2019
5.3.0 180,265 12/10/2018
5.2.1 56,226 11/10/2018
5.2.0 98,403 9/28/2018
5.1.10 12,488 9/10/2018
5.1.8 19,559 8/23/2018
5.1.7 3,425 8/21/2018
5.1.6 9,583 8/7/2018
5.1.5 21,436 7/5/2018
5.1.4 18,356 6/24/2018
5.1.3 182,388 5/8/2018
5.1.2 121,029 1/13/2018
5.1.1 96,512 10/27/2017
5.1.0 58,865 8/23/2017
5.0.3 179,375 4/27/2017
5.0.2 35,112 3/7/2017
5.0.1 21,596 2/7/2017
5.0.0 235,490 1/3/2017
5.0.0-RC1 1,376 10/5/2016
4.1.5 53,842 11/28/2016
4.1.4 22,092 11/7/2016
4.1.3 6,389 11/2/2016
4.1.2 15,155 9/30/2016
4.1.1 20,572 9/6/2016
4.1.0 70,760 8/25/2016
4.0.11 142,339 7/4/2016
4.0.10 4,257 6/28/2016
4.0.10-rc2-2 2,967 5/25/2016
4.0.10-rc2 2,671 5/24/2016
4.0.9 44,052 4/5/2016
4.0.8 32,008 2/9/2016
4.0.7 27,740 2/7/2016
4.0.6 4,708 1/28/2016
4.0.5 2,800 1/28/2016
4.0.4 6,527 1/5/2016
4.0.3 8,053 12/21/2015
4.0.2 6,856 12/10/2015
4.0.1 68,070 12/3/2015
4.0.0 79,116 8/31/2015
4.0.0-beta2 3,955 8/26/2015
4.0.0-beta 2,791 8/17/2015
3.0.2.7 189,190 5/22/2015
3.0.2.6 42,396 3/20/2015
3.0.2.5 9,859 2/10/2015
3.0.2.4 2,992 2/7/2015
3.0.2.3 4,101 1/22/2015
3.0.2.2 3,143 1/19/2015
3.0.2.1 9,445 12/12/2014
3.0.2 22,158 10/15/2014
3.0.1.9 9,670 10/2/2014
3.0.1.8 4,426 9/15/2014
3.0.1.7 19,532 6/6/2014
3.0.1.6 18,463 3/17/2014
3.0.1.5 3,914 2/21/2014
3.0.1.4 3,350 2/16/2014
3.0.1.3 3,521 2/7/2014
3.0.1.2 8,120 12/10/2013
3.0.1.1 2,880 12/10/2013
3.0.1 3,469 11/7/2013
3.0.0.9 5,965 11/5/2013
3.0.0.8 3,177 10/4/2013
3.0.0.7 3,219 9/2/2013
3.0.0.6 3,192 6/27/2013
3.0.0.5 3,071 4/22/2013
3.0.0.4 3,419 4/21/2013