Using gRPC in ASP.NET Core 6
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 6, 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 3m
- Preparing the Demo Project 4m
- Protocol Buffers (ProtoBuf) 12m
- Implementing the Service 6m
- Wiring up gRPC to ASP.NET Core 7m
- What You've Learned 1m
- Checkpoint: Module 3: Adding Properties to Protocol Buffer Messages 0m
- Checkpoint: Module 3: Creating a Service in Protocol Buffers 0m
- Checkpoint: Module 3: Adding GRPC to ASP.NET Core 0m
- Checkpoint: Module 3: Map a GRPC Service to an URL 0m
- Exercise: Module 3: Creating Messages in Protocol Buffers 0m
- Exercise: Module 3: Implementing the Service in ASP.NET Core 0m
- Introduction 1m
- Demo: Creating the Client Project 9m
- Demo: Implement the Worker 6m
- 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
- What You’ve Learned 1m
- Checkpoint: Module 4: Create the GRPC Client 0m
- Checkpoint: Module 4: Using the GRPC Client 0m
- Checkpoint: Module 4: Adding a Streaming Service Call 0m
- Checkpoint: Module 4: Using a Streaming Service Call 0m
- Exercise: Module 4: Implementing the GRPC Client 0m
- Introduction 0m
- ASP.NET Core Middleware 3m
- Demo: Use JSON Web Tokens 8m
- Demo: Use JWT in the Client 8m
- How Do Certificates Work? 2m
- Demo: Create the Certificates 4m
- Demo: Enable Client Certificate Authentication 7m
- Demo: Use the Certificate in the Client 4m
- What We've Learned 2m
- Checkpoint: Module 5: Adding Authorization Middleware 0m
- Checkpoint: Module 5: Adding Authorization to the GRPC Service 0m
- Checkpoint: Module 5: Using a JWT in the Client 0m
- Exercise: Module 5: Securing GRPC 0m