問題タブ [azure-function-app]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票する
1 に答える
858 参照

c# - How to update a single value in Application settings at runtime in Azure Function App

I'm building my first Function App so if I'm asking a silly question, please keep that in mind :)

I have a need to store some settings at runtime. In standard desktop apps I can easily update app.config by using:

but in Function App I load config using ConfigurationBuilder:

and there is no way to update that config object. When developing locally I can update local.settings.json, but when running on Azure everything is loaded from Application settings (Environment variables).

My question is: how can I update a single value in Application settings that are associated with my Function App?

I found a similar question but the solution there requires registering app in AAD and it is updating all settings, not just one value.