LightInject 7.0.1

dotnet add package LightInject --version 7.0.1
                    
NuGet\Install-Package LightInject -Version 7.0.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="LightInject" Version="7.0.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="LightInject" Version="7.0.1" />
                    
Directory.Packages.props
<PackageReference Include="LightInject" />
                    
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 LightInject --version 7.0.1
                    
#r "nuget: LightInject, 7.0.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=LightInject&version=7.0.1
                    
Install LightInject as a Cake Addin
#tool nuget:?package=LightInject&version=7.0.1
                    
Install LightInject as a Cake Tool

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

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 is compatible.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETFramework 4.6.2

  • .NETStandard 2.0

    • No dependencies.
  • net8.0

    • No dependencies.

NuGet packages (185)

Showing the top 5 NuGet packages that depend on LightInject:

Package Downloads
UmbracoCms.Core

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 20 popular GitHub repositories that depend on LightInject:

Repository Stars
jbogard/MediatR
Simple, unambitious mediator implementation in .NET
dotnetcore/AspectCore-Framework
AspectCore is an AOP-based cross platform framework for .NET Standard.
webprofusion/certify
Professional ACME Client for Windows. Certificate Management UI, powered by Let's Encrypt and compatible with all ACME v2 CAs. Used by over 150,000 organisations. Remember to Star us! Download from certifytheweb.com
dadhi/DryIoc
DryIoc is fast, small, full-featured IoC Container for .NET
SolrNet/SolrNet
Solr client for .Net
structuremap/structuremap
A Dependency Injection/Inversion of Control tool for .NET
danielpalme/IocPerformance
Performance comparison of .NET IoC containers
DevTeam/Pure.DI
Pure DI for .NET
replaysMike/Binner
Open source parts inventory system for makers, electronics hobby, and professional engineers
ExtendedXmlSerializer/home
A configurable and eXtensible Xml serializer for .NET.
Phrynohyas/eve-o-preview
An EVE client window switcher tool created to aid playing with multiple clients in CCP game EVE Online
MapWindow/MapWindow5
MW5 is a desktop GIS which is extendable using the plug-in architecture. It is using the MapWinGIS mapping control and is created from scratch in 2015 using new technologies like MEF and Dependency Injection making it small in size, robust and fast.
IsoFrieze/DiztinGUIsh
A Super NES ROM Disassembler
BrighterCommand/Darker
The query-side counterpart of Brighter
daniellittledev/Enexure.MicroBus
MicroBus is a simple in process Mediator for .NET
grigory-lobkov/rtsp-camera-view
View IP-camera RTSP in grid, auto bandwidth, full-screen, command line support
SRoddis/Mongo.Migration
On-the-fly migrations with MongoDB C# Driver
roy-t/MiniRTS
A game engine to learn about game engine development
haavamoa/xaml-code-experiences
A collection of the experiences I have collected during days of Xamarin and Wpf, while following the MVVM design pattern.
Shazwazza/UmbracoIdentity
ASP.NET Identity implementation for Umbraco's native member data
Version Downloads Last updated
7.0.1 37,653 5 months ago
7.0.0 15,057 5 months ago
6.6.4 577,098 5/8/2023
6.6.3 226,421 12/31/2022
6.6.2 1,910 12/30/2022
6.6.1 359,839 9/19/2022
6.6.0 23,185 9/19/2022
6.5.2 41,995 9/9/2022
6.5.1 15,321 8/24/2022
6.5.0 5,672 8/16/2022
6.4.1 327,652 2/8/2022
6.4.0 891,020 10/19/2020
6.3.6 2,685 10/16/2020
6.3.5 492,144 9/23/2020
6.3.4 133,464 6/18/2020
6.3.3 122,760 5/12/2020
6.3.2 305,155 3/9/2020
6.3.1 7,609 3/2/2020
6.3.0 11,921 2/26/2020
6.2.1 37,444 2/11/2020
6.2.0 525,187 10/18/2019
6.1.0 126,619 9/12/2019
6.0.0 32,745 8/28/2019
5.5.0 851,021 5/16/2019
5.4.0 2,761,216 1/25/2019
5.3.0 189,696 12/10/2018
5.2.1 79,477 11/10/2018
5.2.0 118,384 9/28/2018
5.1.10 15,568 9/10/2018
5.1.8 22,396 8/23/2018
5.1.7 4,734 8/21/2018
5.1.6 12,414 8/7/2018
5.1.5 28,520 7/5/2018
5.1.4 21,681 6/24/2018
5.1.3 273,859 5/8/2018
5.1.2 152,214 1/13/2018
5.1.1 117,897 10/27/2017
5.1.0 91,198 8/23/2017
5.0.3 268,823 4/27/2017
5.0.2 40,950 3/7/2017
5.0.1 24,263 2/7/2017
5.0.0 605,595 1/3/2017
5.0.0-RC1 2,388 10/5/2016
4.1.5 74,778 11/28/2016
4.1.4 28,205 11/7/2016
4.1.3 7,776 11/2/2016
4.1.2 16,639 9/30/2016
4.1.1 25,721 9/6/2016
4.1.0 196,023 8/25/2016
4.0.11 158,760 7/4/2016
4.0.10 5,611 6/28/2016
4.0.10-rc2-2 3,900 5/25/2016
4.0.10-rc2 3,595 5/24/2016
4.0.9 51,613 4/5/2016
4.0.8 48,497 2/9/2016
4.0.7 34,132 2/7/2016
4.0.6 5,899 1/28/2016
4.0.5 3,930 1/28/2016
4.0.4 8,427 1/5/2016
4.0.3 10,278 12/21/2015
4.0.2 9,667 12/10/2015
4.0.1 80,174 12/3/2015
4.0.0 99,102 8/31/2015
4.0.0-beta2 4,890 8/26/2015
4.0.0-beta 3,834 8/17/2015
3.0.2.7 216,031 5/22/2015
3.0.2.6 54,736 3/20/2015
3.0.2.5 12,883 2/10/2015
3.0.2.4 4,119 2/7/2015
3.0.2.3 5,224 1/22/2015
3.0.2.2 4,283 1/19/2015
3.0.2.1 12,275 12/12/2014
3.0.2 23,890 10/15/2014
3.0.1.9 12,470 10/2/2014
3.0.1.8 5,731 9/15/2014
3.0.1.7 24,763 6/6/2014
3.0.1.6 19,797 3/17/2014
3.0.1.5 5,667 2/21/2014
3.0.1.4 4,459 2/16/2014
3.0.1.3 5,592 2/7/2014
3.0.1.2 9,453 12/10/2013
3.0.1.1 3,944 12/10/2013
3.0.1 4,884 11/7/2013
3.0.0.9 8,306 11/5/2013
3.0.0.8 8,259 10/4/2013
3.0.0.7 7,897 9/2/2013
3.0.0.6 7,594 6/27/2013
3.0.0.5 7,712 4/22/2013
3.0.0.4 8,463 4/21/2013