S
Shawn B.
Greetings,
Is is possible to use a configuration source other than App.Config? I mean,
when you use ConfigurationManager it assumes app.config. Can we use a text
stream instead? Further, for stuff like EnterpriseLibrary, it assumes xml
files, too, as does service.model WCF configuration. Essentially, what I
would like to do is have an API that I query that can return a string
indicating the configuration to use, so I can manage our configurations from
a central location. It would be nice if I can override the default of
assuming app.config and provide a string instead, that originated from
somewhere else.
Is is possible to use a configuration source other than App.Config? I mean,
when you use ConfigurationManager it assumes app.config. Can we use a text
stream instead? Further, for stuff like EnterpriseLibrary, it assumes xml
files, too, as does service.model WCF configuration. Essentially, what I
would like to do is have an API that I query that can return a string
indicating the configuration to use, so I can manage our configurations from
a central location. It would be nice if I can override the default of
assuming app.config and provide a string instead, that originated from
somewhere else.