© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2022
P. HimschootMicrosoft Blazorhttps://doi.org/10.1007/978-1-4842-7845-1_13

13. Efficient Communication with gRPC

Peter Himschoot1  
(1)
Melle, Belgium
 

Blazor WebAssembly applications that have the need to exchange large amounts of data will probably run into communication overhead when using REST. With gRPC, you can use a more efficient way to exchange data with the back end.

What Is gRPC?

Before we were using SOAP and REST, developers were using Remote Procedure Calls (RPC) to invoke methods in another process. We've seen how to communicate with REST APIs between two applications, but the serialization to and from JSON causes some overhead. This is mostly done ...

Get Microsoft Blazor: Building Web Applications in .NET 6 and Beyond now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.