{"id":21571073,"url":"https://github.com/treblle/treblle-net","last_synced_at":"2025-04-10T14:20:30.537Z","repository":{"id":129657892,"uuid":"390976646","full_name":"Treblle/treblle-net","owner":"Treblle","description":"The official Treblle SDK for .NET. Seamlessly integrate Treblle to manage communication with your dashboard, send errors, and secure sensitive data.","archived":false,"fork":false,"pushed_at":"2025-02-12T14:21:40.000Z","size":56,"stargazers_count":6,"open_issues_count":1,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-03T03:01:45.963Z","etag":null,"topics":["api","api-monitoring","api-observability","backend","developer-tool","dotnet","logging","rest-api","restful-api","sdk","sdk-dotnet","treblle","treblle-sdk"],"latest_commit_sha":null,"homepage":"https://www.treblle.com/","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Treblle.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-07-30T07:41:55.000Z","updated_at":"2025-02-12T14:21:44.000Z","dependencies_parsed_at":"2024-03-13T15:44:41.037Z","dependency_job_id":null,"html_url":"https://github.com/Treblle/treblle-net","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Treblle%2Ftreblle-net","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Treblle%2Ftreblle-net/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Treblle%2Ftreblle-net/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Treblle%2Ftreblle-net/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Treblle","download_url":"https://codeload.github.com/Treblle/treblle-net/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248233935,"owners_count":21069493,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api","api-monitoring","api-observability","backend","developer-tool","dotnet","logging","rest-api","restful-api","sdk","sdk-dotnet","treblle","treblle-sdk"],"created_at":"2024-11-24T11:14:49.340Z","updated_at":"2025-04-10T14:20:30.524Z","avatar_url":"https://github.com/Treblle.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n  \u003cimg src=\"https://treblle-github.s3.us-east-1.amazonaws.com/github-header.jpg\"/\u003e\n\u003c/div\u003e\n\u003cdiv align=\"center\"\u003e\n\n# Treblle\n\n\u003ca href=\"https://docs.treblle.com/en/integrations\" target=\"_blank\"\u003eIntegrations\u003c/a\u003e\n\u003cspan\u003e\u0026nbsp;\u0026nbsp;•\u0026nbsp;\u0026nbsp;\u003c/span\u003e\n\u003ca href=\"http://treblle.com/\" target=\"_blank\"\u003eWebsite\u003c/a\u003e\n\u003cspan\u003e\u0026nbsp;\u0026nbsp;•\u0026nbsp;\u0026nbsp;\u003c/span\u003e\n\u003ca href=\"https://docs.treblle.com\" target=\"_blank\"\u003eDocs\u003c/a\u003e\n\u003cspan\u003e\u0026nbsp;\u0026nbsp;•\u0026nbsp;\u0026nbsp;\u003c/span\u003e\n\u003ca href=\"https://blog.treblle.com\" target=\"_blank\"\u003eBlog\u003c/a\u003e\n\u003cspan\u003e\u0026nbsp;\u0026nbsp;•\u0026nbsp;\u0026nbsp;\u003c/span\u003e\n\u003ca href=\"https://twitter.com/treblleapi\" target=\"_blank\"\u003eTwitter\u003c/a\u003e\n\u003cspan\u003e\u0026nbsp;\u0026nbsp;•\u0026nbsp;\u0026nbsp;\u003c/span\u003e\n\u003ca href=\"https://treblle.com/chat\" target=\"_blank\"\u003eDiscord\u003c/a\u003e\n\u003cbr /\u003e\n\n  \u003chr /\u003e\n\u003c/div\u003e\n\nTreblle is a lightweight SDK that helps Engineering and Product teams build, ship \u0026 maintain REST based APIs faster.\n\n## Features\n\n\u003cdiv align=\"center\"\u003e\n  \u003cbr /\u003e\n  \u003cimg src=\"https://treblle-github.s3.amazonaws.com/features.png\"/\u003e\n  \u003cbr /\u003e\n  \u003cbr /\u003e\n\u003c/div\u003e\n\n- [API Monitoring \u0026 Observability](https://www.treblle.com/features/api-monitoring-observability)\n- [Auto-generated API Docs](https://www.treblle.com/features/auto-generated-api-docs)\n- [API analytics](https://www.treblle.com/features/api-analytics)\n- [Treblle API Score](https://www.treblle.com/features/api-quality-score)\n- [API Lifecycle Collaboration](https://www.treblle.com/features/api-lifecycle)\n- [Native Treblle Apps](https://www.treblle.com/features/native-apps)\n\n\n## How Treblle Works\nOnce you’ve integrated a Treblle SDK in your codebase, this SDK will send requests and response data to your Treblle Dashboard.\n\nIn your Treblle Dashboard you get to see real-time requests to your API, auto-generated API docs, API analytics like how fast the response was for an endpoint, the load size of the response, etc.\n\nTreblle also uses the requests sent to your Dashboard to calculate your API score which is a quality score that’s calculated based on the performance, quality, and security best practices for your API.\n\n\u003e Visit [https://docs.treblle.com](http://docs.treblle.com) for the complete documentation.\n\n## Security\n\n### Masking fields\nMasking fields ensure certain sensitive data are removed before being sent to Treblle.\n\nTo make sure masking is done before any data leaves your server [we built it into all our SDKs](https://docs.treblle.com/en/security/masked-fields#fields-masked-by-default).\n\nThis means data masking is super fast and happens on a programming level before the API request is sent to Treblle. You can [customize](https://docs.treblle.com/en/security/masked-fields#custom-masked-fields) exactly which fields are masked when you’re integrating the SDK.\n\n\u003e Visit the [Masked fields](https://docs.treblle.com/en/security/masked-fields) section of the [docs](https://docs.sailscasts.com) for the complete documentation.\n\n\n## Get Started\n\n1. Sign in to [Treblle](https://platform.treblle.com).\n2. [Create a Treblle project](https://docs.treblle.com/en/dashboard/projects#creating-a-project).\n3. [Setup the SDK](#install-the-SDK) for your platform.\n\n### Install the SDK\nYou can install Treblle .NET via NuGet Package Manager or by running the following command:\n\n```sh\nInstall-Package Treblle.Net\n```\n\nYou will be prompted to enter your Treblle API key and Project ID. Your settings will be saved in `Web.config` and you can always edit them there.\nHere is an example:\n\n```xml\n\u003cconfiguration\u003e\n\t\u003cappSettings\u003e\n\t\t\u003cadd  key=\"TreblleApiKey\"  value=\"{Your_API_Key}\"  /\u003e\n\t\t\u003cadd  key=\"TreblleProjectId\"  value=\"{Your_Project_Id}\"  /\u003e\n\t\u003c/appSettings\u003e\n\u003c/configuration\u003e\n```\n\nNow you can specify which endpoints you want Treblle to track by adding this simple attribute to any API controller or method:\n\n```csharp\n\n[Treblle]\n\n```\n\nThat's it. Your API requests and responses are now being sent to your Treblle project.\n\n\u003e See the [docs](https://docs.treblle.com/en/integrations/net) for this SDK to learn more.\n\n## Available SDKs\n\nTreblle provides [open-source SDKs](https://docs.treblle.com/en/integrations) that let you seamlessly integrate Treblle with your REST-based APIs.\n\n- [`treblle-laravel`](https://github.com/Treblle/treblle-laravel): SDK for Laravel\n- [`treblle-php`](https://github.com/Treblle/treblle-php): SDK for PHP\n- [`treblle-symfony`](https://github.com/Treblle/treblle-symfony): SDK for Symfony\n- [`treblle-lumen`](https://github.com/Treblle/treblle-lumen): SDK for Lumen\n- [`treblle-sails`](https://github.com/Treblle/treblle-sails): SDK for Sails\n- [`treblle-adonisjs`](https://github.com/Treblle/treblle-adonisjs): SDK for AdonisJS\n- [`treblle-fastify`](https://github.com/Treblle/treblle-fastify): SDK for Fastify\n- [`treblle-directus`](https://github.com/Treblle/treblle-directus): SDK for Directus\n- [`treblle-strapi`](https://github.com/Treblle/treblle-strapi): SDK for Strapi\n- [`treblle-express`](https://github.com/Treblle/treblle-express): SDK for Express\n- [`treblle-koa`](https://github.com/Treblle/treblle-koa): SDK for Koa\n- [`treblle-go`](https://github.com/Treblle/treblle-go): SDK for Go\n- [`treblle-ruby`](https://github.com/Treblle/treblle-ruby): SDK for Ruby on Rails\n- [`treblle-python`](https://github.com/Treblle/treblle-python): SDK for Python/Django\n\n\u003e See the [docs](https://docs.treblle.com/en/integrations) for more on SDKs and Integrations.\n\n## Other Packages\n\nBesides the SDKs, we also provide helpers and configuration used for SDK\ndevelopment. If you're thinking about contributing to or creating a SDK, have a look at the resources\nbelow:\n\n- [`treblle-utils`](https://github.com/Treblle/treblle-utils):  A set of helpers and\n  utility functions useful for the JavaScript SDKs.\n- [`php-utils`](https://github.com/Treblle/php-utils):   A set of helpers and\n  utility functions useful for the PHP SDKs.\n\n## Community 💙\n\nFirst and foremost: **Star and watch this repository** to stay up-to-date.\n\nAlso, follow our [Blog](https://blog.treblle.com), and on [Twitter](https://twitter.com/treblleapi).\n\nYou can chat with the team and other members on [Discord](https://treblle.com/chat) and follow our tutorials and other video material at [YouTube](https://youtube.com/@treblle).\n\n[![Treblle Discord](https://img.shields.io/badge/Treblle%20Discord-Join%20our%20Discord-F3F5FC?labelColor=7289DA\u0026style=for-the-badge\u0026logo=discord\u0026logoColor=F3F5FC\u0026link=https://treblle.com/chat)](https://treblle.com/chat)\n\n[![Treblle YouTube](https://img.shields.io/badge/Treblle%20YouTube-Subscribe%20on%20YouTube-F3F5FC?labelColor=c4302b\u0026style=for-the-badge\u0026logo=YouTube\u0026logoColor=F3F5FC\u0026link=https://youtube.com/@treblle)](https://youtube.com/@treblle)\n\n[![Treblle on Twitter](https://img.shields.io/badge/Treblle%20on%20Twitter-Follow%20Us-F3F5FC?labelColor=1DA1F2\u0026style=for-the-badge\u0026logo=Twitter\u0026logoColor=F3F5FC\u0026link=https://twitter.com/treblleapi)](https://twitter.com/treblleapi)\n\n### How to contribute\n\nHere are some ways of contributing to making Treblle better:\n\n- **[Try out Treblle](https://docs.treblle.com/en/introduction#getting-started)**, and let us know ways to make Treblle better for you. Let us know here on [Discord](https://treblle.com/chat).\n- Join our [Discord](https://treblle.com/chat) and connect with other members to share and learn from.\n- Send a pull request to any of our [open source repositories](https://github.com/Treblle) on Github. Check the contribution guide on the repo you want to contribute to for more details about how to contribute. We're looking forward to your contribution!\n\n### Contributors\n\u003c!-- Replace link with the link of the SDK contributors--\u003e\n\u003ca href=\"https://github.com/Treblle/treblle-net/graphs/contributors\"\u003e\n  \u003cp align=\"center\"\u003e\n    \u003cimg  src=\"https://contrib.rocks/image?repo=Treblle/treblle-net\" alt=\"A table of avatars from the project's contributors\" /\u003e\n  \u003c/p\u003e\n\u003c/a\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftreblle%2Ftreblle-net","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftreblle%2Ftreblle-net","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftreblle%2Ftreblle-net/lists"}