What preferred way to wire dependencies using IoC container?

Posted by Vadim on Stack Overflow See other posts from Stack Overflow or by Vadim
Published on 2009-05-15T12:13:24Z Indexed on 2010/05/18 3:00 UTC
Read the original article Hit count: 320

I believe that most IoC containers allow you to wire dependencies with XML configuration file. What are cons and pros for using configuration file vs. registering dependencies in code?

© Stack Overflow or respective owner

Related posts about dependency-injection

Related posts about inversion-of-control