title: Change a web.config programmatically with C# (.NET)
body: <p>How can I modify / manipulate the <code>web.config</code> programmatically with C# ? Can I use a configuration object, and, if yes, how can I load the <code>web.config</code> into a configuration object ? I would like to have a full example changing the connection string. After the modification the <code>web.config</code> should be written back to the harddisk.</p>