This is the code repository for Microservices Communication in .NET Using gRPC, published by Packt.
A practical guide for .NET developers to build efficient communication mechanism for distributed apps
This book shows you how to use the fundamental components of gRPC on .NET. In addition to covering the core technical functionality of gRPC, the book also explains best practices for using it optimally.
This book covers the following exciting features:
- Get to grips with the fundamentals of gRPC and Protobuf
- Debug gRPC components inside a .NET application to locate and fix errors
- Understand gRPC best practices, such as performance enhancement
- Effectively translate between gRPC and native C# code by applying well-known types
- Secure gRPC communication inside a .NET application
- Discover how to monitor gRPC on .NET by applying logging and metrics
If you feel this book is for you, get your copy today!
All of the code is organized into folders. For example, Chapter02.
The code will look like the following:
enum ClientStatus {
OFFLINE = 0;
ONLINE = 1;
BUSY = 2;
}
Following is what you need for this book: This book is for NET developers who are working with microservices and are looking for efficient solutions to facilitate communication between services using gRPC. Anyone who is familiar with microservices architecture and has knowledge of the fundamentals of .NET Core, but not necessarily of gRPC, will also find this book useful.
With the following software and hardware list you can run all code files present in the book (Chapter 1-10).
Chapter | Software required | OS required |
---|---|---|
1 | gRPC | Windows, Mac OS X, and Linux (Any) |
1 | gRPC client and server functionality on .NET 5 AND 6 | Windows, Mac OS X, and Linux (Any) |
1 | TLS/SSL | Windows, Mac OS X, and Linux (Any) |
1 | OpenID Connect and OAuth | Windows, Mac OS X, and Linux (Any) |
We also provide a PDF file that has color images of the screenshots/diagrams used in this book. Click here to download it.
Fiodar Sazanavets is an experienced lead software developer. His main areas of expertise are ASP.NET, SQL Server, Azure, Docker, Internet of Things, microservices architecture, and various frontend technologies. Fiodar built his software engineering experience while working in a variety of industries, including water engineering, financial, railway, and defense. He has played a leading role in various projects and, as well as writing software, his duties have included performing architectural tasks. Fiodar is passionate about teaching other people programming skills. He has published a number of programming courses on various online platforms. Fiodar regularly writes about software development on his personal website, scientificprogrammer.net.