Preface
This book explains how to use all the fundamental components of gRPC on .NET. As well as covering the core technical functionality of gRPC, this book also explains the best practices of using it.
gRPC is an efficient mechanism of communication over the web that was originally developed by Google. It has now been accepted as one of the web standards. As it runs over HTTP/2, it is much faster than the standard HTTP communication. gRPC is especially suitable for facilitating direct communication between microservices inside a distributed application.
RPC stands for remote procedure call, so applying it in the code to call endpoints on a remote server is just as easy as calling functions and methods inside an application. gRPC is standardized, so it's possible to find a suitable implementation of it in any modern programming language. Your distributed application does not have to have every component written in the same language. All services will still work together, regardless of which language they are written in.
Developers working with .NET will be able to put their knowledge to work with this practical guide to using gRPC. This book provides a hands-on approach to the implementation and the associated methodologies and will have you up and running and productive in no time. You'll start with the fundamentals of gRPC and how to use it inside .NET apps. Along with learning technical details, you'll explore best practices for performance and more. Next, you'll focus on scaling a gRPC app. Finally, you'll use different call types that gRPC supports and apply authentication and authorization to gRPC endpoints.
By the end of this book, you will be able to use gRPC in .NET applications to enable direct communication between microservices.