gRPC Service with .NET 7
In this video we build a gRPC service with 5 methods: Create, Read (single), List (multiple), Update and Delete. We then employ JSON transcoding (a new feature added in .NET 7) to allow our gRPC service to act as a REST based API. This allows web-based endpoints to consume our service, while at the same time continuing to allow native gRPC clients to consume as well.
⏲️ Time Codes ⏲️
- 0:33 - Welcome
- 2:00 - gRPC Overview
- 5:08 - Scaffold the prject
- 9:58 - Test "greeter" service with Postman
- 12:32 - Add package dependencies
- 14:48 - Create the Model
- 16:38 - Create DB Context & migrations
- 22:37 - Define the protobuf file
- 32:39 - Build the first service method
- 40:55 - Test method with postman
- 42:52 - Read method
- 48:42 - List method
- 52:39 - Update method
- 59:14 - Delete method
- 1:03:24 - Add the annotation files
- 1:06:07 - Annotate the first gRPC method
- 1:09:26 - Annotate remaining methods
- 1:12:42 - Test with Postman
- 1:16;00 - Patreon supporter credits
مطالب مشابه
- اشتراکها
دوره ساخت قدم به قدم یک برنامهی NET MAUI.اشتراکها
دوره مقدماتی NET 7.اشتراکها
دوره 9 ساعته Clean Architecture + CQRSاشتراکها
دوره مقدماتی #Cاشتراکها
دوره 8 ساعته ASP.NET Core Razor Pagesاشتراکها
دوره 6 ساعته Blazor WebAssembly و Web API با NET 6.اشتراکها
آیندهی gRPC در دات نتاشتراکها
Postman و پشتیبانی از gRPCاشتراکها
دوره 3 ساعته PostgreSQLاشتراکها
دوره پیاده سازی minimal API با دات نت 7