{"id":37042330,"url":"https://github.com/rudderlabs/rudder-sdk-.net","last_synced_at":"2026-01-14T04:59:40.097Z","repository":{"id":43866442,"uuid":"309256686","full_name":"rudderlabs/rudder-sdk-.net","owner":"rudderlabs","description":"RudderStack's .NET SDK for event tracking from your .NET applications.","archived":false,"fork":false,"pushed_at":"2025-11-07T11:31:37.000Z","size":985,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-12-26T18:51:52.319Z","etag":null,"topics":["rudderstack"],"latest_commit_sha":null,"homepage":"https://rudderstack.com","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"segmentio/Analytics.NET","license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rudderlabs.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2020-11-02T04:22:48.000Z","updated_at":"2025-11-07T11:31:41.000Z","dependencies_parsed_at":"2023-01-31T11:30:45.437Z","dependency_job_id":null,"html_url":"https://github.com/rudderlabs/rudder-sdk-.net","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"purl":"pkg:github/rudderlabs/rudder-sdk-.net","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rudderlabs%2Frudder-sdk-.net","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rudderlabs%2Frudder-sdk-.net/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rudderlabs%2Frudder-sdk-.net/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rudderlabs%2Frudder-sdk-.net/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rudderlabs","download_url":"https://codeload.github.com/rudderlabs/rudder-sdk-.net/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rudderlabs%2Frudder-sdk-.net/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28410038,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T01:52:23.358Z","status":"online","status_checked_at":"2026-01-14T02:00:06.678Z","response_time":107,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["rudderstack"],"created_at":"2026-01-14T04:59:39.483Z","updated_at":"2026-01-14T04:59:40.091Z","avatar_url":"https://github.com/rudderlabs.png","language":"C#","readme":"# What is RudderStack?\n\n[RudderStack](https://rudderstack.com/) is a **customer data pipeline** tool for collecting, routing and processing data from your websites, apps, cloud tools, and data warehouse.\n\nMore information on RudderStack can be found [here](https://github.com/rudderlabs/rudder-server).\n\nReleased under the MIT License.\n\n### Latest Version\n\n`2.0.0`\n\n## Getting Started with .NET SDK\n\nInstall `RudderAnalytics` using `NuGet`\n```\nInstall-Package RudderAnalytics -Version 2.0.0\n```\n\n## Migrating from v1 to v2\n\nThe Gzip feature is enabled by default in the .NET SDK from version `2.0.0`. Refer to [Gzipping requests](#gzipping-requests) section for more details.\n\n## Initialize the ```Client```\n\n```\nusing RudderStack;\n\nRudderAnalytics.Initialize(\n    WRITE_KEY,\n    new RudderConfig(dataPlaneUrl: DATA_PLANE_URL)\n);\n```\n\n## Gzipping requests\n\n\n\u003e The Gzip feature is enabled by default in the .NET SDK from version `2.0.0`.\n\n\nThe .NET SDK automatically gzips requests. However, you can disable this by setting the `gzip` parameter of `RudderConfig` to `false` while initializing the SDK, as shown:\n\n```csharp\nusing RudderStack;\n\nRudderAnalytics.Initialize(\n    WRITE_KEY,\n    new RudderConfig(dataPlaneUrl: DATA_PLANE_URL, gzip: false)\n);\n```\n\n\u003e Gzip requires \u003ca href=\"https://github.com/rudderlabs/rudder-server\"\u003erudder-server\u003c/a\u003e \u003cstrong\u003ev1.4 or higher\u003c/strong\u003e. Otherwise, your events might fail.\n\n\n## Send Events\n\n```\nRudderAnalytics.Client.Track(\n    \"userId\",\n    \"CTA Clicked\",\n    new Dictionary\u003cstring, object\u003e { {\"plan\", \"premium\"}, }\n);\n```\n\n## Setup .env for running the sample apps\n\n- Make a copy of sample.env in the root folder and replace DUPLICATE_WRITE_KEY and DUPLICATE_DATA_PLANE with the actual values from your dashboard.\n\n\n## Setup Husky for Pre-Commit Hooks\n\n- [Husky.Net](https://alirezanet.github.io/Husky.Net/) is used to run pre-commit hooks, which would format all the C# code in the staging section. In order to run these hooks you need to setup Husky.Net using the instructions [here](https://alirezanet.github.io/Husky.Net/guide/getting-started.html#installation)\n\n\n## Contact Us\n\nIf you come across any issues while configuring or using this integration, please feel free to start a conversation on our [Slack](https://resources.rudderstack.com/join-rudderstack-slack) channel. We will be happy to help you.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frudderlabs%2Frudder-sdk-.net","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frudderlabs%2Frudder-sdk-.net","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frudderlabs%2Frudder-sdk-.net/lists"}