Modify Web.config value at runtime Get link Facebook Twitter Pinterest Email Other Apps var config = WebConfigurationManager.OpenWebConfiguration("~"); var section = (AppSettingsSection)config.GetSection("appSettings"); section.Settings["something"].Value = "newValue"; config.Save(); Get link Facebook Twitter Pinterest Email Other Apps