Learn how to get started with Treblle using our .NET Core SDK in less than 2 minutes on any new or existing API
dotnet add package Treblle.Net.Core
HEADS UP: You'll be prompted to enter your API KEY and PROJECT ID. You can get them by creating an account.
You can ⭐ our Github repo to stay up to date with new updates
public void Configure(IApplicationBuilder app, IHostingEnvironment env) { app.Use(next => new RequestDelegate( async context => { context.Request.EnableBuffering(); await next(context); } )); // YOUR OTHER CONFIG...}
PRO TIP: You can add the attribute to any API controller or method
[Treblle]
PRO TIP: You can add the attribute to any API controller or method
You and your team just got these amazing features:
<configuration> <appSettings> <add key="TreblleApiKey" value="{Your_API_Key}"/> <add key="TreblleProjectId" value="{Your_Project_Id}"/> <add key="AdditionalFieldsToMask" value="secretField,highlySensitiveField"/> </appSettings></configuration>
PRO TIP: Data is masked before it even leaves your server