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 (304)
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
A simple ACME client for Windows (for use with Let's Encrypt et al.)
|
|
|
ServiceStack/ServiceStack
Thoughtfully architected, obscenely fast, thoroughly enjoyable web services for all
|
|
|
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/
|
|
|
stratumauth/app
📱 Two-Factor Authentication (2FA) client for Android + Wear OS
|
|
|
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
|
|
|
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 ,The service engine supports http, TCP, WS,Grpc, Thrift,Mqtt, UDP, and DNS protocols. It uses ZooKeeper and Consul as a registry, and integrates it. Hash, random, polling, Fair Polling as a load balancing algorithm, built-in service governance to ensure reliable RPC communication, the engine contains Diagnostic, link tracking for protocol and middleware calls, and integration SkyWalking Distributed APM
|
|
|
ChangemakerStudios/Papercut-SMTP
Papercut SMTP -- The Simple Desktop Email Server
|
|
|
bombomby/optick
C++ Profiler For Games
|
| Version | Downloads | Last Updated |
|---|---|---|
| 9.0.0 | 15,312 | 11/18/2025 |
| 8.4.0 | 2,182,951 | 8/4/2025 |
| 8.3.0 | 2,765,916 | 5/7/2025 |
| 8.2.1 | 3,130,091 | 4/3/2025 |
| 8.2.0 | 4,824,453 | 12/17/2024 |
| 8.1.1 | 6,662,481 | 10/9/2024 |
| 8.1.0 | 13,390,409 | 9/2/2024 |
| 8.0.0 | 24,811,011 | 1/16/2024 |
| 7.1.0 | 10,334,170 | 8/11/2023 |
| 7.0.1 | 6,002,533 | 4/18/2023 |
| 7.0.0 | 3,975,468 | 3/7/2023 |
| 6.5.0 | 16,300,089 | 11/16/2022 |
| 6.4.0 | 35,935,333 | 5/25/2022 |
| 6.3.0 | 25,480,158 | 10/8/2021 |
| 6.2.0 | 16,595,360 | 4/21/2021 |
| 6.1.0 | 11,832,621 | 12/4/2020 |
| 6.0.0 | 37,260,270 | 9/28/2020 |
| 5.2.0 | 23,659,677 | 5/11/2020 |
| 5.1.4 | 1,636,539 | 4/27/2020 |
| 5.1.3 | 574,696 | 4/23/2020 |
| 5.1.2 | 7,249,194 | 2/16/2020 |
| 5.1.1 | 1,028,582 | 2/13/2020 |
| 5.1.0 | 1,643,598 | 2/12/2020 |
| 5.0.0 | 16,576,436 | 1/27/2020 |
| 4.9.4 | 26,109,152 | 8/15/2019 |
| 4.9.3 | 2,196,796 | 7/23/2019 |
| 4.9.2 | 12,547,181 | 3/24/2019 |
| 4.9.1 | 20,698,790 | 2/18/2019 |
| 4.9.0 | 880,821 | 2/10/2019 |
| 4.9.0-beta1 | 184,241 | 8/26/2018 |
| 4.8.1 | 27,681,839 | 5/9/2018 |
| 4.8.0 | 1,441,615 | 4/19/2018 |
| 4.7.1 | 271,221 | 4/17/2018 |
| 4.7.0 | 441,671 | 4/10/2018 |
| 4.6.2 | 13,889,307 | 10/16/2017 |
| 4.6.1 | 10,336,949 | 7/25/2017 |
| 4.6.0 | 3,299,819 | 5/16/2017 |
| 4.5.0 | 2,244,180 | 4/5/2017 |
| 4.4.0 | 1,862,938 | 3/1/2017 |
| 4.3.0 | 1,508,304 | 1/17/2017 |
| 4.2.1 | 2,247,407 | 11/23/2016 |
| 4.2.0 | 7,306,733 | 11/3/2016 |
| 4.1.1 | 1,022,859 | 9/22/2016 |
| 4.1.0 | 938,416 | 8/25/2016 |
| 4.0.1 | 5,260,381 | 8/24/2016 |
| 4.0.0 | 8,319,521 | 8/9/2016 |
| 4.0.0-rc3-316 | 297,862 | 7/18/2016 |
| 4.0.0-rc3-309 | 56,686 | 7/12/2016 |
| 4.0.0-rc3-293 | 21,565 | 7/6/2016 |
| 4.0.0-rc3-286 | 25,780 | 6/29/2016 |
| 4.0.0-rc3-280 | 45,531 | 6/28/2016 |
| 4.0.0-rc2-240 | 44,322 | 5/19/2016 |
| 4.0.0-rc1-177 | 87,599 | 11/19/2015 |
| 4.0.0-beta8-157 | 22,217 | 10/16/2015 |
| 4.0.0-beta7-130 | 25,177 | 9/4/2015 |
| 4.0.0-beta6-110 | 24,137 | 8/5/2015 |
| 4.0.0-beta5-90 | 18,166 | 7/21/2015 |
| 4.0.0-alpha2 | 21,122 | 5/4/2015 |
| 4.0.0-alpha1 | 18,028 | 3/12/2015 |
| 3.5.2 | 13,386,637 | 8/12/2014 |
| 3.5.0 | 5,406,688 | 6/16/2014 |
| 3.4.1 | 91,142 | 6/1/2014 |
| 3.4.0 | 866,049 | 5/9/2014 |
| 3.3.1 | 1,070,652 | 3/27/2014 |
| 3.3.0 | 445,269 | 12/28/2013 |
| 3.2.0 | 114,175 | 12/17/2013 |
| 3.1.5 | 911,824 | 10/29/2013 |
| 3.1.4 | 17,515 | 10/29/2013 |
| 3.1.3 | 160,577 | 10/16/2013 |
| 3.1.1 | 243,215 | 7/15/2013 |
| 3.1.0 | 455,389 | 7/12/2013 |
| 3.0.2 | 239,628 | 4/8/2013 |
| 3.0.1 | 261,475 | 2/8/2013 |
| 3.0.0 | 1,101,008 | 1/30/2013 |
| 3.0.0-beta2 | 22,477 | 12/23/2012 |
| 3.0.0-beta | 22,285 | 11/1/2012 |
| 2.6.3.862 | 622,822 | 6/20/2012 |
| 2.6.2.859 | 36,836 | 6/7/2012 |
| 2.6.1.841 | 257,386 | 3/5/2012 |
| 2.5.2.830 | 197,927 | 8/12/2011 |
| 2.5.1.827 | 29,136 | 7/10/2011 |
| 2.4.5.724 | 95,182 | 3/12/2011 |
| 2.4.4.705 | 25,794 | 2/6/2011 |
| 2.4.3.700 | 20,889 | 1/30/2011 |
| 2.4.2.696 | 25,074 | 1/24/2011 |
| 2.3.2.632 | 24,773 | 1/7/2011 |
| 2.2.4.900 | 302,036 | 1/7/2011 |