Devgem.Sentry
2018.327.2132
dotnet add package Devgem.Sentry --version 2018.327.2132
NuGet\Install-Package Devgem.Sentry -Version 2018.327.2132
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Devgem.Sentry" Version="2018.327.2132" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Devgem.Sentry --version 2018.327.2132
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Devgem.Sentry, 2018.327.2132"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Devgem.Sentry as a Cake Addin #addin nuget:?package=Devgem.Sentry&version=2018.327.2132 // Install Devgem.Sentry as a Cake Tool #tool nuget:?package=Devgem.Sentry&version=2018.327.2132
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
DevGem.Sentry
Overview
.NET Core utility library for RavenSharp.Core
containing ASP.NET Core filters and IoC to send exceptions to Sentry
.
Usage
Configuration
In Startup.cs
:
using DevGem.Sentry;
...
public void ConfigureServices(IServiceCollection services)
{
// define the Sentry settings as constants or get them from your configuration
// the environment and release arguments are optional
services.AddSentry(YOUR_SENTRYDNS, YOUR_ENVIRONMENT, YOUR_RELEASE);
...
Code
In some controller
:
using DevGem.Sentry;
...
// if you put the SentryExceptionFilter attribute on a controller
// then all exceptions thrown by the controller will be reported to Sentry
[SentryExceptionFilter]
public class SomeController : Controller
{
...
Get it!
You can clone and build DevGem.Sentry yourself from https://gitlab.com/devgem/devgem-sentry/, but for those of us who are happy with prebuilt binaries, there's a NuGet package: https://www.nuget.org/packages/Devgem.Sentry/.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. |
.NET Core | netcoreapp2.0 is compatible. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
.NETCoreApp 2.0
- Microsoft.AspNetCore.All (>= 2.0.6)
- RavenSharp.Core (>= 1.0.0-beta-1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
2018.327.2132 | 2,042 | 3/27/2018 |
2018.305.1229 | 1,902 | 3/5/2018 |
2018.122.3 | 1,938 | 1/22/2018 |