Compze.DependencyInjection.Microsoft 0.7.0-alpha

Prefix Reserved
This is a prerelease version of Compze.DependencyInjection.Microsoft.
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package Compze.DependencyInjection.Microsoft --version 0.7.0-alpha
                    
NuGet\Install-Package Compze.DependencyInjection.Microsoft -Version 0.7.0-alpha
                    
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="Compze.DependencyInjection.Microsoft" Version="0.7.0-alpha" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Compze.DependencyInjection.Microsoft" Version="0.7.0-alpha" />
                    
Directory.Packages.props
<PackageReference Include="Compze.DependencyInjection.Microsoft" />
                    
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 Compze.DependencyInjection.Microsoft --version 0.7.0-alpha
                    
#r "nuget: Compze.DependencyInjection.Microsoft, 0.7.0-alpha"
                    
#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 Compze.DependencyInjection.Microsoft@0.7.0-alpha
                    
#: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=Compze.DependencyInjection.Microsoft&version=0.7.0-alpha&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Compze.DependencyInjection.Microsoft&version=0.7.0-alpha&prerelease
                    
Install as a Cake Tool

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 — MicrosoftDependencyInjectionContainer implementing 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
Package Description
Compze.Utilities Core utilities and DI abstractions
Compze.DependencyInjection.SimpleInjector SimpleInjector integration

License

Apache-2.0

Product Compatible and additional computed target framework versions.
.NET net11.0 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Compze.DependencyInjection.Microsoft:

Package Downloads
Compze.DependencyInjection.Microsoft.Extensions.Hosting

Microsoft DI hosting integration for the Compze framework.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.7.1-alpha 0 12/5/2026
0.7.0-alpha 321 12/1/2026
0.6.2-alpha 107 11/29/2026
0.6.1-alpha 73 11/28/2026
0.6.0-alpha 351 11/14/2026
0.5.1-alpha 282 7/24/2026
0.5.0-alpha 115 7/12/2026
0.4.0-alpha 242 7/10/2026
0.3.0-alpha 168 6/4/2026

- **Fixed: resolving a singleton through multiple service types preserves its disposal ownership.** The container disposes a factory-created singleton once and leaves a supplied instance for its owner to dispose. Requires Microsoft.Extensions.DependencyInjection 11.0.0.
- **Requires newer minor versions of other Compze packages:** Compze.DependencyInjection 0.13.0-alpha (was 0.12.0-alpha). Upgrading to this version upgrades each package listed here too, so their changelogs apply to this upgrade as well.