c# how to read from app.config code example Example: .net framework get configuration value from web.config ConfigurationManager.AppSettings["MySetting"]