How do I take my App Service offline, test the new app, then go online?

David Thielen 2,421 Reputation points

Hi all;

When I go to push my site from staging to production, I often need to run a SQL script to update the database schema. So is there a way to:

  1. Take the site offline
  2. Run the SQL script
  3. Swap from staging to production
  4. Test the production site
  5. Make the site online

thanks - dave

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,154 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Manu Philip 17,021 Reputation points MVP


    App Offline file should help!

    User's image

    You may read more details here: