✅ please take a look
Stack Overflow
Httpclient reusing causes issue with different lifetime in .net
I ran into a problem and haven't found an answer yet
In short, we made a typed http client and injected it into the singleton service. everything seemed to work fine. Now we call this service inside
4 Replies
$details
When you ask a question, make sure you include as much detail as possible. Such as code, the issue you are facing, what you expect the result to be, what .NET version you are using and what platform/environment (if any) are relevant to your question. Upload code here https://paste.mod.gg/, save, and copy the link into chat for others to see your shared code! (see $code for more information on how to paste your code)
Nobody is going to browse through a StackOverflow post
Unknown User•3w ago
Message Not Public
Sign In & Join Server To View