In our .NET environment, we would like to update key values in our web.config file. Do you have a method to search and replace key variables in this type of file (similar to the .ini edit), or any text file for that matter?
Here is an example of the file. In the example, I would like to change the value of the DevErrors key to ON.
<?xml version="1.0" encoding="utf-8" ?>
<appSettings>
<add key="DevErrors" value="Off"/>