WPF client library
The WPF client library handles unhandled exceptions, includes your view models and can help you display error pages and take screenshot of the active window.
This page expects that you have installed the WPF nuget packaged and configured it. If you have not, read the configuration page.
An error page can optionally be displayed. When a new error is detected, Coderr will now display this:
To activate and configure the feature, add the following line(s) below the other Coderr configuration lines in
// Add a leave feedback text area. Err.Configuration.UserInteraction.AskUserForDetails = true; // Ask user if an report may be uploaded. Err.Configuration.UserInteraction.AskUserForPermission = true; // Allow user to get notified once you have corrected the issue. Err.Configuration.UserInteraction.AskForEmailAddress = true;
WPF Error handling pipeline
By default, Coderr marks all exceptions as handled in WPF, which means that your application will not crash when an exception is detected.
If you want to prevent that, use the following setting.
The context collections are included in the WPF library.
Coderr collects information from all open forms using reflection.
The information includes all controls and their configuration (position, content, visibility etc)
Screenshots can be activated by one of the following configuration lines:
You will see the following under the incident in your Coderr server:
Coderr collects information from all viewModels in the open forms.