Autofac 4.0.0-alpha2

This is a prerelease version of Autofac.
There is a newer version of this package available.
See the version list below for details.
dotnet add package Autofac --version 4.0.0-alpha2
                    
NuGet\Install-Package Autofac -Version 4.0.0-alpha2
                    
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-alpha2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Autofac" Version="4.0.0-alpha2" />
                    
Directory.Packages.props
<PackageReference Include="Autofac" />
                    
Project file
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-alpha2
                    
#r "nuget: Autofac, 4.0.0-alpha2"
                    
#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.
#addin nuget:?package=Autofac&version=4.0.0-alpha2&prerelease
                    
Install Autofac as a Cake Addin
#tool nuget:?package=Autofac&version=4.0.0-alpha2&prerelease
                    
Install Autofac as a Cake Tool

Core assembly for the Autofac Inversion of Control container

Product Compatible and additional computed target framework versions.
DNX dnx451 is compatible. 
DNXCore dnxcore50 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (3.0K)

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.

Aspose.Words

Aspose.Words for .NET is a powerful, high-performance document processing library for creating, editing, converting, and rendering Word and PDF files in C#. It supports DOCX, DOC, RTF, ODT, HTML, PDF, Markdown, and over 30 formats. Designed for .NET developers, it enables advanced document automation, mail merge, text extraction, and report generation. Aspose.Words ensures high fidelity in document conversion, seamless API integration, and cross-platform compatibility. Ideal for cloud, web, and desktop applications.

Autofac.Extras.DynamicProxy

Autofac extension for enabling AOP in conjunction with Castle.

Autofac.Mvc5

ASP.NET MVC 5 integration for Autofac.

GitHub repositories (282)

Showing the top 20 popular GitHub repositories that depend on Autofac:

Repository Stars
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.
Jackett/Jackett
API Support for your favorite torrent trackers
kgrzybek/modular-monolith-with-ddd
Full Modular Monolith application with Domain-Driven Design approach.
jbogard/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.
ServiceStack/ServiceStack
Thoughtfully architected, obscenely fast, thoroughly enjoyable web services for all
win-acme/win-acme
A simple ACME client for Windows (for use with Let's Encrypt et al.)
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.
fluentmigrator/fluentmigrator
Fluent migrations framework for .NET
fanliang11/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
cyanfish/naps2
Scan documents to PDF and more, as simply as possible.
ChangemakerStudios/Papercut-SMTP
Papercut SMTP -- The Simple Desktop Email Server
bombomby/optick
C++ Profiler For Games
kgrzybek/sample-dotnet-core-cqrs-api
Sample .NET Core REST API CQRS implementation with raw SQL and DDD using Clean Architecture.
Version Downloads Last updated
8.2.1 26,532 4/3/2025
8.2.0 1,864,305 12/17/2024
8.1.1 3,190,673 10/9/2024
8.1.0 4,388,026 9/2/2024
8.0.0 17,162,345 1/16/2024
7.1.0 8,007,978 8/11/2023
7.0.1 5,123,484 4/18/2023
7.0.0 3,537,520 3/7/2023
6.5.0 12,352,844 11/16/2022
6.4.0 30,256,656 5/25/2022
6.3.0 22,462,407 10/8/2021
6.2.0 14,876,020 4/21/2021
6.1.0 11,003,979 12/4/2020
6.0.0 33,582,203 9/28/2020
5.2.0 20,713,497 5/11/2020
5.1.4 1,546,117 4/27/2020
5.1.3 546,165 4/23/2020
5.1.2 6,861,461 2/16/2020
5.1.1 986,187 2/13/2020
5.1.0 1,528,178 2/12/2020
5.0.0 15,152,679 1/27/2020
4.9.4 23,913,112 8/15/2019
4.9.3 2,051,815 7/23/2019
4.9.2 11,983,329 3/24/2019
4.9.1 17,946,429 2/18/2019
4.9.0 829,310 2/10/2019
4.9.0-beta1 179,983 8/26/2018
4.8.1 24,379,518 5/9/2018
4.8.0 1,328,088 4/19/2018
4.7.1 259,231 4/17/2018
4.7.0 411,025 4/10/2018
4.6.2 12,979,644 10/16/2017
4.6.1 9,453,862 7/25/2017
4.6.0 3,066,548 5/16/2017
4.5.0 1,999,856 4/5/2017
4.4.0 1,685,839 3/1/2017
4.3.0 1,435,053 1/17/2017
4.2.1 2,141,130 11/23/2016
4.2.0 6,746,712 11/3/2016
4.1.1 994,683 9/22/2016
4.1.0 896,846 8/25/2016
4.0.1 4,847,327 8/24/2016
4.0.0 7,627,097 8/9/2016
4.0.0-rc3-316 269,019 7/18/2016
4.0.0-rc3-309 54,433 7/12/2016
4.0.0-rc3-293 20,981 7/6/2016
4.0.0-rc3-286 25,360 6/29/2016
4.0.0-rc3-280 44,967 6/28/2016
4.0.0-rc2-240 43,296 5/19/2016
4.0.0-rc1-177 81,094 11/19/2015
4.0.0-beta8-157 21,882 10/16/2015
4.0.0-beta7-130 24,771 9/4/2015
4.0.0-beta6-110 23,797 8/5/2015
4.0.0-beta5-90 17,841 7/21/2015
4.0.0-alpha2 20,803 5/4/2015
4.0.0-alpha1 17,697 3/12/2015
3.5.2 12,640,254 8/12/2014
3.5.0 4,942,207 6/16/2014
3.4.1 88,160 6/1/2014
3.4.0 801,494 5/9/2014
3.3.1 947,197 3/27/2014
3.3.0 429,247 12/28/2013
3.2.0 104,545 12/17/2013
3.1.5 842,471 10/29/2013
3.1.4 17,116 10/29/2013
3.1.3 132,608 10/16/2013
3.1.1 229,586 7/15/2013
3.1.0 408,820 7/12/2013
3.0.2 228,353 4/8/2013
3.0.1 252,618 2/8/2013
3.0.0 962,968 1/30/2013
3.0.0-beta2 21,823 12/23/2012
3.0.0-beta 21,451 11/1/2012
2.6.3.862 586,005 6/20/2012
2.6.2.859 35,027 6/7/2012
2.6.1.841 244,905 3/5/2012
2.5.2.830 186,320 8/12/2011
2.5.1.827 28,249 7/10/2011
2.4.5.724 92,542 3/12/2011
2.4.4.705 25,168 2/6/2011
2.4.3.700 20,305 1/30/2011
2.4.2.696 24,276 1/24/2011
2.3.2.632 24,315 1/7/2011
2.2.4.900 262,762 1/7/2011