Skip to main content
LightInject.Microsoft.DependencyInjection package icon

LightInject.Microsoft.DependencyInjection

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

Total Downloads
2.7M
2,732,877
Published
May 28, 2026
Latest stable version

Install

.NET CLI
dotnet add package LightInject.Microsoft.DependencyInjection --version 4.1.0
Package Manager Console
Install-Package LightInject.Microsoft.DependencyInjection -Version 4.1.0
PackageReference
<PackageReference Include="LightInject.Microsoft.DependencyInjection" Version="4.1.0" />

Frameworks

net8.0 .NETStandard2.0

Dependencies

Adoption guide

Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.

No SPDX license expression is published. Review the license text and your organisation's policy before redistribution.

Compatibility metadata lists 2 target frameworks; confirm the exact target used by your application.

How to read this guidance

Sources: published NuGet v3 registry metadata and explicit NuBrowse editorial guides. Refresh: package metadata is refreshed from NuGet when the page loads. Limit: this is not a security, legal or compatibility guarantee; validate the selected version in your project.

Useful next steps

Move from package metadata to a concrete selection or review workflow.