0

We are using Autofac builder.RegisterAssemblyModules(assembly) method to scan for the modules and it works fine. but If a module is depends on the other modules , Then I am seeing duplicate registration happening because the dependent module is also registered separately . Is there any way to avoid this duplication.

I am thinking of implementing IRegistrationSources assembly and try avoiding duplicate registration . Will that be a good ddea ?

satish
  • 2,425
  • 3
  • 23
  • 40

0 Answers0