LightInject.Microsoft.DependencyInjection 4.1.0

dotnet add package LightInject.Microsoft.DependencyInjection --version 4.1.0
                    
NuGet\Install-Package LightInject.Microsoft.DependencyInjection -Version 4.1.0
                    
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.Microsoft.DependencyInjection" Version="4.1.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="LightInject.Microsoft.DependencyInjection" Version="4.1.0" />
                    
Directory.Packages.props
<PackageReference Include="LightInject.Microsoft.DependencyInjection" />
                    
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.Microsoft.DependencyInjection --version 4.1.0
                    
#r "nuget: LightInject.Microsoft.DependencyInjection, 4.1.0"
                    
#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.
#:package LightInject.Microsoft.DependencyInjection@4.1.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=LightInject.Microsoft.DependencyInjection&version=4.1.0
                    
Install as a Cake Addin
#tool nuget:?package=LightInject.Microsoft.DependencyInjection&version=4.1.0
                    
Install as a Cake Tool

Enables LightInject to be used as the service container in ASP.NET Core and Entity Framework 7 applications.

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.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.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 was computed.  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.

NuGet packages (11)

Showing the top 5 NuGet packages that depend on LightInject.Microsoft.DependencyInjection:

Package Downloads
LightInject.Microsoft.Hosting

Enables LightInject to be used in .Net Core generic hosts

LightInject.Microsoft.AspNetCore.Hosting

Enables LightInject to be used in AspNetCore applications.

Akytos

Package Description

Netension.Request.Hosting.LightInject

Package Description

STrain.CQS.Blazor.LightInject

Package Description

GitHub repositories (5)

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

Repository Stars
dotnet/runtime
.NET is a cross-platform runtime for cloud, mobile, desktop, and IoT apps.
LuckyPennySoftware/MediatR
Simple, unambitious mediator implementation in .NET
dotnet/dotnet
Home of .NET's Virtual Monolithic Repository which includes all the code needed to build the .NET SDK.
danielpalme/IocPerformance
Performance comparison of .NET IoC containers
VSadov/Satori
Experimenting with dotnet runtime.
Version Downloads Last Updated
4.1.0 20,751 2026/5/28
4.0.3 98,028 2025/5/26
4.0.2 1,489 2025/5/22
4.0.1 956 2025/5/22
4.0.0 64,198 2024/11/7
3.7.1 514,581 2023/5/8
3.7.0 2,950 2023/4/27
3.6.3 217,201 2022/12/31
3.6.2 1,429 2022/12/31
3.6.1 1,435 2022/12/30
3.6.0 54,677 2022/10/11
3.5.0 17,712 2022/9/19
3.4.3 3,607 2022/9/9
3.4.2 1,665 2022/9/8
3.4.1 126,169 2022/2/8
3.4.0 121,985 2021/11/8
3.4.0-preview1 482 2021/9/2
3.3.6 514,045 2020/10/21
3.3.5 1,873 2020/10/20
3.3.4 2,437 2020/10/16
Loading failed