{"repo":"Treblle/treblle-net-core","free":true,"listed":false,"github":"https://github.com/Treblle/treblle-net-core","clone":"git clone https://github.com/Treblle/treblle-net-core.git","description":"Offical .NET Core SDK for Treblle with support for .NET 6 and beyond","language":"C#","stars":12,"topics":["treblle","api-rest","dotnetcore","logging-library","monitoring","observability"],"license":"MIT","category":"analytics","readme_excerpt":"Treblle - API Intelligence Platform Website • Documentation • Pricing Treblle is an API intelligence platfom that helps developers, teams and organizations understand their APIs from a single integration point. --- Treblle .NET Core SDK Requirements Requirement Version ------------- --------- .NET 6.0+ ASP.NET Core 6.0+ C# 10.0+ Supported Platforms: - Windows, macOS, Linux - Docker containers - Azure, AWS, Google Cloud - Any hosting platform supporting .NET 8+ Supported API Types: - REST APIs with Controllers - Minimal APIs - Web APIs - Mixed controller/minimal API applications Dependencies: - Microsoft.AspNetCore.App (framework reference) - System.Text.Json 6.0+ - No external dependencies required Installation 1. Install the Package You can install the Treblle JavaScript .NET Core via NuGet. Simply run the following command: 2. Get Your Credentials Get your SDK Token and API Key from the Treblle Dashboard. 3. Configure Treblle Option A: Environment Variables (Recommended for Production) Then use zero-configuration setup: 💡 Where to place this code: - Program.cs (new minimal hosting model): Add builder.Services.AddTreblle() before builder.Build() and app.UseTreblle() after var app = builder.Build() - Startup.cs (legacy): Add services.AddTreblle() in ConfigureServices() and app.UseTreblle() in Configure() - ⚠️ Required: app.UseTreblle() must come after app.UseRouting() . Placing it before routing means error responses (4xx/5xx) will not be grouped under the correct endpoint o","default_branch":null,"files":null,"tree":[],"storefront":"/r/Treblle","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Treblle/treblle-net-core/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}