question

RyanCox-9306 avatar image
0 Votes"
RyanCox-9306 asked azure-cxp-api edited

Azure handling of XML files

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-webapps
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Can you show the code that you use to read and write the files?

0 Votes 0 ·

1 Answer

GuptaTanmaya-4598 avatar image
0 Votes"
GuptaTanmaya-4598 answered RyanCox-9306 commented

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.

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.