From c865d654a27766e1c5132496657380b6e547744c Mon Sep 17 00:00:00 2001 From: James Newton-King Date: Wed, 7 Aug 2019 12:26:38 +1200 Subject: [PATCH] Correct gRPC client method name (#13699) --- aspnetcore/grpc/basics.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aspnetcore/grpc/basics.md b/aspnetcore/grpc/basics.md index 0a5abb6a24..d7e1e792a4 100644 --- a/aspnetcore/grpc/basics.md +++ b/aspnetcore/grpc/basics.md @@ -58,7 +58,7 @@ For server-side assets, an abstract service base type is generated. The base typ [!code-csharp[](~/tutorials/grpc/grpc-start/sample/GrpcGreeter/Services/GreeterService.cs?name=snippet)] -For client-side assets, a concrete client type is generated. The gRPC calls in the *.proto* file are translated into methods on the concrete type, which can be called. For the `greet.proto`, the example described previously, a concrete `GreeterClient` type is generated. Call `GreeterClient.SayHello` to initiate a gRPC call to the server. +For client-side assets, a concrete client type is generated. The gRPC calls in the *.proto* file are translated into methods on the concrete type, which can be called. For the `greet.proto`, the example described previously, a concrete `GreeterClient` type is generated. Call `GreeterClient.SayHelloAsync` to initiate a gRPC call to the server. [!code-csharp[](~/tutorials/grpc/grpc-start/sample/GrpcGreeterClient/Program.cs?highlight=3-6&name=snippet)]