gRPC [C#] Master Class: Build Modern API & Microservices

Better than REST API! Build a fast scalable HTTP/2 API for a .NET microservice with gRPC, Protocol Buffers (protobuf)

4.51 (969 reviews)
Udemy
platform
English
language
Software Engineering
category
gRPC [C#] Master Class: Build Modern API & Microservices
6,878
students
4 hours
content
Jan 2023
last update
$74.99
regular price

What you will learn

Learn the gRPC theory to understand how gRPC works

Compare gRPC and REST API paradigm

Write your gRPC service definition in .proto files

Generate Server & Client Code in C# using the protoc gRPC Plugin

Implement Unary, Server Streaming, Client Streaming & Bi-Directional Streaming API

Practice your learning with Exercises & Solutions

Implement advanced concepts such as Error Handling, Deadlines & SSL Security

Implement a full CRUD API on top of MongoDB

Get pointers to expand your learning journey and get inspired by real world gRPC services

Why take this course?

gRPC is a new and modern framework for building scalable, modern and fast API. It is leveraged by many top tech companies such as Google, Square & Netflix and enables programmers to write micro-services in any language they want while keeping the ability to easily create communications between these services. It relies on Protocol Buffers for the transport mechanism and Service Definition language. 

In this course, we are going to explore in-depth, with hands-on lectures, all the aspects to get started with gRPC

This course is hands-on and you will implement two services: Greet and a Calculator Service

In just a few hours, you will know everything you need to know to write your .proto files, generate code in your Favourite Programming, and implement your services, servers, and client in .NET. There will be plenty of hands-on lectures and exercises for you to practice your newly acquired skills. 

It's time to say goodbye to slow and clunky REST API, and opt-in for a better API framework


gRPC C# Master Class is the best way to get a great overview of all the possibilities offered by gRPC with your favorite language

> Learn the gRPC theory to understand how gRPC works
> Compare gRPC and REST API paradigm
> Write your gRPC service definition in .proto files
> Generate Server & Client Code in C#
> Implement Unary, Server Streaming, Client Streaming & Bi-Directional Streaming API
> Practice your learning with Exercises & Solutions
> Implement advanced concepts such as Error Handling, Deadlines & SSL Security
> Implement a full CRUD API on top of MongoDB
> Get pointers to expand your learning journey and get inspired by real-world gRPC services

Note: This course expects you have some preliminary knowledge about Protocol Buffers and C# and .NET . 


Section outline:

  • gRPC Course Overview: Get an understand of the course objectives, how the course is structured, download the course code and get ready!

  • [Theory] gRPC Internals Deep Dive: Learn how gRPC works behind the scenes. Learn about HTTP/2, Protocol Buffers efficiencies, and the differences of gRPC and REST.

  • [Hands-On] gRPC Project Overview & Setup: Setup your project and learn how to trigger code generation

  • [Hands-On] gRPC Unary: API description & implementation

  • [Hands-On] gRPC Server Streaming: API description & implementation

  • [Hands-On] gRPC Client Streaming: API description & implementation

  • [Hands-On] gRPC Bi-Directional Streaming: API description & implementation

  • [Hands-On] gRPC Advanced Features Deep Dive: Advanced features such as Error Handling, Deadlines, SSL Security. 

  • Next Steps: Some useful real-world links & where to take your learning from here


Instructor

My name is Clément Jean, and I'll be your instructor in this course. I teach about gRPC and Protocol Buffers with my focus always on helping my students improve their professional proficiencies.

With development being a widely accepted and pursued career, I've decided it's time for students to properly learn about gRPC. So, let’s kick start the course! You are in good hands!


This Course Also Comes With:

  • Lifetime Access to All Future Updates

  • A responsive instructor in the Q&A Section

  • Links to interesting articles, and lots of good code to base your next template onto

  • Udemy Certificate of Completion Ready for Download

  • A 30 Day "No Questions Asked" Money Back Guarantee!

I hope to see you inside the course!

Content

gRPC Course Overview

Course Introduction
gRPC Introduction
Course Objective
About your instructor
Important Message

Code Download

Code Download

[Theory] gRPC Internals Deep Dive

Why this section?
Protocol Buffers & Language Interoperability
HTTP/2
4 Types of gRPC APIs
Scalability in gRPC
Security in gRPC (SSL)
gRPC vs REST
Section Summary - why use gRPC
Quiz on gRPC

[Hands-On] gRPC Project Overview & Setup

Visual studio project setup
Dummy service code generation
GreetServer BoilerPlate Code
GreetClient Boilerplate Code

[Hands-On] gRPC Unary

What's an Unary API?
Greet API Definition
Unary API Server Implementation
Unary API Client Implementation
[Exercise] Sum API
[Solution] Sum API

[Hands-On] gRPC Server Streaming

What's a Server Streaming API?
GreetManyTimes API Definition
Server Streaming API Server Implementation
Server Streaming API Client Implementation
[Exercise] PrimeNumberDecomposition API
[Solution] PrimeNumberDecomposition API

[Hands-On] gRPC Client Streaming

What's a Client Streaming API?
LongGreet API Definition
Client Streaming API Server Implementation
Client Streaming API Client Implementation
[Exercise] ComputeAverage API
[Solution] ComputeAverage API

[Hands-On] gRPC Bi-Directional Streaming

What's a Bi-Directional Streaming API?
GreetEveryone API Definition
Bi-Directional Streaming API Server Implementation
Bi-Directional Streaming API Client Implementation
[Exercise] FindMaximum API
[Solution] FindMaximum API

[Hands-On] gRPC Advanced Features Deep Dive

[Theory] Errors in gRPC
[Hands-On] Errors implementation
[Theory] Deadlines
[Hands-On] Deadlines
[Theory] SSL Security
[Hands-On] SSL Security
[Demo] Language Interoperability
gRPC Reflection & Evans CLI

[Hands-On] CRUD API with MongoDB

Install MongoDB
Install MongoDB - Windows Instructions
Install MongoDB UI - Robo 3T
Blog Service Setup
CreateBlog Server
CreateBlog Client
ReadBlog Server
ReadBlog Client
UpdateBlog Server
UpdateBlog Client
DeleteBlog Server
DeleteBlog Client
ListBlog Server
ListBlog Client
Evans CLI test with CRUD

Next Steps

gRPC Services in the Real Word
Congrats & Next Steps
THANK YOU!
Bonus Lecture: Special discounts for our other courses

Screenshots

gRPC [C#] Master Class: Build Modern API & Microservices - Screenshot_01gRPC [C#] Master Class: Build Modern API & Microservices - Screenshot_02gRPC [C#] Master Class: Build Modern API & Microservices - Screenshot_03gRPC [C#] Master Class: Build Modern API & Microservices - Screenshot_04

Reviews

Marcelo
October 12, 2023
I think it could be using a more complex example utilizing microservices as well. But in general, it was a very nice course to be introduced into gRPC and Protobuf world.
Matthias
September 29, 2023
One of the better courses here on Udemy, although not perfect. I still give 5 stars to distinguish it from all the other *beep* courses here that for some reason still get good reviews. Nice learning experience; I now have enough to continue. At some point things get a bit repetitive (sections 6 - 8), because a lot of the boilerplate code is entered again and again. In the SSL section it gets a bit fuzzy. Too many details are missing. Section 10 does not really add something that was not already covered before.
Craig
July 13, 2023
Great course with great examples. A deeper dive in some best practices would be great, though I can look into that on my own. Things like how to manage proto files that are shared across repos. (e.g. a Java service that is called by a C# application). Overall, I'm very happy with the course.
Souvik
July 1, 2023
contains very basic details. In the example client and server were created from scratch but it is not shown how to use gRPC in existing microservice. The points mentioned in the video is found in Microsoft learning. link -> https://learn.microsoft.com/en-us/aspnet/core/tutorials/grpc/grpc-start?view=aspnetcore-6.0&tabs=visual-studio
Jovan
April 10, 2023
It's an ok course if you want to get into gRPC and get a very basic overview. It's horribly outdated though, a lot of the code was useless and that caused some modules ( SSL ) to be hassle to implement, while making some just obsolete. I think MongoDB was a terrible choice for the CRUD part, since Entity Framework and Sqlite are a lot faster to implement. Theory was done by one instructor and coding by another. The course length is very short, and there are incredibly more useful and longer courses for the same price ( or less ), making this a bad value for money.
Charles
March 5, 2023
very informative and appropriately paced course, I learn so much on GRPC thanks for this course, highly recommended for anyone who want to pick up GRPC first time
Cristian
February 23, 2023
The instructor has good knowledge of Protocol Buffer, and the course was more clear and more straightforward.
Ezra
February 20, 2023
I would like to have a better deep-dive journey because most examples are quite trivial. Moreover, the course was not updated to more fresh versions of .Net. The topic of authentication was not covered at all, but I reckon that this is a crucial part of such a small course. Do not waste your money on that, rather go to the official documentation examples and go one by one. It will serve you better. I had a lot of courses on Udemy during the past months and this definitely not the best in terms of price and value.
Subhrajit
November 30, 2022
Although I had already learned gRPC by experimenting with it when building a production component, I always felt like there were gaps. This course filled in those gaps and now I feel a lot more confident about both my understanding as well as ability to implement it. Great job Stephane and Clement. Cheers!
E.
October 27, 2022
Just amazing! My first contact with gRPC was in my job. I took this course as a primer, and got much more. Lots of deep gRPC knowledge, lots of examples, lots of tips, tricks and tools and last but not least, lots of internet links where to get further information. By the way, I got my job done, no question.
Stoyan
May 8, 2022
Very well explained, the demos are on point. After the course you will have good understanding about gRPC. Course also includes some qty of extra content, related peripherally to gRPC presented in short fashion which I didn't expect but found useful.
Syamlal
May 4, 2022
A great course for beginners in gRPC. I learnt a lot from this. Thank you for explaining the basic concepts with simple examples...
Brantley
May 2, 2022
It's a good basic overview but very dated. It's taught in .NET Framework which is 100% different than the .NET 5/6 examples. I bought the course to prepare for a new .NET 6 project I need to create but unfortunately, the NuGet packages, service registration, etc. have all changed in Core.
Zarotiadis
April 8, 2022
A bit outdated regarding the NET version used, but in general this is a well explained, thorough course with a good structure and a pace that anyone can follow.
Sahal
March 8, 2022
Easy to follow, sections are terse and give just enough info to get started on your own. My only wish is that the theory sections could be a little more in-depth. Personally, I enjoy understanding the tools at a much deeper level more than the implementation. With a better understanding of how gRPC works, fundamentally, it would help me make better design decisions for my applications/projects. Overall I recommend the course, especially for beginners.

Charts

Price

gRPC [C#] Master Class: Build Modern API & Microservices - Price chart

Rating

gRPC [C#] Master Class: Build Modern API & Microservices - Ratings chart

Enrollment distribution

gRPC [C#] Master Class: Build Modern API & Microservices - Distribution chart

Related Topics

2598384
udemy ID
10/9/2019
course created date
11/10/2019
course indexed date
Bot
course submited by