Problem I would like Autofac to instantiate components based on connection strings in the form of the URI: autofac://assembly-name/full-class-name?param1=arg1¶m2=arg2 So […]
Tag: autofac
Should a Factory ever be generated per request?
Problem I’m working with AutoFac to do some DI. I think I’ve got a decent grip on things, but just […]
UnitOfWork without repository and transaction
Problem I’ve created the unitofwork class below: public class UnitOfWork : IUnitOfWork { private AppDbContext _context { get; set; } […]
Autofac DI container in console app
Problem Just used DI containers in MVC projects, via constructor injection, and I’d need to now inject a service into […]