Beginning gRPC on ASP.NET Core Tools for Developers Working with Distributed Web and Cloud Applications

  • Fiodar Sazanavets

Your browser needs to be JavaScript capable to view this video

Try reloading this page, or reviewing your browser settings

You're watching a preview of subscription content. Log in to check access

Learn how to use the ASP.NET Core implementation of gRPC, enabling components of your distributed applications to effectively communicate with each other using minimal code. Since the release of ASP.NET Core 3, gRPC has been fully integrated with the system libraries found in ASP.NET Core.

gRPC is a network communication technology originally developed by Google. It works over the HTTP2 protocol and it is primarily used to enable communication between microservices in distributed clusters.

The beauty of gRPC is that it simplifies all the complex implementation details. You’ll see that for a software developer, gRPC can feel like writing code on the client application that can call endpoints on the server application directly, as if both of these are just parts of the same monolithic application. This makes gRPC incredibly easy to use and is the reason why it has become so popular over the last couple of years.

What You Will Learn

  • Discover the core gRPC concepts that apply to all implementations

  • Create a Protobuf message structure

  • Use gRPC on ASP.NET Core

  • Secure gRPC endpoints

  • Apply logging and diagnostics on ASP.NET services that use gRPC

  • Update gRPC services to make them backwards-compatible

Who This Video Is For

ASP.NET developers who primarily work on distributed web and cloud applications. It is recommended that the viewer understand the fundamentals of ASP.NET Core.

This video teaches how to use the ASP.NET Core implementation of gRPC, enabling components of your distributed applications to effectively communicate with each other using minimal code. gRPC has been fully integrated with the system libraries found in ASP.NET Core.

About The Author

Fiodar Sazanavets

Fiodar Sazanavets is an experienced senior software developer whose main area of expertise is Microsoft stack, which includes ASP.NET (Framework and Core), SQL Server, Azure, and various front-end technologies. His experience stems from working in water engineering, and the financial and defense industries. He has played key roles in various projects and his duties included performing design tasks and assessing skills assessments. He has also performed an array of technical duties on clients’ sites, such as in-house development tasks and software installation. Fiodar has developed and published a number of Android apps and he regularly writes about software on his personal website, Scientific Programmer, as well as several other well-regarded technical websites.

 

Supporting material

View source code at GitHub.

About this video

Author(s)
Fiodar Sazanavets
DOI
https://doi.org/10.1007/978-1-4842-6211-5
Online ISBN
978-1-4842-6211-5
Total duration
53 min
Publisher
Apress
Copyright information
© Fiodar Sazanavets 2020

Related content

Video Transcript

[MUSIC PLAYING]

In this video, you will learn about gRPC on ASP.NET Core. Essentially, it is a communication protocol for remote procedure calls. gRPC is a communication mechanism that was developed by Google. gRPC is managed by Google, and it has libraries in many languages. And until recently, since ASP.NET Core was released, there was a library available for it by NuGet package. However, since ASP.NET Core version 3 has been released, gRPC has been fully integrated in ASP.NET Core itself.

And in this video, you will learn how to use this specific integrated version. My name is Fiodar Sazanavets. I’m a senior software developer specializing in dot net. I have over eight years of professional software development experience. Throughout my career, I’ve developed many different types of software. I have designed and developed distributed cloud applications. I developed both back end and front end components. I keep myself up to date with the current trends in software development industry. I worked in a number of different industries, which include fintech, water engineering, railway information systems, retail, and some others. I have also authored several software development courses, and I regularly write about software development on scientific program and .NET.

The structure of our video will be as follows. In the first segment of the video, we will have a look at the overview of gRPC on ASP.NET Core. In the segment number two, we will have a fairly detailed look at Protobuf, which is gRPC communication protocol. In this segment number three, we will have a look at different types of gRPC remote procedure calls. In the segment number four, you will learn how to secure your gRPC application. In the fifth segment, we will have a look at login and diagnostics. In the final segment of our video, we will summarize what we have learned in the video.