I have a set of appsetting vaues as below. We are on Windows App service
"MainDomains": {
"Domains": [
{
"Id": "123456",
"Domain": "Technical",
"PolicyUrl": "https://www.mytechdomain.net",
"LearningPoint": "https://www.mytechdomain.net",
"Hostnames": [
"https://localhost:4567",
"http://localhost:34565",
"https://mytechdomain.latestlearn.com"
],
"UsePreviewContent": true,
"IsDefault": true,
"OriginEmail": "info@techdomain.net",
"mytechname": "Techdomain"
}
]
}
How would i properly set these values in Azure App settings under configurations. I have already tried like property1:property2:0 --> xxxvalue. This does not seem to work however. What I am guessing is may be I have an array within another array. Where first array is the MainDomains and another array within the MainDomains array is the Domains.