I have 2 GRPC services. And want create service which release Gateway Routing pattern. How i can do it ?
i use: .net 7 C# 11
I tried to ask a question to chagpt and he gave this result: but google doesn't know any exact entry for the method =))
services.AddGrpcGateway(options =>
{
options.AddGateway("books", gateway =>
{
gateway.AddEndpoint("localhost:5001");
});
options.AddGateway("users", gateway =>
{
gateway.AddEndpoint("localhost:5003");
});
});