Last active
July 29, 2019 14:45
-
-
Save shammelburg/28601cf89da88decb10293cbba818ff1 to your computer and use it in GitHub Desktop.
Azure App Services appSettings.*.json configuration
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
When you want to publish your app and using the Development configuration. | |
By default this loads Production. | |
Create an app service | |
Configure | |
- AppSettings | |
- Add | |
- Name = ASPNETCORE_ENVIRONMENT | |
- Value = Development | |
- Deployment Slot Settings = true | |
- Save | |
When overriding a json kvp, | |
Configure | |
- AppSettings | |
- Add | |
- Name = Email:Setup | |
- Value = [email protected] | |
- Deployment Slot Settings = true | |
- Save | |
Note: | |
When reading other settings from the appSettings.json file, make sure you check the Deployment Slot Settings box. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment