.NET

Install dotnet add package Blipit

Add the Blipit package and call Init once at startup with your project's public key and project id. Unhandled exceptions are reported on their own.

1Install

sh
dotnet add package Blipit

2Initialise at startup

Keep the returned handle alive for the life of the process. Both values are on the project's Keys page.

Program.cs
using Blipit;

using var blipit = Blipit.Blipit.Init(new BlipitOptions
{
    Key = "<public key>",
    Project = "<project id>",
    Environment = "production",
    Release = "myapp@1.4.2",
});

3ASP.NET Core (optional)

For request context, performance and log capture, add Sentry.AspNetCore and hand it Blipit's address; Blipit.Init alone is enough for exceptions.

csharp
builder.WebHost.UseSentry(Blipit.Blipit.Dsn("<public key>", "<project id>"));

4Manual capture and login attempts

csharp
Blipit.Blipit.CaptureException(ex);
Blipit.Blipit.CaptureMessage("cache miss rate above 50%");
Blipit.Blipit.SetUser("42", "ana@example.com");
Blipit.Blipit.CaptureSecurity("login_failed", email, "bad_password", null, ip, userAgent, null);

5Check it works

Open Issues in app.blipit.io. The first event appears within a few seconds, grouped into an issue, and the people in charge get an email.

csharp
Blipit.Blipit.CaptureMessage("Hello from .NET");

Good to know

  • Targets netstandard2.0 and net8.0.
  • TracesSampleRate = 0.2 in the options sends requests to the Performance page.

Stuck? Email support@blipit.io. Keys and the exact DSN for each project are under API keys in app.blipit.io.