Reputation: 45
my project is published successfully but I want to display the app_offline page when I deploy the project. I have created the app_offline.htm file and I don't know where this file is placed in a directory
Upvotes: 0
Views: 1554
Reputation: 45
add these two items "copy files" app_offline.htm before deploying and the "delete files" item can be deleted after deployment is complete.
Upvotes: 0
Reputation: 359
You could enable "Take App Offline" option in the IIS Web App Deploy task. This option points that taking the Web App offline by placing an app_offline.htm file in the root directory of the Web App before the sync operation begins. The file will be removed after the sync operation completes successfully. So you need to place this file in the root directory of the Web App in your local physical path.
Upvotes: 1