title: Azure "500 - The request timed out" custom error page
body: <p>We have deployed an ASP.NET MVC applicaton to an Azure App Service.</p>
  
  <p>If a request takes longer than 230 seconds Azure returns an error page "500 - The request timed out. The web server failed to respond within the specified time." - <a href="https://stackoverflow.com/a/38676086">https://stackoverflow.com/a/38676086</a></p>
  
  <p>We are making changes to ensure less processing is done on the Web request, however there may still be a chance that these limits are hit. Does anyone know if there is a way to configure a custom error page to be shown instead of the generic error page shown below?</p>
  
  <p><a href="https://i.stack.imgur.com/LqzJ6.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/LqzJ6.png" alt="Azure 500 - The request timed out page"></a></p>