C
C#2y ago
honk

❔ Does WebClient have the same socket exhaustion problem like HttpClient?

title
4 Replies
Yawnder
Yawnder2y ago
@honk The HttpClient doesn't inherently have a problem, it's the way some people instantiate it that is a problem. Since WebClient became outdated in .Net 6, I would advice against using it.
Angius
Angius2y ago
WebClient is just a shittier version of HttpClient without proper async support
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Accord
Accord2y ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.
Want results from more Discord servers?
Add your server
More Posts
❔ SerilogLet's say i have a following log: `Logger.Information("You have earn {amount}{currency}", 10, "$")` ❔ proceduresHow do I declare a procedure or a function, I'm in a lesson but they only showed me how to do it in ✅ Consuming REST API in MAUII'm pretty new to MAUI and I want to make an app that gets some data from a REST API and presents itHelp refactor please? I might have missed something big here [Answered]is there maybe a better way of writing this? ```cs foreach (Experience experience in User.Profile.Ex❔ Models data is not showing in view with help of ViewDataI have created model and passed its data with ViewData like this- Controller Code--> IEnumerable<Se✅ Software architecture for front-end translationsI've an .NET 7 Blazor WebAssembly Hosted web application meant to be deployed in a industrial enviro❔ Help with designing a functional container objectHi, I could use some input for a functional container/result object I'm working on. I want it (the s❔ Enumerable.Current is not null in debug mode but assigns null to variableI know I'm not exactly following the best practices with the reader but this code should work none tJSON Array to build a complex object isn't letting me create multiple different properties inside itHi! I'm having an issue serializing a JSON object to create a Microsoft Band WebTile. Here is my cod❔ Proper mocking for Unit Testing (NUnit)```csharp public class TargetServiceSetEndDateAsTwoMonthsOut : PreProcessorAction<CreateTargetServic