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
Sep 2, 2024
Latest stable version

Install

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

Frameworks

net6.0 net7.0 net8.0 .NETStandard2.0 .NETStandard2.1

Dependencies

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 5 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.