Using gRPC in ASP.NET Core
gRPC is a new way to build APIs based on contracts and binary serialization. This course will show you how to write and use these APIs in a variety of different clients.
What you'll learn
While other API techniques have their own benefits, gRPC represents a contract-based, high-performance way to build APIs for use inside the cloud and from a variety of different clients. In this course, Using gRPC with ASP.NET Core, you’ll learn to build your own gRPC endpoints. First, you’ll explore designing APIs with Protocol Buffers. Next, you’ll discover how to implement a service that implements the API contract. Finally, you’ll learn how to consume the gRPC API using C# and JavaScript. When you’re finished with this course, you’ll have the skills and knowledge of gRPC needed to build your own services
Table of contents
- Introduction 1m
- Setting up Your Machine 5m
- Preparing the Demo Project 4m
- Protocol Buffers (ProtoBuf) 12m
- Checkpoint 01 - Adding Properties to Protocol Buffer Messages 0m
- Implementing the Service 6m
- Checkpoint 02 - Creating a Service in Protocol Buffers 0m
- Wiring up gRPC to ASP.NET Core 7m
- Checkpoint 03 - Adding GRPC to ASP.NET Core 0m
- Checkpoint 04 - Map a GRPC Service to an URL 0m
- Exercise 01 - Creating Messages in Protocol Buffers 0m
- Exercise 02 - Implementing the Service in ASP.NET Core 0m
- What You've Learned 1m
- Introduction 1m
- Demo: Creating the Client Project 9m
- Demo: Implement the Worker 6m
- Checkpoint 05 - Create the GRPC Client 0m
- Checkpoint 06 - Using the GRPC Client 0m
- Exercise 03 - Implementing the GRPC Client 0m
- Demo: Creating the Python Client 6m
- Demo: Implementing the Python Client 5m
- Introducing gRPC-Web 8m
- Demo: Implement the JavaScript gRPC Client 13m
- Demo: Supporting gRPC-Web 3m
- Streaming Support in gRPC 9m
- Demo: Using Server-side Streaming 5m
- Checkpoint 07 - Adding a Streaming Service Call 0m
- Checkpoint 08 - Using a Streaming Service Call 0m
- What You’ve Learned 1m
- Introduction 0m
- ASP.NET Core Middleware 3m
- Checkpoint 09 - Adding Authorization Middleware 0m
- Checkpoint 10 - Adding Authorization to the GRPC Service 0m
- Demo: Use JSON Web Tokens 8m
- Demo: Use JWT in the Client 8m
- Checkpoint 11 - Using a JWT in the Client 0m
- How Do Certificates Work? 2m
- Demo: Create the Certificates 4m
- Demo: Enable Client Certificate Authentication 7m
- Demo: Use the Certificate in the Client 4m
- Exercise 04 - Securing GRPC 0m
- What We've Learned 2m