see also What C # /. NET dependency Injection frameworks deserve attention in?
Now there are many dependency injection frameworks to choose from. Previously, you were often forced to use a specific dependency injection structure because of the library you used. However, the shared services locator library allowed the library code to be independent of injection frameworks.
The time required to learn all of them well enough to decide what to use is unreasonable. I do not believe that we have not reached the stage yet, that we can talk about a better structure of dependency injections. So, what questions should I ask about the project and about myself to help me choose the best dependency injection structure to use in this case?
It would also be useful to know why you are choosing the dependency injection infrastructure that you are currently using, and if you are still happy with this choice.
Is there any other useful dictionary to use when comparing dependency injection infrastructure styles?
Does the Locator service library work in real life or are you forced to use many different dependency injection programs in one project?
How easy is it to exaggerate your code with each concept of the Injection Framework, for example, tools like ReSharper work well with a given structure?
Ian Ringrose Aug 12 '09 at 17:29 2009-08-12 17:29
source share