Starts in:
1 DAY
20 HRS
29 MIN
29 SEC
Starts in:
1 D
20 H
29 M
29 S
Open Closed

Gateway - MicroService app settings #6939


User avatar
0
DominaTang created

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 Answer(s)
  • User Avatar
    0
    Anjali_Musmade created
    Support Team 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 v9.1.0-preview. Updated on November 20, 2024, 13:06