public void RefreshConfiguration() { ConfigurationManager.RefreshSection("appSettings"); IntValue = Int32.Parse(GetConfigSetting("IntValue"), CultureInfo.InvariantCulture); StringValue = (GetConfigSetting("StringValue")); DoubleValue = Double.Parse(GetConfigSetting("DoubleValue"), CultureInfo.InvariantCulture); BoolValue = Boolean.Parse(GetConfigSetting("BoolValue")); LongValue = Int64.Parse(GetConfigSetting("LongValue"), CultureInfo.InvariantCulture); DateTimeValue = DateTime.Parse(GetConfigSetting("DateTimeValue"), CultureInfo.InvariantCulture); DateValue = DateTime.Parse(GetConfigSetting("DateValue"), CultureInfo.InvariantCulture); MyTestValue = Int32.Parse(GetConfigSetting("MyTestValue"), CultureInfo.InvariantCulture); StringValueTest = (GetConfigSetting("StringValueTest")); s_defaultInstancebookstore = Deserializebookstore(); s_defaultInstancepageAppearance = DeserializepageAppearance(); s_defaultInstancesecureSettings = DeserializesecureSettings(); }