You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Installation is available by the package repository NuGet. There are three different packages for different types of .NET apps.
Sharpbrake.Client: C# client with support for .NET 3.5, 4.5 and .NET Core. Available on NuGet
Sharpbrake.Http.Module: HTTP module for ASP.NET request pipeline. Available on NuGet
Sharpbrake.Http.Middleware: Middleware component for new ASP.NET Core pipeline. Available on NuGet
Configuration
Before using the library and its notifiers, you must to configure them. In most cases, it is sufficient to configure only one, default, notifier. (You can find your project API KEY with your project's settings):
varairbrake=newAirbrakeNotifier(newAirbrakeConfig{ProjectId="<Your project ID>",ProjectKey="<Your project API KEY>"});
There are multiple ways to set your PROJECT_ID and PROJECT_KEY:
Setting explicitly:
varconfig=newAirbrakeConfig{ProjectId="<Your project ID>",ProjectKey="<Your project API KEY>"};
Installation
Installation is available by the package repository NuGet. There are three different packages for different types of .NET apps.
Sharpbrake.Client: C# client with support for .NET 3.5, 4.5 and .NET Core. Available on NuGet
Sharpbrake.Http.Module: HTTP module for ASP.NET request pipeline. Available on NuGet
Sharpbrake.Http.Middleware: Middleware component for new ASP.NET Core pipeline. Available on NuGet
Configuration
Before using the library and its notifiers, you must to configure them. In most cases, it is sufficient to configure only one, default, notifier. (You can find your project API KEY with your project's settings):
There are multiple ways to set your PROJECT_ID and PROJECT_KEY:
Setting explicitly:
Using
App.config
orWeb.config
:Using
airbrake.json
. Use comma-separated values to add more than oneargument for options that support it:
For a rundown of advanced configuration options and the notifier API provided for .NET/C# apps, please visit our GitHub.
The text was updated successfully, but these errors were encountered: