Castle Windsor - windsorContainer install from XML string

Hello to all.
I am trying to find a way to create diferent configurations during
runtime.
My project has tenants created in the management panel (MVC web app)
and there I would config each "IoC mapping part".

I'm planning to save the information in the Database and after,
somehow build the XML data and pass it to the constructor.

There are only 3 ways to install the windosorContainer >>new
windsorContainer().Install(Configuration.FromAppConfig() or
FromXMLFile, or FromXML.

I think my solution cames from this last option: FromXML().
But until the moment I do not now how to "inject" this XML in string,
without the need to save the XML in a file.

First: How can I do it?
Second: is this a good pattern to do? If not, what's the good practice
in this type of situations?

Could you give me some lights in this? I really would appreciate.

Thanks to all

-- 
You received this message because you are subscribed to the Google Groups 
"Castle Project Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/castle-project-users?hl=en.

Reply via email to