Possible Duplicate:
What is IOC? Need some practical code examples to illustrate
I have heard IOC banded about a lot but I'm still not entirely sure what it is and why I would want it. My naive understanding is that it somehow gives you control but I'm not sure what.
I know Castle Windsor is the popular product for ASP.Net MVC but I dont understand what it does. It seems to override the default way ASP.Net MVC handles requests for controllers.
I'm starting a MVC app with Fluent NHibernate and trying to get it configured but all posts seem to suggest using Castle Windsor as well.
Could you please explain exactly what IOC is and why I would want to use Castle Windsor in a ASP.Net MVC app?
Thanks