AspNetAtoms.com daily updates on ASP.NET Tutorials, Articles, Authors and more. Subscribe to our newsletter and receive updates on ASP.NET resources on the Internet.

Categories

Recent Posts

Error Logging using ASP.NET 2.0 : Suprotim Agarwal

Saturday, July 12 2008

Errors and failures may occur during development and operation of a website. ASP.NET 2.0 provides tracing, instrumentation and error handling mechanisms to detect and fix issues in an application. In this article, we will adopt a simple mechanism to log errors and exceptions in our website. In this article, we will adopt a simple mechanism to log errors and exceptions in our website. We will be using a mechanism where the user will be redirected to a separate page whenever an error is encountered in the application. Simultaneously, the error will get logged in a text file on the server. The error file will be created on a daily basis, whenever the error is encountered. Having said that, let us now see some code...

Read More:
Error Logging using ASP.NET 2.0 : Suprotim Agarwal
Also See:
Roll Your own Drudge Report in ASP.NET : Michael Allen Smith
Inversion of Control and Dependency Injection with Castle Windsor Container - Part IV : Simone Busoli
Working with Callback and Control Rendering (Manually) : Muhammad Adnan Amanullah
LINQ Provider Basics : Mehfuz Hossain
Cure Code Bloat : Steve C. Orr

Post your comment

Comment