asp.net Background Threads Exception Handling

Posted by Chris on Stack Overflow See other posts from Stack Overflow or by Chris
Published on 2010-04-16T20:34:47Z Indexed on 2010/04/16 20:43 UTC
Read the original article Hit count: 272

Filed under:
|
|

In my 3.5 .net web application I have a background thread that does a lot of work (the application is similar to mint.com in that it does a lot of account aggregation on background threads). I do extensive exception handling within the thread performing the aggregation but there's always the chance an unhandled exception will be thrown and my entire application will die. I've read some articles about this topic but they all seem fairly outdated and none of them implement a standard approach. Is there a standard approach to this nowadays? Is there any nicer way to handle this in ASP.NET 4.0?

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about multithreading