Question

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?

Was it helpful?

Solution

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

Licensed under: CC-BY-SA with attribution
Not affiliated with sharepoint.stackexchange
scroll top