The Ultimate Guide to gRPC in ASP.NET Core

Gain insights into using gRPC in ASP.NET Core. Discover remote procedures, Protobuf serialization, advanced features, and performance best practices to create low-latency, high-throughput applications.

Intermediate

58 Lessons

15h

Certificate of Completion

Gain insights into using gRPC in ASP.NET Core. Discover remote procedures, Protobuf serialization, advanced features, and performance best practices to create low-latency, high-throughput applications.

AI-POWERED

Explanations

AI-POWERED

Explanations

This course includes

72 Playgrounds
9 Quizzes

This course includes

72 Playgrounds
9 Quizzes

Course Overview

gRPC is a high-performance communication protocol that works over either HTTP/2 or HTTP/3. It can be used by any programming language and framework, including .NET. gRPC libraries with client and server components are included in ASP.NET Core—the main web development framework of .NET. In this course, you’ll walk through all key parts of using gRPC on .NET. Next, you’ll learn how to use all types of remote procedures supported by gRPC. Then, you’ll get familiar with Protobuf, which is the main message ser...Show More

What You'll Learn

Hands-on experience of setting up gRPC client and gRPC server in .NET projects

Working knowledge of Protobuf and extending its functionality

Advanced skills in gRPC in .NET, such as enabling gRPC in browsers

Familiarity with best practices of using gRPC in .NET

An understanding of non-standard gRPC usages, such as the code-first approach

What You'll Learn

Hands-on experience of setting up gRPC client and gRPC server in .NET projects

Show more

Course Content

1.

Basics of gRPC on .NET

Learn how to use gRPC for efficient communication in ASP.NET Core microservices.
2.

Overview of Protobuf

Discover the logic behind Protobuf's role in gRPC, scalar types, collections, maps, enumerations, and oneof fields.
3.

Extending Protobuf Functionality

Work your way through extending Protobuf functionality, managing nullable types, dates, dynamic types, references, and advanced features.
4.

gRPC Call Types

Find out about different gRPC call types and implementing streaming in ASP.NET Core.
5.

Configuring gRPC Applications

Map out the steps for configuring gRPC applications with advanced server-client settings.
6.

Scaling out gRPC Applications

6 Lessons

Tackle scaling gRPC apps with DNS, static, and custom load balancing solutions.
7.

Securing gRPC Applications

5 Lessons

Master the steps to secure gRPC communication using HTTPS, TLS/SSL, and Single Sign-On.
8.

Monitoring gRPC Applications

6 Lessons

Step through monitoring gRPC applications using effective logging, advanced techniques, and metrics.
9.

Advanced gRPC Usage

5 Lessons

Grasp the fundamentals of advanced gRPC in .NET, gRPC-Web, and code-first implementation.
10.

Conclusion

1 Lesson

Examine gRPC implementation in ASP.NET Core, covering setup, call types, security, and monitoring.
11.

Appendix

2 Lessons

Apply your skills to setting up a gRPC environment and projects locally in .NET.

Course Author

Trusted by 1.4 million developers working at companies

Anthony Walker

@_webarchitect_

Emma Bostian 🐞

@EmmaBostian

Evan Dunbar

ML Engineer

Carlos Matias La Borde

Software Developer

Souvik Kundu

Front-end Developer

Vinay Krishnaiah

Software Developer

Eric Downs

Musician/Entrepeneur

Kenan Eyvazov

DevOps Engineer

Anthony Walker

@_webarchitect_

Emma Bostian 🐞

@EmmaBostian

Hands-on Learning Powered by AI

See how Educative uses AI to make your learning more immersive than ever before.

Instant Code Feedback

Evaluate and debug your code with the click of a button. Get real-time feedback on test cases, including time and space complexity of your solutions.

AI-Powered Mock Interviews

Adaptive Learning

Explain with AI

AI Code Mentor