Kilau
Kilau
CC#
Created by Kilau on 12/12/2023 in #help
✅ Azure Webjobs CSV files do not get updated and reset to original state
Hello, I created a Telegram bot that is also reading and writing some CSV files in folders inside the root folder of my application (the debug folder inside bin folder of my VS solution). I created a Webjob by simply uploading a zip file of the root folder (together with the CSV sub-folders inside it) to the Webjob creation interface inside Azure App Services interface. I managed to get the application running as expected where the csv files are updated properly as confirmed by the commands that I run via interactions with the Telegram bot in the Telegram app. However, when I view the actual CSV files via Kudu Debug Console: C:\home\site\wwwroot\App_Data\jobs\continuous\TelBot\net8.0\CSV folders> all the csv files are still in its original states. I thought it could be a delay of some sort. But even after awhile, they are still not updated. Furthermore when I stopped and restarted the Webjob, all the changes that I've made before seems dissapear. Again, confirmed by the command that I run via Telegram bot in the Telegram app. Why is this happening? p/s: I'm very beginner in C# and Azure. So, this is the most I could do to get the app running as Webjob, so far. Thanks in advance.
21 replies