{"id":21322113,"url":"https://github.com/scale-tone/cosmos-db-demo","last_synced_at":"2025-03-15T22:44:53.138Z","repository":{"id":263394030,"uuid":"888033443","full_name":"scale-tone/cosmos-db-demo","owner":"scale-tone","description":null,"archived":false,"fork":false,"pushed_at":"2024-11-18T17:05:19.000Z","size":11,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-22T11:48:01.241Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/scale-tone.png","metadata":{"files":{"readme":"README.md","changelog":"ChangeFeedTest.cs","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":"2024-11-13T17:40:32.000Z","updated_at":"2024-11-18T17:05:22.000Z","dependencies_parsed_at":"2024-11-19T03:55:22.885Z","dependency_job_id":null,"html_url":"https://github.com/scale-tone/cosmos-db-demo","commit_stats":null,"previous_names":["scale-tone/cosmos-db-demo"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scale-tone%2Fcosmos-db-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scale-tone%2Fcosmos-db-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scale-tone%2Fcosmos-db-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scale-tone%2Fcosmos-db-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/scale-tone","download_url":"https://codeload.github.com/scale-tone/cosmos-db-demo/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243801612,"owners_count":20350106,"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":[],"created_at":"2024-11-21T20:13:20.268Z","updated_at":"2025-03-15T22:44:53.098Z","avatar_url":"https://github.com/scale-tone.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cosmos-db-demo\n\nA bunch of .NET code samples demonstrating best parts of Cosmos DB.\n\nThe code uses identity-based authentication when connecting to Cosmos DB, so you will need to explicitly give yourself permissions via e.g. Azure Powershell:\n```\n\t$accountName = \"my-cosmos-db-account-name\"\n\t$resourceGroupName = \"my-resource-group-name\"\n\t$principalId = \"my-entra-id-user-object-id\"\n\n\tNew-AzCosmosDBSqlRoleAssignment `\n\t\t-AccountName $accountName `\n\t\t-ResourceGroupName $resourceGroupName `\n\t\t-RoleDefinitionId \"00000000-0000-0000-0000-000000000002\" `\n\t\t-Scope \"/\" `\n\t\t-PrincipalId $principalId\n```\n\nInstrumented with OpenTelemetry and Zipkin exporter, so to see the traces just run Zipkin:\n```\n  curl -sSL https://zipkin.io/quickstart.sh | bash -s\n  java -jar zipkin.jar\n```\nalong the way.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscale-tone%2Fcosmos-db-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fscale-tone%2Fcosmos-db-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscale-tone%2Fcosmos-db-demo/lists"}