When following the instructions, I get an error on GrpcClient.Create. "GrpcClient" name does not exist
⚠Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
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.
Most helpful comment
I have the same issue.
GreeterClient does not exist ?!
This line does not compile:
var client = new Greeter.GreeterClient(channel);