IoC / Dependency Injection - please explain code versus XML

Posted by steve.macdonald on Stack Overflow See other posts from Stack Overflow or by steve.macdonald
Published on 2010-03-24T23:57:21Z Indexed on 2010/03/25 0:03 UTC
Read the original article Hit count: 382

Filed under:
|
|
|
|

I understand basically how IoC frameworks work, however one thing I don't quite get is how code-based config is supposed to work. With XML I understand how you could add a new assembly to a deployed application, then change the config in XML to include it. If the application is already deployed (i.e., compiled in some form) then how can code changes be made without recompiling? Or is that what people do, just change config in code and recompile?

© Stack Overflow or respective owner

Related posts about ioc

Related posts about dependency