.NET Framework Obtenez la valeur de configuration de web.config
ConfigurationManager.AppSettings["MySetting"]
Gingersnap
ConfigurationManager.AppSettings["MySetting"]