How can I modify / manipulate the web.config programmatically with C# ? Can I use a configuration object, and, if yes, how can I load the web.config into a configuration object ? I would like to have a full example changing the connection string. After the modification the web.config should be written back to the harddisk.
How can I modify / manipulate the web.config programmatically with C# ? Can I
Share
Here it is some code:
See more examples in this article, you may need to take a look to impersonation.