Compze.DependencyInjection.LightInject
0.6.0-alpha
dotnet add package Compze.DependencyInjection.LightInject --version 0.6.0-alpha
NuGet\Install-Package Compze.DependencyInjection.LightInject -Version 0.6.0-alpha
<PackageReference Include="Compze.DependencyInjection.LightInject" Version="0.6.0-alpha" />
<PackageVersion Include="Compze.DependencyInjection.LightInject" Version="0.6.0-alpha" />
<PackageReference Include="Compze.DependencyInjection.LightInject" />
paket add Compze.DependencyInjection.LightInject --version 0.6.0-alpha
#r "nuget: Compze.DependencyInjection.LightInject, 0.6.0-alpha"
#:package Compze.DependencyInjection.LightInject@0.6.0-alpha
#addin nuget:?package=Compze.DependencyInjection.LightInject&version=0.6.0-alpha&prerelease
#tool nuget:?package=Compze.DependencyInjection.LightInject&version=0.6.0-alpha&prerelease
Compze.DependencyInjection.LightInject
LightInject integration for the Compze framework.
What's in this package?
This package provides a LightInject adapter for Compze's dependency injection abstractions:
- Container adapter — Implementing Compze's DI contracts using LightInject
- Lifestyle mapping — Automatic translation between Compze and LightInject service lifetimes
- Pluggable DI — Use LightInject as the backing implementation for Compze applications
Installation
dotnet add package Compze.DependencyInjection.LightInject
Related packages
| Package | Description |
|---|---|
| Compze.DependencyInjection | DI abstractions |
| Compze.DependencyInjection.LightInject.Extensions.Hosting | LightInject hosting integration |
| Compze.DependencyInjection.Microsoft | Microsoft DI integration |
| Compze.DependencyInjection.Autofac | Autofac DI integration |
License
Apache-2.0
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net11.0 is compatible. |
-
net11.0
- Compze.Contracts (>= 0.7.2)
- Compze.DependencyInjection (>= 0.9.0-alpha)
- LightInject (>= 7.0.1)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on Compze.DependencyInjection.LightInject:
| Package | Downloads |
|---|---|
|
Compze.Hosting.Testing
Testing support for Compze endpoint hosting: the testing endpoint host that capability testing features (Tessaging, Typermedia) plug into, and the pluggable-component test wiring (DI containers, serializers, database pools) driven by the current test configuration. |
|
|
Compze.DependencyInjection.LightInject.Extensions.Hosting
LightInject hosting integration for the Compze framework. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.6.0-alpha | 94 | 11/14/2026 |
| 0.5.1-alpha | 165 | 7/24/2026 |
| 0.5.0-alpha | 102 | 7/12/2026 |
| 0.4.0-alpha | 121 | 7/10/2026 |
| 0.3.0-alpha | 102 | 6/4/2026 |
- **Targets .NET 11 (`net11.0`) instead of .NET 10, and is compiled with runtime async:** the runtime, instead of state machines the compiler generates, suspends and resumes its async methods, so live stack traces show the real call chain. An application that uses this version must target .NET 11.
- **Requires newer minor versions of other Compze packages:** Compze.DependencyInjection 0.9.0-alpha (was 0.8.0-alpha). Upgrading to this version upgrades each package listed here too, so their changelogs apply to this upgrade as well.