如何在Azure函数的AppSettings.json中添加配置值.是否有任何结构? [英] How to add configuration values in AppSettings.json in Azure functions. Is there any structure for it?
本文介绍了如何在Azure函数的AppSettings.json中添加配置值.是否有任何结构?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
向appsettings.json
添加密钥的标准结构是什么?
另外,如何在我们的run.csx
中读取这些值?
通常在app.config中,我们有ConfigurationManager.GetSettings["SettingName"];
Azure Function中有任何类似的实现吗?
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 ConfigurationManager.GetSettings["SettingName"];
Is there any similar implementation in Azure Function?
推荐答案
查看全文