Get Free Shipping on orders over $79
Microservices Communication in .NET Using gRPC : A practical guide for .NET developers to build efficient communication mechanism for distributed apps - Fiodar Sazanavets

Microservices Communication in .NET Using gRPC

A practical guide for .NET developers to build efficient communication mechanism for distributed apps

By: Fiodar Sazanavets

eText | 11 February 2022 | Edition Number 1

At a Glance

eText


$45.09

or 4 interest-free payments of $11.27 with

 or 

Instant online reading in your Booktopia eTextbook Library *

Why choose an eTextbook?

Instant Access *

Purchase and read your book immediately

Read Aloud

Listen and follow along as Bookshelf reads to you

Study Tools

Built-in study tools like highlights and more

* eTextbooks are not downloadable to your eReader or an app and can be accessed via web browsers only. You must be connected to the internet and have no technical issues with your device or browser that could prevent the eTextbook from operating.

Cover everything you need to know about using gRPC on .NET, including fundamentals, use cases, and best practices

Key Features

  • Explore the fundamental aspects of gRPC implementation on .NET
  • Discover best practices for using gRPC, including performance and scalability
  • Understand what the best contexts for using gRPC are and when it's not the best tool for the job

Book Description

gRPC is an efficient mechanism of communication over the web that was developed by Google. As gRPC runs over HTTP/2, it's much faster than the standard HTTP communication. gRPC is especially suitable for facilitating direct communication between microservices inside a distributed app. RPC stands for 'remote procedure calls', so applying it in code to call endpoints on a remote server is just as easy as calling functions and methods inside the app itself. gRPC is standardized, which makes it possible to find a suitable implementation of it in any modern programming language. Your distributed app does not need to have every component written in the same language. All services will continue to work together, regardless of the language they are written in.

Developers working with .NET will be able to put their knowledge to work with this guide to using gRPC. You'll start with the fundamentals of gRPC and how to use it inside .NET apps. As well as 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'll have practical gRPC knowledge and be able to use it in .NET apps to enable direct communication between microservices.

What you will learn

  • Get to grips with the fundamentals of gRPC and Protobuf
  • Explore use cases for gRPC on .NET
  • Understand gRPC best practices, such as API versioning and performance enhancement
  • Focus on mapping between gRPC and native C# code by applying well-known types
  • Secure gRPC communication inside a .NET application
  • Apply metrics, logging, and debugging to gRPC inside .NET

Who This Book Is For

.NET developers who are working with microservices and looking for efficient solutions to facilitate communication between services will find this gRPC book useful. Anyone who knows the fundamentals of .NET Core and is familiar with microservices architecture, but doesn't necessarily know about gRPC, will also find this book helpful.

Table of Contents

  1. Creating a basic gRPC application on ASP.NET Core
  2. When gRPC Is the Best Tool - And When It Isn't
  3. Protobuf - the communication protocol of gRPC
  4. Performance Best Practices for Using gRPC on .NET
  5. How to Apply Versioning to a gRPC API
  6. How to Scale a gRPC Application
  7. How to Use All Different Call Types That gRPC Supports
  8. Using Well-Known Types to Make Protobuf More Handy
  9. Securing gRPC Endpoints in Your ASP.NET Core Application with SSL/TLS
  10. Applying Authentication and Authorization to gRPC Endpoints
  11. Using Logging, Metrics, and Debugging in gRPC on .NET
on
Desktop
Tablet
Mobile

More in Microsoft Programming