How can you keep a track of all the unhandled exceptions of your web application in the
system event log?

 Posted by Ddd on 1/20/2011 | Category: ASP.NET Interview questions | Views: 3021 | Points: 40

Write the code in Application_Error() event handler in the Global.asax file.
Application_Error is fired for all the web pages and can be useful for taking custom actions in response to the unhandled exceptions.

Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response