How to import a resource when using Castle Windsor
- by Gilbert
Hi,
When using spring.net, i can use
<springDestinations>
<objects xmlns="http://www.springframework.net">
<import resource="file://~/Config/blablabla.xml"/>
</objects>
</springDestinations>
Using Castle Windsor, i have the following components
<components>
<component id="Retriever" service="Model.Services.Remote.IRetriever, Model" type="Model.Services.Remote.Retriever, Model">
<parameters>
<resourceUrl>http://localhost:8888/Service.svc/</resourceUrl>
</parameters>
</component>
</components>
I'd like to to hold my components in a separate xml file for production, development etc etc. Can this be done with Castle Windsor?
Thanks :-)