Issue with GrpcClient.Create
When following the instructions, I get an error on GrpcClient.Create. "GrpcClient" name does not exist
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
- ID: 1d298a6c-8ddc-dbc8-d219-0fa7138442c2
- Version Independent ID: b96be346-958a-cfcd-d80a-c352d64223e8
- Content: Create a .NET Core gRPC client and server in ASP.NET Core
- Content Source: aspnetcore/tutorials/grpc/grpc-start.md
- Product: aspnet-core
- Technology: aspnetcore-tutorials
- GitHub Login: @JunTaoLuo
- Microsoft Alias: johluo
Installed NuGet package is Grpc.Net.Client 0.2.23-pre1. In the sample folder I see that Grpc.Net.Client 0.1.22-pre2 is used ( xx\AspNetCore.Docs-master\AspNetCore.Docs-master\aspnetcore\tutorials\grpc\grpc-start\sample\GrpcGreeterClient ). When downgrading to that version, the issue is solved
Grpc.Net.Client is no longer a pre-release. The GrpcClient type still does not exist, and none of the documentation has been updated to remove that and replace it with whatever it is you're supposed to do now.
I have the same issue. GreeterClient does not exist ?!
This line does not compile:
var client = new Greeter.GreeterClient(channel);
+1, I have the same issue.
GrpcClient.Create has been removed in the latest version of Grpc.Net.Client. Use the client constructor with GrpcChannel.
I don't think this issue should have been closed, as the tutorial still said to call GrpcClient.Create. Sent pull request to fix.