Overwriting in-code bindings with configuration file bindings for my IOC container
===

In the project we are working on, we are using Castle Windsor as an IOC container. At this moment we are specifying all our dependencies in a configuration file for flexibility. 

Our config files are a bit big and to make the bindings more easily managable, I would prefer to put them in code. Of course, this means I lose a bit of flexibility to easily change certain bindings in production. 

I was wondering if it is possible to let the bindings in the configuration file overwrite the bindings in code. This would mean I could specify all default bindings in code and then add a configuration file with a few exceptions if I want to change a binding in production.

Because I am using Castle Windsor, I'm interested if this is possible in Castle Windsor. However, we are considering to move to a different IOC container (e.g. NInject). So if another one can do such a thing much better, then I am also interested in that bit of information.

(PS: I'm also looking at automatic bindings, because most of our interfaces are just there for unittesting purposes and have only one class that implements it with the same name minus the "I". I'm even considering putting those interfaces in the same file.)

Thanks in advance.