Skip to main content
Autofac.Extensions.DependencyInjection package icon

Autofac.Extensions.DependencyInjection

Autofac implementation of the interfaces in Microsoft.Extensions.DependencyInjection.Abstractions, the .NET Framework dependency injection abstraction.

Total Downloads
246.8M
246,829,578
Published
Jul 15, 2021
Latest stable version

Install

.NET CLI
dotnet add package Autofac.Extensions.DependencyInjection --version 7.2.0-preview.1
Package Manager Console
Install-Package Autofac.Extensions.DependencyInjection -Version 7.2.0-preview.1
PackageReference
<PackageReference Include="Autofac.Extensions.DependencyInjection" Version="7.2.0-preview.1" />

Frameworks

.NETFramework5.0 .NETFramework6.0 .NETStandard2.0 .NETStandard2.1

Dependencies

Autofac
.NETFramework5.0
[6.0.0, )
Autofac
.NETFramework6.0
[6.0.0, )
[6.0.0-preview.6.21352.12, )
Autofac
.NETStandard2.0
[6.0.0, )
[1.1.0, )
Autofac
.NETStandard2.1
[6.0.0, )

Adoption guide

Applications that need decorators, keyed services, module composition or advanced lifetime control.

Dependency Injection guide
Why it appears in the guide: Autofac integration with .NET hosting, enabling richer container capabilities and registration patterns. Trade-off: Adds external container complexity and governance overhead across teams.

This version is marked prerelease. Validate its API and upgrade path before production use.

Compatibility metadata lists 4 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.