Solve the problem
Can any body tell me the ans of given Q and also tell me the resion
You are the developer of an online bill paying web service. You are in the final testing stages of the application before you roll it out onto the Web. However, while you feel that your error handling in each page is working well, you are nervous that there may be errors that you are not handling at higher levels. You would like to log all errors that you do not handle in your other error handling code so that you can make sure that there is nothing that you are missing. Where would you put the logic to do the error logging for all unhandled errors?
1- In the Page_Error() method in each web page
2- In the Application_Error() method in the global.asax file
3- In the default catch statement of each try...catch block in the application
4- In the <customError> tag in the web.config file
chandan Tandon
|