Note that there are some explanatory texts on larger screens.

plurals
  1. POWhat should I consider when choosing a dependency injection framework for .NET
    primarykey
    data
    text
    <blockquote> <p>see also <a href="https://stackoverflow.com/questions/21288/which-c-net-dependency-injection-frameworks-are-worth-looking-into">Which C#/.NET Dependency Injection frameworks are worth looking into?</a></p> </blockquote> <p>There are now many <a href="http://martinfowler.com/articles/injection.html" rel="nofollow noreferrer">dependency</a> <a href="http://en.wikipedia.org/wiki/Dependency_injection" rel="nofollow noreferrer">injection</a> frameworks to choose from. You used to often be forced to use a given dependency injection framework due to a library you were using. However the <a href="http://www.codeplex.com/CommonServiceLocator" rel="nofollow noreferrer">Common Service Locator library</a> has enabled library code to be independent of injection frameworks.</p> <p>The time it takes to learn all of them well enough to decide which to use is unreasonable. I don’t believe that we have yet reached a stage that we can talk about the best dependency injection framework. So what questions should I be asking about the project and myself to help decide on the best dependency injection framework to use in a given case?</p> <p>It would also be useful to know why you choose the dependency injection framework you are currently using and if you are still happy with that choose.</p> <p>Is there yet a useful vocabulary to use when comparing the styles of dependency injection frameworks?</p> <p>Does the Service Locator library work in real life, or are you skill forced to use lots of different dependency injection frameworks in the same project?</p> <p>How easy is to refractor you code with each Dependency Injection Framework, e.g do tools like ReSharper work well with a given framework?</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload