dotnet-grpc

Generate C# code from proto files for gRPC services and clients.

71|10|Updated Feb 11, 2026
One-click install
npx skills add https://github.com/wshaddix/dotnet-skills --skill dotnet-grpc-wshaddix
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dotnet-grpc
Source: https://github.com/wshaddix/dotnet-skills/tree/main/skills/dotnet-grpc
Command: npx skills add https://github.com/wshaddix/dotnet-skills --skill dotnet-grpc-wshaddix

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill provides comprehensive guidance and code examples for building robust gRPC services and clients within the .NET ecosystem, covering the entire development lifecycle from proto definition to deployment.

Core Features & Use Cases

  • gRPC Service Development: Implement gRPC services in ASP.NET Core, handling all four streaming patterns.
  • Client Implementation: Create gRPC clients using Grpc.Net.Client, including DI integration and resilience patterns.
  • Cross-cutting Concerns: Implement authentication, load balancing, health checks, interceptors, and error handling.
  • Browser Support: Configure gRPC-Web for browser-based clients.
  • Use Case: Develop a high-performance microservice for real-time data streaming using gRPC, ensuring secure communication and efficient load distribution.

Quick Start

Use the dotnet-grpc skill to generate C# code from a proto file for a gRPC server.

Frequently Asked Questions about dotnet-grpc

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build a gRPC service in ASP.NET Core?

Building a gRPC service in ASP.NET Core involves defining a proto file, generating C# code, and implementing the service base class. This skill facilitates the entire development lifecycle from proto definition to ASP.NET Core hosting.

What is the best way to handle gRPC streaming in .NET?

Handling gRPC streaming in .NET involves implementing all four streaming patterns within your ASP.NET Core service. This covers server, client, bidirectional, and unary streaming to support real-time data streaming use cases.

Does gRPC work with browser clients in .NET?

Yes, gRPC works with browser clients in .NET by configuring gRPC-Web. This enables browser-based clients to communicate directly with your gRPC services, bypassing standard HTTP/2 browser limitations.

How do I implement authentication and load balancing for .NET gRPC clients?

Implementing authentication and load balancing for .NET gRPC clients involves using Grpc.Net.Client and integrating with .NET DI and resilience patterns. This ensures secure communication and efficient load distribution across microservices.

Can I use interceptors and health checks in .NET gRPC services?

Yes, you can use interceptors and health checks in .NET gRPC services to manage cross-cutting concerns. This allows you to monitor service availability and intercept calls for logging or validation before execution.