From 01bcaefa19d69ccc742ec2822520975fd1f9427d Mon Sep 17 00:00:00 2001 From: hello Date: Wed, 10 Jul 2024 16:38:44 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=B4=AD=E7=89=A9=E8=BD=A6?= =?UTF-8?q?=E5=BE=AE=E6=9C=8D=E5=8A=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- notes/helloshop/basket-service-grpc.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/notes/helloshop/basket-service-grpc.md b/notes/helloshop/basket-service-grpc.md index 6091a13..8cfdf30 100644 --- a/notes/helloshop/basket-service-grpc.md +++ b/notes/helloshop/basket-service-grpc.md @@ -6,6 +6,8 @@ gRPC 是一个高性能、开源和通用的 RPC 框架,由 Google 开发, gRPC 使用 Protocol Buffers 作为接口定义语言(IDL),Protocol Buffers 是一种轻便高效的结构化数据序列化方法,类似于 XML 或 JSON,但更小、更快、更简单。 +![basket-service-grpc](https://oss.xcode.me/notes/helloshop/basket-service-grpc.svg) + ## ASP.NET Core 中使用 gRPC 实现服务 定义一个 gRPC 服务,需要创建一个 gRPC 服务定义文件(.proto 文件),然后使用 gRPC 工具生成服务端和客户端代码。