What problem does it solve?
This Skill solves the problem of creating robust and efficient gRPC handlers in .NET applications, leveraging Wolverine's gRPC features and the proto-first development model.
Core Features & Use Cases
- Proto-first Development: Utilizes .proto files for service contracts and automatically generates C# classes.
- Wolverine Integration: Seamlessly integrates with Wolverine's event-driven architecture for request handling and error handling.
- Unary and Server-Streaming: Supports unary and server-streaming gRPC requests out of the box.
- Middleware Support: Offers middleware for validation, before/after request processing, and exception handling.
- Rich Error Details: Supports rich error details as per Google's AIP-193 for enhanced error communication.
- Use Case: Build a ride-sharing platform where you can create gRPC services for dispatch, pricing, and telemetry with built-in validation, error handling, and robust request handling.
Quick Start
Author a gRPC handler using Wolverine by defining the .proto file for your service, creating a stub class with the [WolverineGrpcService] attribute, and implementing the handler logic in the handler's own file.