This little bit of code from Jeff Atwood works equally well in an ASP.NET 1.1 application as well as the most recent ASP.NET 4.0 applications. If you need a bit of code to throw an email and/or a friendly message back to your users, this my friends is it... This was written in VB.NET, but I ported it over easily to C# and added some minor enhancements. If you'd like to have my version, let me know and I'll put it out somewhere for you to get it.
Update: You can download it here on GitHub: http://github.com/johnmbaughman/UnhandledException
16 comments:
Hi John,
I would be very inetersted in your C# version.
Thanks!
Phil
I would also appreciate the C# version.
I'm interested in this code.
Great work, can I also get a copy of this?
Many thanks,
Derek
I would also be happy to see it! Where can I get it? :)
Hi John,
Where can I get a copy of this code?
Thanks,
Manuel
Hi John,
I would be very interested in your c# version also.
Great! Can I get a copy?
I would also be interested in C# Version.
Hi John,
Please put me on your list of enlightened C# exception handlers!
Hi John,
Please can you send me your C# version,
Thanks,
Ashley
Wow... Been away for a long while and I missed all these comments! I'll work on a spot to put it and get it up here in a couple of days!
I really do suck at following through. Still looking for a spot for the code...
You might try github.
Ok, Github it is...
http://github.com/johnmbaughman/UnhandledException
Post a Comment