Skip to content

Maintenance page

For work on the server or the database (for example a manual update or restoring a backup), you take invoiceR offline briefly. So that users see a notice instead of an error message, use the ASP.NET Core maintenance page.

If a file named app_offline.htm is in the program folder of a website, IIS shuts down the application and answers all requests with the content of this file. As soon as you remove or rename the file, the application starts again with the next request.

  1. Copy the maintenance page as app_offline.htm into the program folder of the backend (and of the frontend if needed).
  2. Carry out the maintenance work.
  3. Delete or rename the file, for example to _app_offline.htm.
  4. Open invoiceR in the browser and check that the login page appears.

For more, see the Microsoft documentation on the “App Offline file (app_offline.htm)” for ASP.NET Core.