I’ve one web app in place in azure, which consist of .Net core Webapi container image. All things are working as expected, but now i’m stuck in to pass Array of string as environment variable to container.
My setting is
Appsettings__EmailRecipients: "[email protected], [email protected]"
At back end side, it’s mapped as Array of strings by using traditional IConfiguration approach.
All other appsettings worked as expected, but not the array of string environment variable.
So, can someone please help?what’s correct way to pass the Array of string as environment variable from azure web app?
I’ve tried injecting environment variables as below way, but still not worked
Appsettings__EmailRecipients0: [email protected]
Appsettings__EmailRecipients1: [email protected]