Autofac 4.0.0-alpha1
This is a prerelease version of Autofac.
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package Autofac --version 4.0.0-alpha1
NuGet\Install-Package Autofac -Version 4.0.0-alpha1
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="Autofac" Version="4.0.0-alpha1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Autofac" Version="4.0.0-alpha1" />
<PackageReference Include="Autofac" />
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 Autofac --version 4.0.0-alpha1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Autofac, 4.0.0-alpha1"
#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 Autofac@4.0.0-alpha1
#: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=Autofac&version=4.0.0-alpha1&prerelease
#tool nuget:?package=Autofac&version=4.0.0-alpha1&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Core assembly for the Autofac Inversion of Control container
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| ASP.NET | aspnet50 is compatible. |
| ASP.NETCore | aspnetcore50 is compatible. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
ASP.NETCore 5.0
- System.Collections (>= 4.0.10-beta-22625)
- System.ComponentModel (>= 4.0.0-beta-22625)
- System.Diagnostics.Contracts (>= 4.0.0-beta-22625)
- System.Diagnostics.Debug (>= 4.0.10-beta-22625)
- System.Diagnostics.Tools (>= 4.0.0-beta-22625)
- System.Globalization (>= 4.0.10-beta-22625)
- System.Linq (>= 4.0.0-beta-22625)
- System.Linq.Expressions (>= 4.0.0-beta-22625)
- System.Reflection (>= 4.0.10-beta-22625)
- System.Reflection.Extensions (>= 4.0.0-beta-22625)
- System.Reflection.TypeExtensions (>= 4.0.0-beta-22625)
- System.Resources.ResourceManager (>= 4.0.0-beta-22625)
- System.Runtime (>= 4.0.20-beta-22625)
- System.Threading (>= 4.0.0-beta-22512)
- System.Threading.Tasks (>= 4.0.10-beta-22625)
- System.Threading.Thread (>= 4.0.0-beta-22625)
NuGet packages (3.1K)
Showing the top 5 NuGet packages that depend on Autofac:
| Package | Downloads |
|---|---|
|
Autofac.Extensions.DependencyInjection
Autofac implementation of the interfaces in Microsoft.Extensions.DependencyInjection.Abstractions, the .NET Framework dependency injection abstraction. |
|
|
Autofac.WebApi2
Autofac integration for ASP.NET WebAPI. |
|
|
Autofac.Extras.DynamicProxy
Autofac extension for enabling AOP in conjunction with Castle. |
|
|
Autofac.Mvc5
ASP.NET MVC 5 integration for Autofac. |
|
|
Autofac.Extras.Moq
Autofac extension for automocking and creation of mock objects in Moq. |
GitHub repositories (268)
Showing the top 20 popular GitHub repositories that depend on Autofac:
| Repository | Stars |
|---|---|
|
Jackett/Jackett
API Support for your favorite torrent trackers
|
|
|
abpframework/abp
Open-source web application framework for ASP.NET Core! Offers an opinionated architecture to build enterprise software solutions with best practices on top of the .NET. Provides the fundamental infrastructure, cross-cutting-concern implementations, startup templates, application modules, UI themes, tooling and documentation.
|
|
|
kgrzybek/modular-monolith-with-ddd
Full Modular Monolith application with Domain-Driven Design approach.
|
|
|
LuckyPennySoftware/MediatR
Simple, unambitious mediator implementation in .NET
|
|
|
JamesNK/Newtonsoft.Json
Json.NET is a popular high-performance JSON framework for .NET
|
|
|
felixse/FluentTerminal
A Terminal Emulator based on UWP and web technologies.
|
|
|
dotnet/yarp
A toolkit for developing high-performance HTTP reverse proxy applications.
|
|
|
Richasy/Bili.Uwp
适用于新系统UI的哔哩
|
|
|
BartoszCichecki/LenovoLegionToolkit
Lightweight Lenovo Vantage and Hotkeys replacement for Lenovo Legion laptops.
|
|
|
win-acme/win-acme
Automate SSL/TLS certificates on Windows with ease
|
|
|
ServiceStack/ServiceStack
Thoughtfully architected, obscenely fast, thoroughly enjoyable web services for all
|
|
|
stratumauth/app
📱 Two-Factor Authentication (2FA) client for Android + Wear OS
|
|
|
xamarin/xamarin-forms-samples
Sample apps built using the Xamarin.Forms framework
|
|
|
cq-panda/Vue.NetCore
(已支持sqlsugar).NetCore、.Net6、Vue2、Vue3、Vite、TypeScript、Element plus+uniapp前后端分离,全自动生成代码;支持移动端(ios/android/h5/微信小程序。http://www.volcore.xyz/
|
|
|
cake-build/cake
:cake: Cake (C# Make) is a cross platform build automation system.
|
|
|
cyanfish/naps2
Scan documents to PDF and more, as simply as possible.
|
|
|
fluentmigrator/fluentmigrator
Fluent migrations framework for .NET
|
|
|
ChangemakerStudios/Papercut-SMTP
Papercut SMTP -- The Simple Desktop Email Server
|
|
|
microsurging/surging
Surging is a micro-service engine that provides a lightweight, high-performance, modular RPC request pipeline. support Event-based Asynchronous Pattern and reactive programming.
|
|
|
bombomby/optick
C++ Profiler For Games
|
| Version | Downloads | Last Updated |
|---|---|---|
| 9.1.0 | 1,338,714 | 3/12/2026 |
| 9.0.0 | 2,632,603 | 11/18/2025 |
| 8.4.0 | 6,938,623 | 8/4/2025 |
| 8.3.0 | 4,005,578 | 5/7/2025 |
| 8.2.1 | 5,600,818 | 4/3/2025 |
| 8.2.0 | 6,372,733 | 12/17/2024 |
| 8.1.1 | 8,822,888 | 10/9/2024 |
| 8.1.0 | 21,950,296 | 9/2/2024 |
| 8.0.0 | 29,964,666 | 1/16/2024 |
| 7.1.0 | 12,342,680 | 8/11/2023 |
| 7.0.1 | 6,693,173 | 4/18/2023 |
| 7.0.0 | 4,222,020 | 3/7/2023 |
| 6.5.0 | 19,493,083 | 11/16/2022 |
| 6.4.0 | 39,657,093 | 5/25/2022 |
| 6.3.0 | 27,667,675 | 10/8/2021 |
| 6.2.0 | 17,672,899 | 4/21/2021 |
| 6.1.0 | 12,124,062 | 12/4/2020 |
| 6.0.0 | 39,561,442 | 9/28/2020 |
| 5.2.0 | 25,712,192 | 5/11/2020 |
| 4.0.0-alpha1 | 18,167 | 3/12/2015 |
Loading failed