Krzysztof,

Yes, I would like to see this baked into the framework.
I specially like the idea of GlobalProperty1, in this case would
GlobalProperty1 value be used on all component unless it is defined in
the xml for the component id or the value is defaulted in code?
And the less xml you produce the better :)

John


On Sep 24, 5:08 am, Krzysztof Koźmic <[email protected]>
wrote:
> My goal is to have the following:
>
> - register all the components in the code
> - externalize some of configuration options (like addresses and ports,)
> to external config file that a non-programming admin would edit.
> - be able to specify defaults for these options in code, and override
> these from the config if present
>
> The major point is to have just the minimal necessary amount of stuff
> put in the config file, to keep it clean, minimal and as readable as
> possible -  something like:http://gist.github.com/191862
>
> Now, Henry pointed me to Configuration.FromXmlFile method, but it seems
> to be working with the full blown windsor config files only, which I
> want to avoid, if only to make sure admin can't screw my component
> registration.
>
> Do we have some way of doing this baked in? If no, would you see it
> beneficial to have that in the framework?
>
> Krzysztof
--~--~---------~--~----~------------~-------~--~----~
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