Open Closed

Replace API Web Gateway with Azure APIM + ABP.io #2655


User avatar
0
viswajwalith created
  • ABP Framework version: v5.3
  • UI type: MVC
  • DB provider: EF Core / MongoDB
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Exception message and stack trace:
  • Steps to reproduce the issue:"

Hi We would like to leverage the Azure APIM for the API's of our micro services.

Do u think adding the each micro service related API's into APIM and providing the end points in our WebGate way configuration make sense or is it better to replace the webgateway entirely with Azure APIM.

In both the scenarios how to pass the Token related to Azure APIM?

Do u have any specific guidelines/suggestions or we need to go with our custom approach? Thanks in advance.


3 Answer(s)
  • User Avatar
    0
    gterdem created
    Senior .NET Developer

    I have no experience nor knowledge about Azure APIM. Token is sent on the header automatically when you start the request from the application. If gateway doesn't manipulate the request headers and just redirects; there shouldn't be any problem.

  • User Avatar
    0
    viswajwalith created

    I have no experience nor knowledge about Azure APIM. Token is sent on the header automatically when you start the request from the application. If gateway doesn't manipulate the request headers and just redirects; there shouldn't be any problem.

    Ok, can you refer a code or sample if we would like to pass additional headers while redirecting to webapi

  • User Avatar
    0
    gterdem created
    Senior .NET Developer

    I have no experience nor knowledge about Azure APIM. Token is sent on the header automatically when you start the request from the application. If gateway doesn't manipulate the request headers and just redirects; there shouldn't be any problem.

    Ok, can you refer a code or sample if we would like to pass additional headers while redirecting to webapi

    You can use aspnet.core middleware by injecting httpContext and add response headers.

Made with ❤️ on ABP v9.1.0-preview. Updated on November 01, 2024, 05:35