We have a c# webform application that has AppSettings and database ConnectionStrings configSource'd out into separate files.
<appSettings configSource="Customisations/AppSettings.config" />
I've been asked to allow end-users to connect to different databases and use different app settings based on which app shortcut they use.
I was hoping to be able to allow end-users to effectively override the configSource by adding something like the argument below to an app shortcut's target line.
myApp.exe appSettings='\\unc-path\app-settings-test.config'
Will this be possible? Are there any security concerns, i.e. UAC?
If ok... How do I make the app load the AppSettings and ConnectionStrings from these overridden locations but leave the current config file intact?