Azure handling of XML files

Ryan Cox 1 Reputation point
2020-04-09T01:04:12.053+00:00

My app currently reads and writes to several xml files. these files load perfect on first start up but after that the file that the app is reading doesn't match the version of the file that is in kudu or the ftp.

It is almost like the app is taking an instance of the file and putting in memory and accessing it there. It never actually updates the file in the directory.?

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,875 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Gupta, Tanmaya 76 Reputation points
    2020-04-09T08:25:26.177+00:00

    Please verify the place in code, where you are closing the xml file after you read it. If you are not doing any autosave in your logic, then file close code might be saving it.