{"id":26514861,"url":"https://github.com/devcyclehq/dotnet-server-sdk","last_synced_at":"2025-03-21T05:29:36.811Z","repository":{"id":37795910,"uuid":"488015694","full_name":"DevCycleHQ/dotnet-server-sdk","owner":"DevCycleHQ","description":"DevCycle - .NET Server SDK","archived":false,"fork":false,"pushed_at":"2025-03-11T19:40:25.000Z","size":1007,"stargazers_count":7,"open_issues_count":2,"forks_count":1,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-03-11T20:32:54.664Z","etag":null,"topics":["continuous-delivery","continuous-deployment","devcycle","devops","feature-flags","feature-toggles","openfeature"],"latest_commit_sha":null,"homepage":"https://docs.devcycle.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/DevCycleHQ.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":"2022-05-02T23:03:10.000Z","updated_at":"2025-03-11T19:40:28.000Z","dependencies_parsed_at":"2024-06-24T22:00:55.065Z","dependency_job_id":"0e29744b-c893-4ee3-b086-f98b0f8f4990","html_url":"https://github.com/DevCycleHQ/dotnet-server-sdk","commit_stats":{"total_commits":145,"total_committers":13,"mean_commits":"11.153846153846153","dds":0.5862068965517242,"last_synced_commit":"e41dd4c2c3dfd02f5627d52588b290f7fb7909db"},"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DevCycleHQ%2Fdotnet-server-sdk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DevCycleHQ%2Fdotnet-server-sdk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DevCycleHQ%2Fdotnet-server-sdk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DevCycleHQ%2Fdotnet-server-sdk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DevCycleHQ","download_url":"https://codeload.github.com/DevCycleHQ/dotnet-server-sdk/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244745202,"owners_count":20503040,"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":["continuous-delivery","continuous-deployment","devcycle","devops","feature-flags","feature-toggles","openfeature"],"created_at":"2025-03-21T05:29:36.147Z","updated_at":"2025-03-21T05:29:36.806Z","avatar_url":"https://github.com/DevCycleHQ.png","language":"C#","readme":"# DevCycle .NET Server SDK\n\nWelcome to the DevCycle .NET Server SDK, which interfaces with a local bucketing library. This SDK requests config from DevCycle servers on DevCycleClient initialization. \nAll calls to the client will then perform local bucketing to determine if a user receives a specific variation.\nEvents are queued and flushed periodically in the background.\nThis version is compatible with .NET Standard 2.0 and utilizes more resources to perform local bucketing.\n\n## Installation\nDownload the SDK from Nuget - https://www.nuget.org/packages/DevCycle.SDK.Server.Local/\n\n## Getting Started\nUse the example app `DevCycle.SDK.Server.Local.Example`. It will read your DevCycle SDK key from an environment variable `DEVCYCLE_SERVER_SDK_KEY`\n\nYour DevCycle SDK key can be found via [Environments \u0026 Keys Settings](https://www.devcycle.com/r/environments) on the DevCycle dashboard.\n\n## Usage\nTo find usage documentation, visit our docs for [Local Bucketing](https://docs.devcycle.com/docs/sdk/server-side-sdks/dotnet-local).\n\n\n## Logging\n\nThe DevCycle SDK uses [Microsoft.Extensions.Logging](https://docs.microsoft.com/en-us/aspnet/core/fundamentals/logging/?view=aspnetcore-2.2) for logging and logs to **stdout** by default. You can customize the logging by providing your own ILoggingFactory when creating the `DevCycleLocalClient`.\n\n```csharp\nvar loggerFactory = LoggerFactory.Create(builder =\u003e\n{\n    builder\n        .AddConsole() // Configure the logger to output to the console\n        .SetMinimumLevel(LogLevel.Information); // Set the minimum log level to Information\n});\n\nclient = new DevCycleLocalClientBuilder()\n    .SetSDKKey(\"\u003cDEVCYCLE_SERVER_SDK_KEY\u003e\")\n    .SetOptions(options ?? new DevCycleLocalOptions())\n    .SetOptions(new DevCycleLocalOptions(configPollingIntervalMs: 60000, eventFlushIntervalMs: 60000))\n    .SetLogger(loggerFactory)\n    .Build();\n```\n\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevcyclehq%2Fdotnet-server-sdk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevcyclehq%2Fdotnet-server-sdk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevcyclehq%2Fdotnet-server-sdk/lists"}