Skip to main content
Stack Overflow for Teams is now Stack Internal: See how we’re powering the human intelligence layer of enterprise AI. Read more >
Filter by
Sorted by
Tagged with
Best practices
2 votes
4 replies
65 views

How do I parse multipart content from an HttpResponseMessage?

I am using HttpClient in .NET 9 to get content that has a JSON part along with a base-64 encoded file. Reading the content as a string, I don't see a clear format that would ensure consistent parsing ...
NeartCarp's user avatar
  • 227
Best practices
0 votes
2 replies
41 views

Most efficient way to manage the lifecycle of HttpClient in many wrapper classes?

Our application is somewhat of a middleman that transforms data from numerous APIs. Initially to simplify things, we wrote a bunch of specific clients which wrap an instance of HttpClient created in ...
MetallicHydrogen's user avatar