-4

Can anyone please give any doc link or video which I can refer to get a good understanding of Dependency Injection(preferably using Autofac or StructureMap). Any help would be highly appreciated

1 Answers1

1

First try and understand the principle of DI without a DI container like AutoFac or StructureMap, sometimes called Pure DI, then you might find what a DI container's purpose is, which might help in gaining an understanding of the whole process

This question answers what DI is quite well.

DI containers are just libraries for automating the process of creating your object graphs.

Community
  • 1
  • 1
Sam Holder
  • 32,535
  • 13
  • 101
  • 181