title: How best to implement 'website closed' functionality?
body: <p>We have a requirement to have our ASP.NET MVC websites be automatically closed down by a remote notification (change in database value). Where would be the best place to implement this?</p>
  
  <ul>
  <li>Base Controller Class</li>
  <li>Global.asax</li>
  <li>Custom attribute</li>
  <li>Other</li>
  </ul>
  
  <p><strong>Update</strong></p>
  
  <p>Lots of suggestions to use app_offline but this scenario will be happening daily and will be purely initiated by the database so I would rather have the application take the initiative rather than something external push the file in.</p>
  
  <p>Also, I will probably need to redirect the users to a holding page (preferably an MVC controller method to keep everything consistent). I'm leaning more towards catching it in my BaseController and having that handle it</p>