Software development stuff.

2008-10-06

Log unexpected exceptions in a windows service and in an APPDomain in general

My services stopped without reason and I had no thing on the log except the System Event Log. A good solution to log fatal errors is to use the event AppDomain.CurrentDomain.UnhandledException (see Cannot catch Exception in a thread - .NET C#)