{"id":19099667,"url":"https://github.com/kdcllc/dotnet-cosmosdb","last_synced_at":"2026-04-29T16:04:28.547Z","repository":{"id":96458979,"uuid":"226857967","full_name":"kdcllc/dotnet-cosmosdb","owner":"kdcllc","description":"DotNet Core Cosmosdb sample code","archived":false,"fork":false,"pushed_at":"2019-12-09T12:54:24.000Z","size":14,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-03T01:54:13.738Z","etag":null,"topics":["azure-cosmos-db","cosmosdb","dotnetcore","dotnetcore-tool"],"latest_commit_sha":null,"homepage":null,"language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kdcllc.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2019-12-09T11:44:41.000Z","updated_at":"2020-07-13T21:46:38.000Z","dependencies_parsed_at":null,"dependency_job_id":"acb316db-574f-471a-96dd-77a87b569e44","html_url":"https://github.com/kdcllc/dotnet-cosmosdb","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/kdcllc%2Fdotnet-cosmosdb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kdcllc%2Fdotnet-cosmosdb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kdcllc%2Fdotnet-cosmosdb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kdcllc%2Fdotnet-cosmosdb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kdcllc","download_url":"https://codeload.github.com/kdcllc/dotnet-cosmosdb/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240156681,"owners_count":19756815,"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":["azure-cosmos-db","cosmosdb","dotnetcore","dotnetcore-tool"],"created_at":"2024-11-09T03:52:09.994Z","updated_at":"2026-04-29T16:04:23.520Z","avatar_url":"https://github.com/kdcllc.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DotNetCore CosmosDb Sample\n\nCommand line utility to execute SQL commands against CosmosDb\n\n- System.CommandLine.Experimental\n- Microsoft.Extensions.Hosting\n\n## Configuration\n\nMake sure that Azure Vault contains the following entries\n\n```\n    CosmosDb:Endpoint\n    CosmosDb:AuthKey\n    CosmosDb:DatabaseName\n    CosmosDb:ContainerName\n```\n\n## Run\n\n[Making a tiny .NET Core 3.0 entirely self-contained single executable](https://www.hanselman.com/blog/MakingATinyNETCore30EntirelySelfcontainedSingleExecutable.aspx)\n\n```bash\n    dotnet tool install dotnet-warp -g\n    # https://docs.microsoft.com/en-us/dotnet/core/rid-catalog?WT.mc_id=blog-blog-timheuer#windows-rids\n     \n    dotnet build -c Release -r win-x64\n    dotnet publish -c Release --self-contained -r win-x64\n    \n    # or\n\n    # https://docs.microsoft.com/en-us/dotnet/core/rid-catalog?WT.mc_id=blog-blog-timheuer#linux-rids\n    dotnet build -c Release -r linux-x64\n    dotnet publish -c Release --self-contained -r linux-x64\n\n    dotnet run -a:https://{vaultName}.vault.azure.net/ -q:\"SELECT * FROM c where c.Book ='Moby'\" del\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkdcllc%2Fdotnet-cosmosdb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkdcllc%2Fdotnet-cosmosdb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkdcllc%2Fdotnet-cosmosdb/lists"}