Cogito.AspNetCore.Autofac
2.0.38
dotnet add package Cogito.AspNetCore.Autofac --version 2.0.38
NuGet\Install-Package Cogito.AspNetCore.Autofac -Version 2.0.38
<PackageReference Include="Cogito.AspNetCore.Autofac" Version="2.0.38" />
<PackageVersion Include="Cogito.AspNetCore.Autofac" Version="2.0.38" />
<PackageReference Include="Cogito.AspNetCore.Autofac" />
paket add Cogito.AspNetCore.Autofac --version 2.0.38
#r "nuget: Cogito.AspNetCore.Autofac, 2.0.38"
#:package Cogito.AspNetCore.Autofac@2.0.38
#addin nuget:?package=Cogito.AspNetCore.Autofac&version=2.0.38
#tool nuget:?package=Cogito.AspNetCore.Autofac&version=2.0.38
Cogito.AspNetCore.Autofac
Wires Autofac into an ASP.NET Core host using the Cogito assembly-module convention.
Why
Autofac's own ASP.NET Core integration wants you to name your modules. If your application is already composed by scanning for assembly modules, you want the host to do the same — one call, and every assembly contributes what it has.
Install
dotnet add package Cogito.AspNetCore.Autofac
Use
WebHost.CreateDefaultBuilder(args)
.UseAutofac()
.UseStartup<Startup>()
.Build()
.Run();
UseAutofac installs Autofac as the container and registers every assembly module it can find, so
services declared with Cogito.Autofac attributes are available without further wiring.
License
MIT.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
| .NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 is compatible. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
| .NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen40 was computed. tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETCoreApp 3.0
- Cogito.AspNetCore (>= 2.0.38)
- Cogito.Autofac (>= 6.1.3)
- Cogito.Autofac.DependencyInjection (>= 6.1.3)
- Cogito.Extensions.Logging.Autofac (>= 3.0.3)
- Microsoft.Extensions.Logging (>= 10.0.12)
-
.NETStandard 2.0
- Cogito.AspNetCore (>= 2.0.38)
- Cogito.Autofac (>= 6.1.3)
- Cogito.Autofac.DependencyInjection (>= 6.1.3)
- Cogito.Extensions.Logging.Autofac (>= 3.0.3)
- Microsoft.AspNetCore (>= 2.3.13)
- Microsoft.Extensions.Logging (>= 10.0.12)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.12)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Cogito.AspNetCore.Autofac:
| Package | Downloads |
|---|---|
|
Cogito.ServiceFabric.AspNetCore.Autofac
Helper objects for running ASP.Net Core on Service Fabric. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 2.0.38 | 60 | 11/28/2026 |
| 2.0.37 | 241 | 9/14/2026 |
| 2.0.36 | 116 | 9/14/2026 |
| 2.0.35 | 1,778 | 10/29/2020 |
| 2.0.34 | 593 | 10/29/2020 |
| 2.0.31 | 624 | 10/29/2020 |
| 2.0.30 | 695 | 10/28/2020 |
| 2.0.29 | 678 | 10/28/2020 |
| 2.0.25 | 613 | 10/28/2020 |
| 2.0.24 | 649 | 10/28/2020 |
| 2.0.23 | 644 | 10/28/2020 |
| 2.0.19 | 772 | 8/8/2020 |
| 2.0.8 | 2,482 | 3/2/2020 |
| 2.0.7 | 753 | 3/2/2020 |
| 2.0.6 | 1,380 | 2/8/2020 |
| 2.0.3 | 708 | 2/7/2020 |
| 2.0.1 | 1,882 | 2/6/2020 |
| 1.3.4 | 7,771 | 9/5/2019 |
| 1.3.3 | 2,730 | 7/22/2019 |
| 1.3.2 | 2,135 | 6/28/2019 |