No description, website, or topics provided.
PowerShell Batchfile
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
configs
scripts
LICENSE
README.md
updateConfigs.bat

README.md

#Update Configuration

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:

  1. Clone the repo
  2. 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.
  3. 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.