AspNetCore.Docs
AspNetCore.Docs copied to clipboard
How to add multi grpc client with same channel/handler/intercepter/config?
Description
gRPC client factory integration in .NET This article have not add grpc clients with same channel. It just have single grpc client.
[在此处输入反馈]
Page URL
https://learn.microsoft.com/zh-cn/aspnet/core/grpc/clientfactory?view=aspnetcore-7.0
Also:
https://learn.microsoft.com/aspnet/core/grpc/clientfactory?view=aspnetcore-7.0
Content source URL
https://github.com/dotnet/AspNetCore.Docs/blob/main/aspnetcore/grpc/clientfactory.md
Document ID
caebee8f-f4aa-17a4-3681-d10c4695e9c0
Article author
JamesNK
@JamesNK, could you take a look to verify if anything needs to change here? The central idea behind the client code example was that the client sample could be consumed directly in the customer's own types using dependency injection but I'm honestly not sure how to handle the question above as it relates to that example design.