Configure application settings Flashcards
Settings are?
In App Service, app settings are variables passed as environment variables to the application code. For Linux apps and custom containers, App Service passes app settings to the container using the –env flag to set the environment variable in the container
Adding and editing settings
To add a new app setting, select New application setting. If you’re using deployment slots you can specify if your setting is swappable or not. In the dialog, you can stick the setting to the current slot.
Configure connection strings (Json for bulk)
[
{
“name”: “name-1”,
“value”: “conn-string-1”,
“type”: “SQLServer”,
“slotSetting”: false
},
{
“name”: “name-2”,
“value”: “conn-string-2”,
“type”: “PostgreSQL”,
“slotSetting”: false
},
…
]