Skip to main content

Raygun.Owin v0.1.17-beta Released

It’s been over a year now since v0.1.0 of Raygun.Owin was released. This version was pretty rough around the edges but it served its purpose for what I needed. I’ve been wanting to update this for awhile and so recently I pulled the code into another project I’m working on and started to rewrite it.

This update attempts to bring Raygun.Owin more inline with the Raygun4Net feature set. Even though this is a beta release I’ve been using it for a month or more without any issues. As always you should use beta versions with caution, and if you do use it I’d love to hear your feedback on how this compares to the prior version.

Terminal window
Install-Package Raygun.Owin -pre
Terminal window
Install-Package Raygun.Owin.AppBuilder -pre

What’s Changed

  • Raygun.Owin no longer has a dependency on the OWIN package
  • IAppBuilder extensions have been moved to Raygun.Owin.AppBuilder
  • One app builder extension method instead of two
  • The unhandled request middleware can now be registered at the start of the pipeline instead of at the end

What’s New

  • Form fields are now included in the error message
  • Common & well known OWIN keys are now included in the error message
  • The cookie header has been removed and individual cookies are included in the error message
  • Current user information can be attached to the error message
  • Common wrapper exceptions are removed (TargetInvocationException & HttpUnhandledException)
  • Exception filters can be used to exclude exceptions from being sent (by default the HttpException of type ‘The remote host closed the connection’ is filtered out)
  • Base RaygunStartup class to handle logging startup exceptions
  • A default list of tags can be set in your appSettings (supports the delimiters , ; | and trims any extra whitespace)
  • There’s now a sample project showing a basic implementation with NancyFX

What’s Missing

  • Filtering cookies
  • Filtering forms
  • Filtering headers
  • Filtering query strings
  • More unit test coverage

I’ve been running this on IIS 8.5 with v3.0.1-pre of the SystemWeb host & cookies auth, and the v0.24-pre of Nancy.