LightInject 6.4.1

.NET Core 2.0 .NET Standard 1.1 .NET Framework 4.5.2
Install-Package LightInject -Version 6.4.1
dotnet add package LightInject --version 6.4.1
<PackageReference Include="LightInject" Version="6.4.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add LightInject --version 6.4.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: LightInject, 6.4.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=6.4.1

// Install LightInject as a Cake Tool
#tool nuget:?package=LightInject&version=6.4.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 (171)

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

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.
SolrNet/SolrNet
Solr client for .Net
structuremap/structuremap
A Dependency Injection/Inversion of Control tool for .NET
Version Downloads Last updated
6.4.1 16,704 2/8/2022
6.4.0 270,480 10/19/2020
6.3.6 1,063 10/16/2020
6.3.5 132,637 9/23/2020
6.3.4 69,580 6/18/2020
6.3.3 77,028 5/12/2020
6.3.2 206,854 3/9/2020
6.3.1 5,530 3/2/2020
6.3.0 8,391 2/26/2020
6.2.1 23,261 2/11/2020
6.2.0 209,259 10/18/2019
6.1.0 105,196 9/12/2019
6.0.0 27,057 8/28/2019
5.5.0 364,585 5/16/2019
5.4.0 1,271,622 1/25/2019
5.3.0 178,370 12/10/2018
5.2.1 55,569 11/10/2018
5.2.0 97,254 9/28/2018
5.1.10 12,366 9/10/2018
5.1.8 19,419 8/23/2018
5.1.7 3,370 8/21/2018
5.1.6 9,543 8/7/2018
5.1.5 21,044 7/5/2018
5.1.4 18,265 6/24/2018
5.1.3 177,567 5/8/2018
5.1.2 119,337 1/13/2018
5.1.1 94,949 10/27/2017
5.1.0 58,182 8/23/2017
5.0.3 176,904 4/27/2017
5.0.2 34,956 3/7/2017
5.0.1 21,533 2/7/2017
5.0.0 221,264 1/3/2017
5.0.0-RC1 1,341 10/5/2016
4.1.5 53,549 11/28/2016
4.1.4 21,986 11/7/2016
4.1.3 6,285 11/2/2016
4.1.2 15,102 9/30/2016
4.1.1 20,219 9/6/2016
4.1.0 68,154 8/25/2016
4.0.11 141,851 7/4/2016
4.0.10 4,215 6/28/2016
4.0.10-rc2-2 2,936 5/25/2016
4.0.10-rc2 2,644 5/24/2016
4.0.9 43,789 4/5/2016
4.0.8 31,139 2/9/2016
4.0.7 27,594 2/7/2016
4.0.6 4,668 1/28/2016
4.0.5 2,756 1/28/2016
4.0.4 6,435 1/5/2016
4.0.3 7,747 12/21/2015
4.0.2 6,777 12/10/2015
4.0.1 67,238 12/3/2015
4.0.0 77,397 8/31/2015
4.0.0-beta2 3,920 8/26/2015
4.0.0-beta 2,749 8/17/2015
3.0.2.7 186,486 5/22/2015
3.0.2.6 40,654 3/20/2015
3.0.2.5 9,787 2/10/2015
3.0.2.4 2,958 2/7/2015
3.0.2.3 4,070 1/22/2015
3.0.2.2 3,106 1/19/2015
3.0.2.1 9,286 12/12/2014
3.0.2 22,111 10/15/2014
3.0.1.9 9,541 10/2/2014
3.0.1.8 4,385 9/15/2014
3.0.1.7 19,430 6/6/2014
3.0.1.6 18,415 3/17/2014
3.0.1.5 3,862 2/21/2014
3.0.1.4 3,303 2/16/2014
3.0.1.3 3,484 2/7/2014
3.0.1.2 8,065 12/10/2013
3.0.1.1 2,842 12/10/2013
3.0.1 3,431 11/7/2013
3.0.0.9 5,909 11/5/2013
3.0.0.8 3,140 10/4/2013
3.0.0.7 3,183 9/2/2013
3.0.0.6 3,157 6/27/2013
3.0.0.5 3,033 4/22/2013
3.0.0.4 3,377 4/21/2013