Compze.DependencyInjection.Microsoft
0.6.0-alpha
dotnet add package Compze.DependencyInjection.Microsoft --version 0.6.0-alpha
NuGet\Install-Package Compze.DependencyInjection.Microsoft -Version 0.6.0-alpha
<PackageReference Include="Compze.DependencyInjection.Microsoft" Version="0.6.0-alpha" />
<PackageVersion Include="Compze.DependencyInjection.Microsoft" Version="0.6.0-alpha" />
<PackageReference Include="Compze.DependencyInjection.Microsoft" />
paket add Compze.DependencyInjection.Microsoft --version 0.6.0-alpha
#r "nuget: Compze.DependencyInjection.Microsoft, 0.6.0-alpha"
#:package Compze.DependencyInjection.Microsoft@0.6.0-alpha
#addin nuget:?package=Compze.DependencyInjection.Microsoft&version=0.6.0-alpha&prerelease
#tool nuget:?package=Compze.DependencyInjection.Microsoft&version=0.6.0-alpha&prerelease
Compze.DependencyInjection.Microsoft
Microsoft.Extensions.DependencyInjection integration for the Compze framework.
What's in this package?
This package provides a Microsoft DI adapter for Compze's dependency injection abstractions:
- Container adapter —
MicrosoftDependencyInjectionContainerimplementing Compze's DI contracts - Lifestyle mapping — Automatic translation between Compze and Microsoft DI service lifetimes
- Pluggable DI — Use Microsoft's DI container as the backing implementation for Compze applications
Installation
dotnet add package Compze.DependencyInjection.Microsoft
Related packages
| Package | Description |
|---|---|
| Compze.Utilities | Core utilities and DI abstractions |
| Compze.DependencyInjection.SimpleInjector | SimpleInjector 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)
- Compze.Internals.Logging (>= 0.7.0-alpha)
- Compze.Internals.SystemCE (>= 0.8.0-internal)
- Compze.Threading (>= 0.12.0-alpha)
- Compze.Underscore (>= 0.6.0-beta)
- Microsoft.Extensions.DependencyInjection (>= 9.0.9)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on Compze.DependencyInjection.Microsoft:
| Package | Downloads |
|---|---|
|
Compze.DependencyInjection.Microsoft.Extensions.Hosting
Microsoft DI hosting integration for the Compze framework. |
|
|
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. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.6.0-alpha | 179 | 11/14/2026 |
| 0.5.1-alpha | 274 | 7/24/2026 |
| 0.5.0-alpha | 104 | 7/12/2026 |
| 0.4.0-alpha | 233 | 7/10/2026 |
| 0.3.0-alpha | 156 | 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.
- No longer references Microsoft.Extensions.DependencyInjection.Abstractions, which .NET 11's shared framework includes.
- **Requires newer minor versions of other Compze packages:** Compze.DependencyInjection 0.9.0-alpha (was 0.8.0-alpha), Compze.Internals.Logging 0.7.0-alpha (was 0.4.1-alpha), Compze.Internals.SystemCE 0.8.0-internal (was 0.4.0-internal), Compze.Threading 0.12.0-alpha (was 0.9.0-alpha). Upgrading to this version upgrades each package listed here too, so their changelogs apply to this upgrade as well.