Dashboard > MicroKernel/Windsor > Home > Isolate registration code - IWindsorInstaller
Log In   View a printable version of the current page.
Isolate registration code - IWindsorInstaller
Added by Krzysztof Kozmic, last edited by Krzysztof Kozmic on Jan 26, 2010  (view change)
Labels: 
(None)


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.

Site running on a free Atlassian Confluence Community License granted to Castle Project. Evaluate Confluence today.
Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 2.5.4 Build:#809 Jun 12, 2007) - Bug/feature request - Contact Administrators