web app service not updating after deployment

Admin ELitz 0 Reputation points
2024-11-22T16:58:00.2066667+00:00

i have deployed my web app (.net web forms) a number of times over the last few days. A week ago, it was updating fine and i would see my new version of the app appear in my browser as expected. Over the last several days, although my deployment center shows a successful build and deployment, the app in the browser is stuck on the older version from about a week ago. I've tried stopping/starting the app, updating the web.config manually, iisreset from kudo (although permissions did not allow me to do this), and a few other things recommended online but i cannot get the new version to appear in my browser. I looked at the logs from the deployment and it shows a successful build. Any ideas ?

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

1 answer

Sort by: Most helpful
  1. Vahid Ghafarpour 23,385 Reputation points Volunteer Moderator
    2024-11-22T23:29:43.1933333+00:00

    You can disable caching in your web.config file by adding the following lines:

    <system.webServer>

    <caching enabled="false" />
    

    </system.webServer>

    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.