Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
Hi @redapplesonly
Thank you for sharing the detailed troubleshooting steps.
Based on the behavior you described, this is not a restart or runtime issue. The root cause is that the Azure Web App is running in Run-From-Package mode.
When the application setting below is enabled: WEBSITE_RUN_FROM_PACKAGE = 1
Azure runs the app from a ZIP package instead of directly from the file system. In this mode, deployments are processed asynchronously by the platform. Until Azure finishes extracting and swapping the package in the background:
- New files do not appear in Kudu (
/site/wwwroot) - Restart / Stop–Start / az webapp restart have no effect
- The updated code becomes visible only after a long delay
This is why the changes eventually appear, but much later.
If you want the latest code to go live immediately after deployment:
- Go to Azure Portal → Web App → Configuration → Application settings
- Remove the setting
WEBSITE_RUN_FROM_PACKAGEor set it toWEBSITE_RUN_FROM_PACKAGE = 0
Hope this helps!