obtain value key from app.config c# framework 4.7 code example Example: .net framework get configuration value from web.config ConfigurationManager.AppSettings["MySetting"]