Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use IHttpClientFactory Instead of Directly Constructing HttpClient #9

Open
halforbit opened this issue Jun 29, 2023 · 0 comments
Open
Assignees

Comments

@halforbit
Copy link
Owner

This article outlines the motivations for the move:
https://learn.microsoft.com/en-us/dotnet/architecture/microservices/implement-resilient-applications/use-httpclientfactory-to-implement-resilient-http-requests

Unfortunately, this is only supported in .NET Core 2.1 , so to retain backwards compatability, this will need to be switched off of target framework, with legacy .NET Framework 4.x continuing to use the existing pattern.

@halforbit halforbit self-assigned this Jun 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant