This repository was created to provide an example for the blog post "Updating Configuration Files"
To run the example
The idea here is to populate a web.config with config values by running a script. To get an idea of why this is useful, please check out the blog post linked above.
To see it working:
- Clone the repo
- Run the example by executing the "updateConfigs.bat" file. If you don't have it, you'll need powershell installed and set up to be allowed to run scripts.
- Note that your web.config in the "configs" directory should now be populated
The magic works in the powershell script so if you wish to employ it, just copy the functions there.