var config = WebConfigurationManager.OpenWebConfiguration("~");
var section = (AppSettingsSection)config.GetSection("appSettings");
section.Settings["something"].Value = "newValue";
config.Save();
If you learned something today
60 second software development tutorials and demos, and short blog posts.
60 second software development tutorials and demos, and short blog posts.