LightInject 3.0.1.1

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

// Install LightInject as a Cake Tool
#tool nuget:?package=LightInject&version=3.0.1.1                

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 Framework net40 is compatible.  net403 was computed.  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. 
Universal Windows Platform uap was computed.  uap10.0 was computed. 
Windows Phone wp8 is compatible.  wp81 was computed. 
Windows Store netcore was computed.  netcore45 is compatible.  netcore451 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 (182)

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 5 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. Download from certifytheweb.com
dadhi/DryIoc
DryIoc is fast, small, full-featured IoC Container for .NET
SolrNet/SolrNet
Solr client for .Net
Version Downloads Last updated
7.0.0 709 11/6/2024
6.6.4 406,813 5/8/2023
6.6.3 171,635 12/31/2022
6.6.2 1,769 12/30/2022
6.6.1 297,710 9/19/2022
6.6.0 19,546 9/19/2022
6.5.2 41,687 9/9/2022
6.5.1 15,090 8/24/2022
6.5.0 5,313 8/16/2022
6.4.1 294,870 2/8/2022
6.4.0 815,565 10/19/2020
6.3.6 2,521 10/16/2020
6.3.5 461,734 9/23/2020
6.3.4 128,799 6/18/2020
6.3.3 120,174 5/12/2020
6.3.2 294,254 3/9/2020
6.3.1 7,337 3/2/2020
6.3.0 11,595 2/26/2020
6.2.1 36,285 2/11/2020
6.2.0 469,085 10/18/2019
6.1.0 124,749 9/12/2019
6.0.0 32,201 8/28/2019
5.5.0 761,109 5/16/2019
5.4.0 2,594,677 1/25/2019
5.3.0 189,501 12/10/2018
5.2.1 76,171 11/10/2018
5.2.0 114,996 9/28/2018
5.1.10 15,224 9/10/2018
5.1.8 22,015 8/23/2018
5.1.7 4,594 8/21/2018
5.1.6 11,260 8/7/2018
5.1.5 27,940 7/5/2018
5.1.4 21,346 6/24/2018
5.1.3 258,461 5/8/2018
5.1.2 146,631 1/13/2018
5.1.1 112,660 10/27/2017
5.1.0 86,504 8/23/2017
5.0.3 263,685 4/27/2017
5.0.2 40,251 3/7/2017
5.0.1 24,084 2/7/2017
5.0.0 514,800 1/3/2017
5.0.0-RC1 2,299 10/5/2016
4.1.5 72,288 11/28/2016
4.1.4 26,923 11/7/2016
4.1.3 7,640 11/2/2016
4.1.2 16,502 9/30/2016
4.1.1 24,868 9/6/2016
4.1.0 161,897 8/25/2016
4.0.11 158,087 7/4/2016
4.0.10 5,361 6/28/2016
4.0.10-rc2-2 3,810 5/25/2016
4.0.10-rc2 3,507 5/24/2016
4.0.9 50,963 4/5/2016
4.0.8 45,909 2/9/2016
4.0.7 32,660 2/7/2016
4.0.6 5,791 1/28/2016
4.0.5 3,827 1/28/2016
4.0.4 8,245 1/5/2016
4.0.3 10,145 12/21/2015
4.0.2 9,269 12/10/2015
4.0.1 78,975 12/3/2015
4.0.0 96,380 8/31/2015
4.0.0-beta2 4,800 8/26/2015
4.0.0-beta 3,689 8/17/2015
3.0.2.7 214,592 5/22/2015
3.0.2.6 52,130 3/20/2015
3.0.2.5 12,709 2/10/2015
3.0.2.4 4,015 2/7/2015
3.0.2.3 5,124 1/22/2015
3.0.2.2 4,179 1/19/2015
3.0.2.1 11,987 12/12/2014
3.0.2 23,780 10/15/2014
3.0.1.9 12,141 10/2/2014
3.0.1.8 5,602 9/15/2014
3.0.1.7 24,154 6/6/2014
3.0.1.6 19,677 3/17/2014
3.0.1.5 5,561 2/21/2014
3.0.1.4 4,344 2/16/2014
3.0.1.3 5,471 2/7/2014
3.0.1.2 9,333 12/10/2013
3.0.1.1 3,836 12/10/2013
3.0.1 4,779 11/7/2013
3.0.0.9 8,007 11/5/2013
3.0.0.8 8,153 10/4/2013
3.0.0.7 7,791 9/2/2013
3.0.0.6 7,475 6/27/2013
3.0.0.5 7,603 4/22/2013
3.0.0.4 8,338 4/21/2013

Added the RegisterFrom method that allows explicit composition root execution.