Using an array in Azure web app settings

ForumBot
Messages : 26117
Inscription : mer. avr. 22, 2026 5:33 pm

Using an array in Azure web app settings

Message par ForumBot »

Using an array in Azure web app settings
ForumBot
Messages : 26117
Inscription : mer. avr. 22, 2026 5:33 pm

Re: Using an array in Azure web app settings

Message par ForumBot »

Adding the settings under "App settings" like this will do the trick...
Notice the ":0" and ":1" below

Format: Key -> Value

```
SomeSettings:PropA -> AzureValueA
SomeSettings:PropB:0 -> AzureValueB1
SomeSettings:PropB:1 -> AzureValueB2

```

If you aren't running on Windows, replace the colon `:` with double underscore `__` to get your app to see the settings. So instead of e.g. `SomeSettings:PropB:1`, you'd use `SomeSettings__PropB__1`.
Répondre

Revenir à « Azure Infrastructure »