Blazor and Dragons! How to Consume gRPC - web From Blazor

added 27.06.2020 22:49

by Davide Guida from

This gives me the benefit of smaller messages: For those interested, here’s a nice article explaining the difference between unary and streamed calls.

csproj file: That GrpcServices=”Client” will basically tell Visual Studio to generate the client proxy classes for us.

So I wrote a simple Blazor webassembly gRPC client to display an archive of D&D classes.

Today we’re going to talk about how to consume a gRPC service from a Blazor client.

That’s actually the easy part: As you can see, the Client is injected and invoked during page initialization.