Error Handling techniques in ASP.NET 2.0
In this article, I would like to explain about Error Handling in ASP.NET. How to handle the error in ASP.NET 2.0 when an error happens in your website, how to handle unhandled error, tips and tricks for better error handling and also I would give some sample code on how to do Error notifications to you as website owner if there is an error happen in your site. By doing a proper error handling on your website, you can avoid any unprofessional .NET Error to your user and in the other hand, you know what is happening to your website so you can prevent the error from happening again. In the code sample above,you can see that we are using Email notifications when the error happens. For better error logging, you can actually store all the details in your database,so that you can have the history and easier for you to manage code error on your site.