Read modules from web.config in autofac to change container configuration according to solution configurations
问题 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"> <modules> <module type="DebugModuleTest1"></module> <module type="DebugModuleTest2"></module> </modules> </autofac> Now I have to build my container. But the autofac documentation is not clear to me. I do not understand what I have to do to read my modules and build the container. public class