Azure-docs: For HttpClient, recommend using HttpClientFactory

Created on 19 Jul 2019  Â·  4Comments  Â·  Source: MicrosoftDocs/azure-docs

As per https://docs.microsoft.com/en-us/dotnet/standard/microservices-architecture/implement-resilient-applications/use-httpclientfactory-to-implement-resilient-http-requests


Document Details

⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Pri2 assigned-to-author azure-functionsvc doc-enhancement doc-idea triaged

Most helpful comment

@IanKemp Thanks for the feedback! I believe this is definitely a better way to do it and with dependency injection introduced, we could inject it as well (and potentially the other clients mentioned in this doc as well).

We are assigning this issue to the content author for further review and to update the doc accordingly.

All 4 comments

@IanKemp Thank you for your feedback. We will investigate and update the thread further.

@IanKemp Thanks for the feedback! I believe this is definitely a better way to do it and with dependency injection introduced, we could inject it as well (and potentially the other clients mentioned in this doc as well).

We are assigning this issue to the content author for further review and to update the doc accordingly.

@craigshoemaker can you take a look at this issue since you are documenting the DI capabilities of .NET Functions?

Thanks.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jamesgallagher-ie picture jamesgallagher-ie  Â·  3Comments

bdcoder2 picture bdcoder2  Â·  3Comments

DeepPuddles picture DeepPuddles  Â·  3Comments

Agazoth picture Agazoth  Â·  3Comments

bityob picture bityob  Â·  3Comments