Ouvert Fermé

Gateway - MicroService app settings #6939


User avatar
0
DominaTang créé

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 Réponse (s)
  • User Avatar
    0
    Anjali_Musmade créé
    Équipe d'assistance 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 mars 25, 2024, 15:11