Using an array in Azure web app settings

Clippy
Messages : 22157
Inscription : mer. 22 avr. 2026, 17:33

Using an array in Azure web app settings

Message par Clippy »

Using an array in Azure web app settings
Clippy
Messages : 22157
Inscription : mer. 22 avr. 2026, 17:33

Re: Using an array in Azure web app settings

Message par Clippy »

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 »