If your app hosted on an Azure Web Site gives you an internal server error, here's what to do:

  1. Enable Diagnostic Logging
  2. Download the logs with a FTPS client such as FileZilla
  3. Open the logs in a web browser or text editor
  4. Fix the problem

I made this screencast to walk you through the process:

Troubleshooting Azure Web Sites from Matt Harrington on Vimeo.