From 89ee0e26494b024cc6d45b5ebf3130cfdc38cb27 Mon Sep 17 00:00:00 2001 From: Poornima Nayar Date: Sat, 18 Sep 2021 22:06:47 +0100 Subject: [PATCH] Updated gRPC services. (#23349) Added a line about ServerCallContext --- aspnetcore/grpc/services.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/aspnetcore/grpc/services.md b/aspnetcore/grpc/services.md index df0eeef6df..9e95d89cde 100644 --- a/aspnetcore/grpc/services.md +++ b/aspnetcore/grpc/services.md @@ -78,6 +78,8 @@ public class GreeterService : GreeterBase } ``` +The `ServerCallContext` gives the context for a server-side call. + The service implementation is registered with the app. If the service is hosted by ASP.NET Core gRPC, it should be added to the routing pipeline with the `MapGrpcService` method. ```csharp