I am referencing my web app's settings using a configSource
attribute for the appSettings
element:
<appSettings configSource="c:/settings/customer-settings.config"></appSettings>
I would now like to access this path programmatically using a Configuration object:
Configuration config = System.Web.Configuration.WebConfigurationManager.OpenWebConfiguration("~");
However the configSource
path does not seem to be available?