Azure kudu files with local cache enabled getting deleted automatically

Varun Peddireddy 0 Reputation points
2023-07-29T04:22:56.8233333+00:00

Hi team,

We have a page developed and deployed to Azure app service with local cache enabled.

Through code we are creating a file and writing data to it in Azure Kudu /home/site/wwwroot/*** folders* . When we run the page, file is getting created and deleted instantly. when we browse file, it got created with required data and if I reload i m getting file not found error.

Could you please suggest a solution , how to persist this file inside kudu (any path) and keep updating based on requirement ?

Note: Same solutions working in dev environment. Only difference for prod is Local cache

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

1 answer

Sort by: Most helpful
  1. Varun Peddireddy 0 Reputation points
    2023-08-01T17:07:52.7566667+00:00

    Since, its not possible - we stored file in our database directly to resolve the issue

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.