gRPC JSON transcoding

JSON transcoding allows you call gRPC methods with familiar HTTP concepts:

RESTful APIs for your ASP.NET Core gRPC services. No duplication!

gRPC loves REST
Try it now

Send a unary request to the Greeter gRPC service. The name is sent as a URL parameter.

Send a POST request to the Greeter gRPC service. JSON is sent in the request body.

View OpenAPI schema generated by Swashbuckle and send requests with Swagger UI.

Open Swagger UI

This website's source code on GitHub:

The service, Server/Services/GreeterService.cs, is unchanged. gRPC and REST from one service!

Find out more about using gRPC JSON transcoding here.