Coding Horror

programming and human factors

User Friendly ASP.NET Exception Handling

I just posted a new article to CodeProject, User Friendly ASP.NET Exception Handling.

I casually mentioned in the original article that I didn't think a global unhandled exception management class designed for WinForms and console apps was appropriate for ASP.NET apps, and that I had a seperate-but-equal class I used in those scenarios. Well, based on that vague comment, I kept getting requests for this code. So after a recent email I was motivated to finish up the sample solution. It's not as exciting as the client version (naturally, it doesn't capture screenshots of the desktop) but it's still extremely useful in all the production systems that I work on.

I think in the future I'll avoid using my blog to host code of any significance. It gets better exposure on CodeProject, and formatting the article for that general "everyprogrammer" audience motivates me to write much more comprehensive documentation than I otherwise would. I've also gotten some truly excellent feedback/suggestions from developers in the comments. Overall, a really positive experience, a great community, and I wholeheartedly recommend it.

Written by Jeff Atwood

Indoor enthusiast. Co-founder of Stack Overflow and Discourse. Disclaimer: I have no idea what I'm talking about. Find me here: https://infosec.exchange/@codinghorror