{"id":18149251,"url":"https://github.com/jongio/azurite-table-tye","last_synced_at":"2025-09-05T01:49:25.251Z","repository":{"id":69183912,"uuid":"312014784","full_name":"jongio/azurite-table-tye","owner":"jongio","description":"This sample includes Project Tye, a .NET 5 console app, the new Azurite alpha with Table support referenced via image tag, and the new Azure Tables client library.","archived":false,"fork":false,"pushed_at":"2020-11-11T15:46:49.000Z","size":3,"stargazers_count":9,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-24T04:45:21.109Z","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/jongio.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":"2020-11-11T15:42:28.000Z","updated_at":"2023-08-24T09:04:49.000Z","dependencies_parsed_at":null,"dependency_job_id":"6eedde3c-d36f-469b-b471-a248ef3eb918","html_url":"https://github.com/jongio/azurite-table-tye","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jongio/azurite-table-tye","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jongio%2Fazurite-table-tye","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jongio%2Fazurite-table-tye/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jongio%2Fazurite-table-tye/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jongio%2Fazurite-table-tye/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jongio","download_url":"https://codeload.github.com/jongio/azurite-table-tye/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jongio%2Fazurite-table-tye/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273699718,"owners_count":25152285,"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","status":"online","status_checked_at":"2025-09-04T02:00:08.968Z","response_time":61,"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":[],"created_at":"2024-11-01T23:12:25.877Z","updated_at":"2025-09-05T01:49:20.235Z","avatar_url":"https://github.com/jongio.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Use the new Azurite Table Preview with Project Tye and the new Azure Tables Client Library\n\nWe just released the first alpha of [Azurite](https://github.com/Azure/Azurite/) with Table support and [Azure.Data.Tables 3.0.0-beta2](https://www.nuget.org/packages/Azure.Data.Tables).\n\nThis sample includes Project Tye, a .NET 5 console app, the new Azurite alpha with Table support referenced via image tag, and the new Azure Tables client library.\n\nHere's the tye.yaml\n```yaml\nname: azurite-table-tye\nservices:\n- name: azurite-table-tye\n  project: azurite-table-tye.csproj\n- name: azurite\n  image: mcr.microsoft.com/azure-storage/azurite:alpha\n  bindings:\n    - name: blob\n      port: 10000\n      containerPort: 10000\n      protocol: http\n    - name: queue\n      port: 10001\n      containerPort: 10001\n      protocol: http\n    - name: table\n      port: 10002\n      containerPort: 10002\n      protocol: http\n```\n\nHere's the app:\n```csharp\nvar tableClient = new TableClient(\n    new Uri(\"http://127.0.0.1:10002/devstoreaccount1\"),\n    \"people\",\n    new TableSharedKeyCredential(\n        \"devstoreaccount1\",\n        \"[see Program.cs for key]\")\n);\n\nawait tableClient.CreateIfNotExistsAsync();\n\nwhile (true)\n{\n    var response = await tableClient.AddEntityAsync(\n        new TableEntity(\"jong\", Guid.NewGuid().ToString())\n            {\n                {\"FirstName\", \"Jon\"}, \n                {\"LastName\", \"Gallant\"}\n            }\n    );\n    Console.WriteLine(response.Status);\n    await Task.Delay(TimeSpan.FromSeconds(1));\n}\n```\n\nGet it running:\n\n1. Install [.NET 5](https://dotnet.microsoft.com/download/dotnet/5.0)\n1. Install [Project Tye](https://aka.ms/tye)\n1. Install [Storage Explorer](https://azure.microsoft.com/en-us/features/storage-explorer/)\n1. Open the project.\n1. Open a terminal.\n1. Run `tye run`\n1. Open Storage Explorer\n1. Connect to Azurite via the 'Attach to a local emulator' option.\n1. Navigate to the people table and view the entities being inserted by the project.\n\n\n## Azurite Table Preview Notes\n\nGitHub Release: https://github.com/Azure/Azurite/releases/tag/v3.9.0-table-alpha.1\n\nGitHub Table Branch: https://github.com/Azure/Azurite/tree/table\n\nNpm:  https://www.npmjs.com/package/azurite/v/3.9.0-table-alpha.1\n- `npm install -g azurite@alpha` // alpha tag always points to latest alpha version\n- `npm install -g azurite@3.9.0-table-alpha.1`\n\nMCR:\n- `docker run -p 10000:10000 -p 10001:10001 -p 10002:10002 mcr.microsoft.com/azure-storage/azurite:alpha` // alpha tag always points to latest alpha version\n- `docker run -p 10000:10000 -p 10001:10001 -p 10002:10002 mcr.microsoft.com/azure-storage/azurite:3.9.0-table-alpha.1`\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjongio%2Fazurite-table-tye","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjongio%2Fazurite-table-tye","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjongio%2Fazurite-table-tye/lists"}