Friday, October 23, 2009

Exception-Driven Development

One of the first things I like doing when coding is ensuring a stable error logging and notification system. I like to know about problems as soon as or sooner than my customers. And detailed logging really helps in reproducing and fixing the bug. Jeff Atwood calls this exception-driven development.

Today I found ELMAH. In a little more than an hour I implemented it in a ASP.NET app that did not have any exception handling implemented. It logs, emails and has a error log viewer. The screencast made this so easy.

No comments: