I hit a brick wall just recently when I shot Ninject on a project that I'm working on.
I looked at all the issues systematically requesting my design and architecture in favor of dependency injection.
After hours, hours, and hours of searching, I stumbled upon this article by Justin Etagger, which talks about his static DIFactory class.
Now I wonder if something like magic is working using a static DI factory?
I would like to hear the pros and cons of using a static DI factory in a real application.
In addition, IoC and DI too, or are they very similar, although there are some differences?
source share