Where (layer) should DI be used?

Posted by ryudice on Stack Overflow See other posts from Stack Overflow or by ryudice
Published on 2010-05-31T22:55:51Z Indexed on 2010/05/31 23:03 UTC
Read the original article Hit count: 225

Is there any layer where it is bad practice to use DI? In a previous question a user mentioned that DI should only be used in the UI layer.

© Stack Overflow or respective owner

Related posts about dependency-injection

Related posts about inversion-of-control