Autofac 6.2.0

Autofac is an IoC container for Microsoft .NET. It manages the dependencies between classes so that applications stay easy to change as they grow in size and complexity.

Install-Package Autofac -Version 6.2.0
dotnet add package Autofac --version 6.2.0
<PackageReference Include="Autofac" Version="6.2.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Autofac --version 6.2.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Autofac, 6.2.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install Autofac as a Cake Addin
#addin nuget:?package=Autofac&version=6.2.0

// Install Autofac as a Cake Tool
#tool nuget:?package=Autofac&version=6.2.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

Release notes are at https://github.com/autofac/Autofac/releases

NuGet packages (2.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 Web API Integration
Autofac.Mvc5
Autofac MVC Integration
Autofac.Owin
Autofac OWIN Integration
Autofac.Extras.DynamicProxy
Autofac extension for enabling AOP in conjunction with Castle.

GitHub repositories (242)

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

Repository Stars
dotnet-architecture/eShopOnContainers
Cross-platform .NET sample microservices and container based application that runs on Linux Windows and macOS. Powered by .NET 5, Docker Containers and Azure Kubernetes Services. Supports Visual Studio, VS for Mac and CLI based environments with Docker CLI, dotnet CLI, VS Code or any other code editor.
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.
ardalis/CleanArchitecture
A starting point for Clean Architecture with ASP.NET Core
jbogard/MediatR
Simple, unambitious mediator implementation in .NET

Version History

Version Downloads Last updated
6.2.0 48,725 4/21/2021
6.1.0 1,507,659 12/4/2020
6.0.0 2,308,353 9/28/2020
5.2.0 4,661,349 5/11/2020
5.1.4 522,953 4/27/2020
5.1.3 202,428 4/23/2020
5.1.2 2,475,062 2/16/2020
5.1.1 394,221 2/13/2020
5.1.0 406,994 2/12/2020
5.0.0 4,113,143 1/27/2020
4.9.4 8,153,835 8/15/2019
4.9.3 1,002,274 7/23/2019
4.9.2 5,708,963 3/24/2019
4.9.1 6,434,713 2/18/2019
4.9.0 396,708 2/10/2019
4.9.0-beta1 152,352 8/26/2018
4.8.1 10,513,381 5/9/2018
4.8.0 711,931 4/19/2018
4.7.1 121,793 4/17/2018
4.7.0 195,862 4/10/2018
4.6.2 6,404,050 10/16/2017
4.6.1 3,835,943 7/25/2017
4.6.0 1,769,088 5/16/2017
4.5.0 973,170 4/5/2017
4.4.0 869,941 3/1/2017
4.3.0 711,972 1/17/2017
4.2.1 1,181,413 11/23/2016
4.2.0 3,670,623 11/3/2016
4.1.1 556,600 9/22/2016
4.1.0 572,243 8/25/2016
4.0.1 2,686,516 8/24/2016
4.0.0 2,968,944 8/9/2016
4.0.0-rc3-316 108,326 7/18/2016
4.0.0-rc3-309 47,747 7/12/2016
4.0.0-rc3-293 18,374 7/6/2016
4.0.0-rc3-286 21,319 6/29/2016
4.0.0-rc3-280 40,728 6/28/2016
4.0.0-rc2-240 32,256 5/19/2016
4.0.0-rc1-177 62,705 11/19/2015
4.0.0-beta8-157 20,253 10/16/2015
4.0.0-beta7-130 22,991 9/4/2015
4.0.0-beta6-110 21,835 8/5/2015
4.0.0-beta5-90 16,199 7/21/2015
4.0.0-alpha2 19,188 5/4/2015
4.0.0-alpha1 16,059 3/12/2015
3.5.2 7,064,148 8/12/2014
3.5.0 2,130,523 6/16/2014
3.4.1 69,649 6/1/2014
3.4.0 388,778 5/9/2014
3.3.1 502,034 3/27/2014
3.3.0 221,099 12/28/2013
3.2.0 55,824 12/17/2013
3.1.5 332,059 10/29/2013
3.1.4 15,013 10/29/2013
3.1.3 60,960 10/16/2013
3.1.1 162,779 7/15/2013
3.1.0 126,592 7/12/2013
3.0.2 148,497 4/8/2013
3.0.1 115,099 2/8/2013
3.0.0 354,431 1/30/2013
3.0.0-beta2 18,608 12/23/2012
3.0.0-beta 17,324 11/1/2012
2.6.3.862 266,850 6/20/2012
2.6.2.859 23,502 6/7/2012
2.6.1.841 61,710 3/5/2012
2.5.2.830 112,064 8/12/2011
2.5.1.827 20,931 7/10/2011
2.4.5.724 55,340 3/12/2011
2.4.4.705 18,515 2/6/2011
2.4.3.700 15,739 1/30/2011
2.4.2.696 18,494 1/24/2011
2.3.2.632 19,822 1/7/2011
2.2.4.900 59,468 1/7/2011