Storing state locally with Azure Functions

2019-04-06 00:05发布

问题:

Does Azure Functions offer a local (state) storage to eliminate a need in invoking additional services such as storage, docDB, etc?

回答1:

Functions are built on Azure App Service, which offers the ability to store persistent files. e.g. you can store files under %HOME%\data\SomeFolderOfYourChoice.



回答2:

As was told, Azure Functions can interact with its folder structure and is able to store some stuffs into its folders. But, remember, Azure Functions are billed for resources consumption, that is even more resources your Functions will need, even more cost you'll have on your billing.

Sometimes is more cheap use Azure PaaS services than store stuffs into your Functions. This was a TIP ! :)