diff --git a/aspnetcore/grpc/basics.md b/aspnetcore/grpc/basics.md index 7fd6ce1788..fd75a7102d 100644 --- a/aspnetcore/grpc/basics.md +++ b/aspnetcore/grpc/basics.md @@ -26,7 +26,7 @@ For example, consider the *greet.proto* file used in [Get started with gRPC serv * The `Greeter` service defines a `SayHello` call. * `SayHello` sends a `HelloRequest` message and receives a `HelloResponse` message: -[!code-proto[](~/tutorials//grpc/grpc-start/sample/GrpcGreeter/Protos/greet.proto)] +[!code-protobuf[](~/tutorials//grpc/grpc-start/sample/GrpcGreeter/Protos/greet.proto)] ## Add a .proto file to a C\# app diff --git a/aspnetcore/tutorials/grpc/grpc-start/sample/GrpcGreeter/Protos/greet.proto b/aspnetcore/tutorials/grpc/grpc-start/sample/GrpcGreeter/Protos/greet.proto index 75721ab7d1..10b4ca3ced 100644 --- a/aspnetcore/tutorials/grpc/grpc-start/sample/GrpcGreeter/Protos/greet.proto +++ b/aspnetcore/tutorials/grpc/grpc-start/sample/GrpcGreeter/Protos/greet.proto @@ -5,7 +5,7 @@ package Greet; // The greeting service definition. service Greeter { // Sends a greeting - rpc SayHello (HelloRequest) returns (HelloReply) {} + rpc SayHello (HelloRequest) returns (HelloReply) {}; } // The request message containing the user's name.