autofac-module Questions
2
A few years ago I created a suite of nuget packages that I use for CQRS which use AutoFac modules to wire up the internals. I'd like to use that in my .NET MAUI development so I've updated them to ...
Foretell asked 5/9, 2022 at 2:43
1
I'm trying to setup MassTransit with Autofac (latest NuGet packages) but it seems that consumers cannot be registered at the ContainerBuilder level.
Has anyone managed to use MassTransit with Autof...
Lotti asked 25/8, 2019 at 17:52
1
Solved
I am trying to start using middleware and creating a logger for a project and thought the autofac log4net example was a good starting point as the project already is making use of autofac, but I am...
Odense asked 2/8, 2022 at 15:27
1
Solved
I have a dotnet core application.
My Startup.cs registers types/implementations in Autofac.
One of my registrations needs previous access to a service.
var containerBuilder = new ContainerBuilder(...
Roice asked 29/10, 2018 at 12:43
4
Solved
Consider I have an app that uses three libraries, lib1, lib2 and lib3. In each of the libraries I have implemented a Module that registers the dependencies that are implemented in that library.
S...
Hark asked 18/10, 2016 at 10:43
1
Solved
I have created some Autofac modules... Now I want to register some of them in my container using web.config... In my web.config I have written:
<autofac defaultAssembly="Autofac.Example">
&...
Triplex asked 23/11, 2017 at 11:41
2
Solved
AspNet core app
1) Autofac module like that
public class AutofacModule : Module
{
protected override void Load(ContainerBuilder builder)
{
//Register my components. Need to access to appsetti...
Namesake asked 23/10, 2017 at 11:59
2
Solved
Currently I'm using Autofac for IoC and at two composition roots (one for the front-end and one for the back-end) I register and resolve the components spanned across Service, Business and Data lay...
Cullen asked 20/4, 2016 at 6:41
1
© 2022 - 2024 — McMap. All rights reserved.