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
May 25, 2022
Latest stable version

Install

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

Frameworks

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

Dependencies

Autofac
.NETFramework5.0
[6.4.0, )
Autofac
.NETFramework6.0
[6.4.0, )
Autofac
.NETStandard2.0
[6.4.0, )
Autofac
.NETStandard2.1
[6.4.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.

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.