打开 关闭

Gateway - MicroService app settings #6939


User avatar
0
DominaTang 创建

In MicroService architect, Gateway plays the role 'Gateway for backend', each MicroService just need to know the gateway Url. And it's gateway forward the request from one Micro Service to corresponding target MicroService.

However, each MicroService has RemoteServices section, in appsettings.json as below. In this case, when MicroService A calls MicroService B's method, it's directly access MicroService B's Url or still forward the request to the gateway?

"RemoteServices": { "LxxxService": { "BaseUrl": "https://localhost:44502/", "UseCurrentAccessToken": "false" }, .. }


1 答案
  • User Avatar
    0
    Anjali_Musmade 创建
    支持团队 Support Team Member

    Hello,

    please check https://docs.abp.io/en/commercial/latest/startup-templates/microservice/synchronous-interservice-communication if it helps you.

    Thanks

Made with ❤️ on ABP v8.2.0-preview Updated on 三月 25, 2024, 15:11