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
Asked
Active
Viewed 33 times
-4
-
This is what Google is for. Requests for off-site resources are off-topic for SO. – Mar 27 '17 at 16:45
-
how are the asp and mvc tags related to this question? – Sam Holder Mar 27 '17 at 16:47
-
They aren't. OP spammed the tags. – Mar 27 '17 at 16:48
-
1By all means, read [this book](https://manning.com/seemann/). – Steven Mar 27 '17 at 21:23
1 Answers
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