Autofac is an inversion of control (IoC) container for Microsoft .NET.
In the past I've stuck common properties, such as the current user, onto ViewData/ViewBag in a global fashion by …
asp.net-mvc asp.net-mvc-3 autofac viewdataWhen I try to set a PARAMETER using the Xml Configuration I get the following error: None of the constructors …
c# autofacI'm very new to autofac so it's possible that I'm completely misusing it. Let's say I have a class that …
c# autofacI have UnitofWork class and it implement IUnitOfWork. I try to register that with Autofac: var builder = new ContainerBuilder(); builder .…
c# generics autofac unit-of-workNone of the constructors found with 'Autofac.Core.Activators.Reflection.DefaultConstructorFinder' on type 'LMS.Services.Security.EncryptionService' can be invoked …
c# dependency-injection inversion-of-control autofac ioc-containerI have a .Net Core app where i use the .AddMediatR extension to register the assembly for my commands and …
c# asp.net-core autofac mediatrI'm using Autofac and would like to have multiple implementations of an interface. How can I configure Autofac so to …
c# dependency-injection inversion-of-control autofacIn a Console application, I'm using Log4Net and in the Main method I'm getting the logger object. Now, I'd …
c# asp.net inversion-of-control log4net autofacI have searched long and hard but found nothing that helped yet. Where am I going wrong? I really do …
asp.net-mvc dependency-injection autofac asp.net-apicontrollerHi I have an MVC application where I have defined some dependencies to my Web API. public class AutofacWebApiDependenceResolver : IDependencyResolver { …
c# asp.net-mvc asp.net-mvc-4 asp.net-web-api autofac