From 2b66c7748a1f1b57190195f9b08b0eff45b43d0d Mon Sep 17 00:00:00 2001 From: Fiyaz Bin Hasan Date: Tue, 5 Nov 2024 04:04:43 +0600 Subject: [PATCH] Update code-first.md Remove redundant code snippet for code-first GRPC --- aspnetcore/grpc/code-first.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/aspnetcore/grpc/code-first.md b/aspnetcore/grpc/code-first.md index 389a8b9199e7..c4eaf8a125de 100644 --- a/aspnetcore/grpc/code-first.md +++ b/aspnetcore/grpc/code-first.md @@ -89,9 +89,7 @@ A code-first gRPC client uses the service contract to call gRPC services. * Add a [Grpc.Net.Client](https://www.nuget.org/packages/Grpc.Net.Client) package reference. * Add a reference to the shared code-contract project. - [!code-csharp[](code-first/samples/6.x/GrpcGreeterClient/GrpcGreeterClient.csproj?highlight=10-13,15-17)] - -[!code-xml[](code-first/samples/6.x/GrpcGreeterClient/GrpcGreeterClient.csproj?highlight=10-13,15-17)] + [!code-xml[](code-first/samples/6.x/GrpcGreeterClient/GrpcGreeterClient.csproj?highlight=10-13,15-17)] * Update the client `program.cs`