{"id":28766343,"url":"https://github.com/qandeel-codes/dotnet-grpc-sample","last_synced_at":"2026-05-10T02:04:07.168Z","repository":{"id":293814007,"uuid":"984537950","full_name":"qandeel-codes/dotnet-grpc-sample","owner":"qandeel-codes","description":"A simple and well-structured example demonstrating how to implement gRPC services in .NET, including server and client communication.","archived":false,"fork":false,"pushed_at":"2025-05-17T09:48:55.000Z","size":14,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-17T10:31:26.495Z","etag":null,"topics":["dotnet","grpc","grpc-client","grpc-server","grpc-service","json-transcoding"],"latest_commit_sha":null,"homepage":"","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/qandeel-codes.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,"zenodo":null}},"created_at":"2025-05-16T05:12:35.000Z","updated_at":"2025-05-17T09:51:01.000Z","dependencies_parsed_at":"2025-05-17T10:31:49.634Z","dependency_job_id":null,"html_url":"https://github.com/qandeel-codes/dotnet-grpc-sample","commit_stats":null,"previous_names":["qandeel-codes/dotnet-grpc-sample"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/qandeel-codes/dotnet-grpc-sample","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qandeel-codes%2Fdotnet-grpc-sample","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qandeel-codes%2Fdotnet-grpc-sample/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qandeel-codes%2Fdotnet-grpc-sample/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qandeel-codes%2Fdotnet-grpc-sample/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/qandeel-codes","download_url":"https://codeload.github.com/qandeel-codes/dotnet-grpc-sample/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qandeel-codes%2Fdotnet-grpc-sample/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260355369,"owners_count":22996463,"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":["dotnet","grpc","grpc-client","grpc-server","grpc-service","json-transcoding"],"created_at":"2025-06-17T12:00:59.738Z","updated_at":"2026-05-10T02:04:07.158Z","avatar_url":"https://github.com/qandeel-codes.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# .NET gRPC Sample\n\nThis repository contains a simple yet comprehensive example of using **gRPC** with **.NET**. It demonstrates how to build and run a basic gRPC server and client using .NET 9 with Protobuf for defining service contracts.\n\n## 📌 Features\n\n- ✅ Server and client implementation in .NET\n- ✅ Strongly-typed gRPC communication using Protocol Buffers\n- ✅ gRPC JSON transcoding\n\n## 🧰 Technologies Used\n\n- .NET 9\n- gRPC\n- Protocol Buffers (.proto files)\n- JSON transcoding\n\n## 🏗️ Project Structure\n\nToDoGrpc/\n├── ToDoGrpc.Server/ # gRPC service implementation\n├── ToDoGrpc.Client/ # Console gRPC client to consume the service\n\n## 🚀 Getting Started\n\n### Clone the repository\n\n```bash\ngit clone https://github.com/qandeel-codes/dotnet-grpc-sample.git\ncd dotnet-grpc-sample\n```\n\n### Database setup\n\n```bash\ncd GrpcSample.Server\ndotnet ef database update\n```\n\n### Run the Server\n\n```bash\ndotnet run\n```\n\n### Run the Client\n\nIn a new terminal:\n\n```bash\ncd GrpcSample.Client\ndotnet run\n```\n\nYou should see client-server communication in the terminal output.\n\n## 📄 License\n\nThis project is open-source and available under the [MIT License](https://en.wikipedia.org/wiki/MIT_License).\n\n## 🙌 Acknowledgements\n\n- Official [gRPC for .NET documentation](https://learn.microsoft.com/en-us/aspnet/core/grpc/)\n- Protobuf [Language Guide](https://protobuf.dev/programming-guides/)\n- Official [gRPC JSON transcoding](https://learn.microsoft.com/en-us/aspnet/core/grpc/json-transcoding?view=aspnetcore-9.0)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqandeel-codes%2Fdotnet-grpc-sample","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fqandeel-codes%2Fdotnet-grpc-sample","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqandeel-codes%2Fdotnet-grpc-sample/lists"}