dotnet core Prefix your http requests without touching the actual HttpClient code Prefix your http calls without modifying the actual HttpClient code using a custom DelegatingHandler
httpclient How to test configuration of HttpClient when using AddHttpClient Shows how to test the code written inside the AddHttpClient extension method
httpclient You're (probably still) using HttpClient wrong and it is destabilizing your software I try to optimize the fetching and deserialization of data in dotnet core as much as possible. HttpClientFactory and streams are my best friends