Why use IoC and Containers?
A question came up on the Alt.Net mailing list asking why would you use IoC and Containers.
I think Ayende summed it up real good:
“Is is a pattern that is useful when you are already doing the right things, then you begin to feel the pain of managing all the moving pieces, at which point the container comes in and manages that for you.
I’m going to have a post about it soon…”
Enough to say that I’ve felt the pain… and used the pain killer
It’s a great idea, and when I’ve implemented Windsor on the project I am working on currently, it has helped me a great deal.
My next step is to replace XML configuration with Ayende’s great Binsor.
Cheers!

Leave a Reply