What is the standard structure to add keys to appsettings.json? Also, how to read those values in our run.csx? Normally in app.config, we had Con
appsettings.json
run.csx
Con
You don't have to use System.Environment.GetEnvironmentVariable() to access your app settings.
System.Environment.GetEnvironmentVariable()
ConfigurationManager is available to Azure Functions in run.csx like so:
ConfigurationManager
System.Configuration.ConfigurationManager.AppSettings["SettingName"]