Skip to content

dalehenries/Nancy.Raygun.AspNetCore

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nancy.Raygun.AspNetCore

Raygun is a service for automatically reporting, tracking and alerting you to errors in your applications. Discover and resolve errors faster than ever before and keep your users happy.

http://raygun.com/

This library is based off of Nancy.Raygun which was created for classic .NET Nancy apps. It was based on the original library https://github.com/MindscapeHQ/raygun4net from Mindscape. The purpose of this library is to provide the same functionality for dotnet core Nancy apps.

Installing Nancy.Raygun.AspNetCore

Using Nuget, install the Nancy.Raygun.AspNetCore package. Your .csproj should include the following:

<ItemGroup Condition=" '$(TargetFramework)' == 'netcoreapp1.0' ">
    <PackageReference Include="Nancy.Raygun.AspNetCore" Version="1.0.2" />
</ItemGroup>

Configuring Raygun

Add the following code to your appsettings.json:

"RaygunSettings": {
  "ApiKey": "YOUR_APP_API_KEY"
}

And that's it. Nancy should automatically pull in and setup raygun via NancyRaygunRegistration which is an IApplicationStartup.

LICENSE

Nancy.Raygun.AspNetCore is released under the MIT license.

About

Nancy provider for Raygun service on dotnet core

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages