i am migrating provider hosted app to SharePoint online by deploying it to Azure Web apps. How to handle write to file system and local folder access as we will not have file system in azure web apps?

Also what are all the changes required in web.config file of Prover hosted app while migrating it to SharePoint Online?

有帮助吗?

解决方案

You have file system in Azure Web app and you can write to it. The only important thing is, that you can't rely on a file system as a permanent storage for your files. As per comments, D:\home is persisted. You can write to this directory and data should be persisted across all instances and never deleted.

Additionally, for permanent file storage solution you can use other things provided by Azure:
Azure blob storage

许可以下: CC-BY-SA归因
scroll top