How to handle exceptions in WPF, this is of course 'my opinion'
As with all my 'important' stuff it builds using the amazing AppVeyor.
The app is skinned using Mah Apps.
This isn't a definitive guide or 'proper' way to do exception handling in a WPF application (if there is one), it's my way of dealing with unhandled exceptions, it is my opinion :)
To many times I come across WPF applications which have either no or incomplete exception handling - typically observed as an application that just terminates unexpectedly without giving the user any info about why it crashed, and no easy way to report what happened to first line IT support.
In my opinion when an unhandled exception occurs, an application should do the following:
This approach now targets version 4.6.1 of the Mircosoft .Net framework. This means any unhandled exceptions generated by the TPL & Rx will be propergated to the UI from the finalizer thread when ever the GC runs - this means there is a delay between propergation and observation of any exception.