This is my sample gRPC app with dotnet.
docker build -t my-dotnet-grpc .
You can not start ASP.Net Core gRPC app on macOS.
// Additional configuration is required to successfully run gRPC on macOS.
// For instructions on how to configure Kestrel and gRPC clients on macOS, visit https://go.microsoft.com/fwlink/?linkid=2099682
docker run -p 50051:80 my-dotnet-grpc
Install grpcurl before checking.
grpcurl -proto Protos/greet.proto -plaintext -d '{"name": "kemokemo"}' localhost:50051 greet.Greeter/SayHello
Expected result:
{
"message": "Hello kemokemo"
}