Registration in isolation
It is a good idea to keep your registration code isolated in a dedicated class(es). Recommended way of doing this, is by creating a class that implements IWindsorInstaller interface, and using container.Install to register the components. See this post
by Mark Seemann
for an example of usage.
