LightInject 3.0.1.1

.NET Framework 4.0
There is a newer version of this package available.
See the version list below for details.
Install-Package LightInject -Version 3.0.1.1
dotnet add package LightInject --version 3.0.1.1
<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
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: LightInject, 3.0.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=3.0.1.1

// Install LightInject as a Cake Tool
#tool nuget:?package=LightInject&version=3.0.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 Framework net40 net403 net45 net451 net452 net46 net461 net462 net463 net47 net471 net472 net48
Universal Windows Platform uap uap10.0
Windows Phone wp8 wp81
Windows Store netcore netcore45 netcore451
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

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

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 38,611 2/8/2022
6.4.0 308,672 10/19/2020
6.3.6 1,128 10/16/2020
6.3.5 165,413 9/23/2020
6.3.4 73,891 6/18/2020
6.3.3 82,773 5/12/2020
6.3.2 215,607 3/9/2020
6.3.1 5,620 3/2/2020
6.3.0 8,978 2/26/2020
6.2.1 23,908 2/11/2020
6.2.0 224,995 10/18/2019
6.1.0 109,699 9/12/2019
6.0.0 27,798 8/28/2019
5.5.0 406,343 5/16/2019
5.4.0 1,383,953 1/25/2019
5.3.0 182,299 12/10/2018
5.2.1 56,801 11/10/2018
5.2.0 99,491 9/28/2018
5.1.10 12,525 9/10/2018
5.1.8 19,712 8/23/2018
5.1.7 3,469 8/21/2018
5.1.6 9,603 8/7/2018
5.1.5 21,754 7/5/2018
5.1.4 18,493 6/24/2018
5.1.3 187,956 5/8/2018
5.1.2 122,407 1/13/2018
5.1.1 97,948 10/27/2017
5.1.0 60,237 8/23/2017
5.0.3 183,535 4/27/2017
5.0.2 35,267 3/7/2017
5.0.1 21,683 2/7/2017
5.0.0 248,314 1/3/2017
5.0.0-RC1 1,376 10/5/2016
4.1.5 54,131 11/28/2016
4.1.4 22,142 11/7/2016
4.1.3 6,426 11/2/2016
4.1.2 15,181 9/30/2016
4.1.1 20,754 9/6/2016
4.1.0 73,772 8/25/2016
4.0.11 142,732 7/4/2016
4.0.10 4,272 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,325 4/5/2016
4.0.8 32,618 2/9/2016
4.0.7 27,867 2/7/2016
4.0.6 4,718 1/28/2016
4.0.5 2,811 1/28/2016
4.0.4 6,551 1/5/2016
4.0.3 8,291 12/21/2015
4.0.2 6,910 12/10/2015
4.0.1 68,914 12/3/2015
4.0.0 80,663 8/31/2015
4.0.0-beta2 3,956 8/26/2015
4.0.0-beta 2,792 8/17/2015
3.0.2.7 191,396 5/22/2015
3.0.2.6 43,904 3/20/2015
3.0.2.5 9,945 2/10/2015
3.0.2.4 3,000 2/7/2015
3.0.2.3 4,117 1/22/2015
3.0.2.2 3,151 1/19/2015
3.0.2.1 9,536 12/12/2014
3.0.2 22,206 10/15/2014
3.0.1.9 9,781 10/2/2014
3.0.1.8 4,444 9/15/2014
3.0.1.7 19,761 6/6/2014
3.0.1.6 18,487 3/17/2014
3.0.1.5 3,973 2/21/2014
3.0.1.4 3,364 2/16/2014
3.0.1.3 3,565 2/7/2014
3.0.1.2 8,141 12/10/2013
3.0.1.1 2,894 12/10/2013
3.0.1 3,509 11/7/2013
3.0.0.9 6,039 11/5/2013
3.0.0.8 3,197 10/4/2013
3.0.0.7 3,238 9/2/2013
3.0.0.6 3,206 6/27/2013
3.0.0.5 3,081 4/22/2013
3.0.0.4 3,434 4/21/2013

Added the RegisterFrom method that allows explicit composition root execution.