Base solution for your next web application
Open Closed

How to consume external service in application service layer? #10702

dzungle created

Hello support team, We are using aspnetzero version 10.4 (netcore & angular). We need to consume an external service (rest api) in the application service layer. Could you please show us the best practice to do it in aspnetzero? Thank you in advance.

1 Answer(s)
  • 0
    musa.demir created

    Hi @dzungle We may refer you to use IHttpClientFactory, see official documentation: