well sometimes you just need to enumerate all of the keys in your appsettings section in web.config this is how it's done 1: foreach (string str in WebConfigurationManager.AppSettings.AllKeys) 2: { 3: Response.Write(string.Format("Key : {0},Value {1}", 4: str, WebConfigurationManager.AppSettings[str])); 5: }