In keeping with .NET guidance, the ReportingService should not be creating HttpClient using new(), it should be using the IHttpClientFactory.
See https://learn.microsoft.com/en-us/dotnet/core/extensions/httpclient-factory for more information.
The rationale is that we cannot simply enable resilience on the API without writing a custom wrapper and/or implementation to do so.
See https://learn.microsoft.com/en-us/dotnet/core/resilience/http-resilience for more information.
In keeping with .NET guidance, the ReportingService should not be creating HttpClient using new(), it should be using the IHttpClientFactory.
See https://learn.microsoft.com/en-us/dotnet/core/extensions/httpclient-factory for more information.
The rationale is that we cannot simply enable resilience on the API without writing a custom wrapper and/or implementation to do so.
See https://learn.microsoft.com/en-us/dotnet/core/resilience/http-resilience for more information.