Compze.DependencyInjection.Autofac
0.6.4-alpha
Prefix Reserved
dotnet add package Compze.DependencyInjection.Autofac --version 0.6.4-alpha
NuGet\Install-Package Compze.DependencyInjection.Autofac -Version 0.6.4-alpha
<PackageReference Include="Compze.DependencyInjection.Autofac" Version="0.6.4-alpha" />
<PackageVersion Include="Compze.DependencyInjection.Autofac" Version="0.6.4-alpha" />
<PackageReference Include="Compze.DependencyInjection.Autofac" />
paket add Compze.DependencyInjection.Autofac --version 0.6.4-alpha
#r "nuget: Compze.DependencyInjection.Autofac, 0.6.4-alpha"
#:package Compze.DependencyInjection.Autofac@0.6.4-alpha
#addin nuget:?package=Compze.DependencyInjection.Autofac&version=0.6.4-alpha&prerelease
#tool nuget:?package=Compze.DependencyInjection.Autofac&version=0.6.4-alpha&prerelease
Compze.DependencyInjection.Autofac
Autofac integration for the Compze framework.
What's in this package?
This package provides an Autofac adapter for Compze's dependency injection abstractions:
- Container adapter —
AutofacDependencyInjectionContainerimplementing Compze's DI contracts - Lifestyle mapping — Automatic translation between Compze and Autofac service lifetimes
- Pluggable DI — Use Autofac as the backing implementation for Compze applications
Installation
dotnet add package Compze.DependencyInjection.Autofac
Related packages
| Package | Description |
|---|---|
| Compze.Utilities | Core utilities and DI abstractions |
| Compze.DependencyInjection.Microsoft | Microsoft DI integration |
| Compze.DependencyInjection.SimpleInjector | SimpleInjector DI integration |
License
Apache-2.0
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net11.0 is compatible. |
-
net11.0
- Autofac (>= 8.3.0)
- Compze.Contracts (>= 0.7.2)
- Compze.DependencyInjection (>= 0.14.1-alpha)
- Compze.Internals.Logging (>= 0.9.1-alpha)
- Compze.Internals.SystemCE (>= 0.19.0-internal)
- Compze.Threading (>= 0.17.0-alpha)
- Compze.Underscore (>= 0.6.0-beta)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Compze.DependencyInjection.Autofac:
| Package | Downloads |
|---|---|
|
Compze.DependencyInjection.Autofac.Extensions.Hosting
Autofac hosting integration for the Compze framework. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.6.4-alpha | 0 | 12/5/2026 |
| 0.6.3-alpha | 0 | 12/5/2026 |
| 0.6.2-alpha | 229 | 11/29/2026 |
| 0.6.1-alpha | 78 | 11/28/2026 |
| 0.6.0-alpha | 259 | 11/14/2026 |
| 0.5.1-alpha | 175 | 7/24/2026 |
| 0.5.0-alpha | 112 | 7/12/2026 |
| 0.4.0-alpha | 128 | 7/10/2026 |
| 0.3.0-alpha | 119 | 6/4/2026 |
- **Disposing a container or a scope disposes every component it created, even when some of them fail to dispose, and then throws their failures,** as Compze.DependencyInjection.Microsoft does: one as itself, several as an `AggregateException` of them in the order they occurred. Before, the disposal stopped at the first component whose disposal threw, and left undisposed every component created before it. What is registered with Autofac directly rather than through Compze, such as the services `CompzeAutofacServiceProviderFactory` populates, Autofac still disposes itself, and its disposal still stops at the first of those that fails to dispose.