I have next scenario:
I need to insert an appsettings called "XXX". obviouslly should set in the Site web.config.
The Utilities library is called in all application that I have inside the Site, then I should set the appsettings key in each web.config (something confusing).
How can I set the key inside app.config and read it? ConfigurationManager only read from Web.Config and I would like to read app.config keys inside Utilites.
Is it possible?
Hi I found the solution:
if yu want to get the properties of app.config you can use:
var value = Properties.Settings.Default.keyName