Azure web application how to show error message


  • I am developing an web application on Azure, on occurrence of exception I want to display an error message to the User on a custom error page.

    What is the best practice, I don't want to use Session to store the Exception.

    Currently, I am using Azure diagnostics to log the error in Logs Table and Events Table and Session to Store the exception detail under Global.asax.cs (app_error) event

    And using the Session in Error page to display the error.

    Sorry the question is much of basic..any inputs would be helpful..

    Tuesday, April 24, 2012 7:01 PM