0

Compared to implementing dependency injection by hand, using a framework seems like a heavyweight approach.

What criteria should one used in order to determine if Dependency Injection Framework should be used?Can you advise on the criteria used to decide if a DI framework should be adopted for a project.

Boon
  • 40,656
  • 60
  • 209
  • 315
  • It's not a duplicate - I am asking for a set of criteria. The post you mentioned seems very loose - the best answer is to use it for unit test, which is not a good or complete answer. – Boon Jun 03 '14 at 21:17
  • 1
    See: [When to use a DI Container by Mark Seemann](http://blog.ploeh.dk/2012/11/06/WhentouseaDIContainer/). – Steven Jun 04 '14 at 12:28

0 Answers0