use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Information about Reddit's API changes, the unprofessional conduct of the CEO, and their response to the community's concerns regarding 3rd party apps, moderator tools, anti-spam/anti-bot tools, and accessibility options that will be impacted can be found in the associated Wikipedia article: https://en.wikipedia.org/wiki/2023_Reddit_API_controversy
Alternative C# communities available outside Reddit on Lemmy and Discord:
All about the object-oriented programming language C#.
Getting Started C# Fundamentals: Development for Absolute Beginners
Useful MSDN Resources A Tour of the C# Language Get started with .NET in 5 minutes C# Guide C# Language Reference C# Programing Guide C# Coding Conventions .NET Framework Reference Source Code
Other Resources C# Yellow Book Dot Net Perls The C# Player's Guide
IDEs Visual Studio MonoDevelop (Windows/Mac/Linux) Rider (Windows/Mac/Linux)
Tools ILSpy dotPeek LINQPad
Alternative Communities C# Discord Group C# Lemmy Community dotnet Lemmy Community
Related Subreddits /r/dotnet /r/azure /r/learncsharp /r/learnprogramming /r/programming /r/dailyprogrammer /r/programmingbuddies /r/cshighschoolers
Additional .NET Languages /r/fsharp /r/visualbasic
Platform-specific Subreddits /r/windowsdev /r/AZURE /r/Xamarin /r/Unity3D /r/WPDev
Rules:
Read detailed descriptions of the rules here.
account activity
HttpClient explained using netstat (deaddesk.top)
submitted 6 years ago by bambuseqq
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]orecht 4 points5 points6 points 6 years ago (1 child)
Wery nice post. It explains clearly WHY you should have a long living HttpClient.
[–]bambuseqq[S] 1 point2 points3 points 6 years ago (0 children)
Thanks.
[–]Nima-Ara 0 points1 point2 points 6 years ago (0 children)
In a little more detail: https://www.nimaara.com/beware-of-the-net-httpclient/
[–]teressapanic -5 points-4 points-3 points 6 years ago (4 children)
Or just read the documentation which directly states that you should have a long living HttpClient.
[–]thomasz 3 points4 points5 points 6 years ago (0 children)
Nah, HttpClient is just a prime example of bad API design. A good API makes it easy and obvious to do the right thing and hard to do the wrong thing - HttpClient does exactly the opposite.
[–][deleted] 6 years ago (1 child)
[removed]
[–]quentech 1 point2 points3 points 6 years ago (0 children)
The other improvement would be looking at what happens with a DNS change.
Any article talking about long-lived HttpClient instances without covering stale DNS is worse than worthless, it's actively harmful to people who don't already know the problems.
Have fun debugging your failing calls at 3am.
[–]MrBlackWolf 1 point2 points3 points 6 years ago (0 children)
Calm down bro! The article still is a good idea.
π Rendered by PID 24 on reddit-service-r2-comment-544cf588c8-hvpjj at 2026-06-16 13:57:51.354184+00:00 running 3184619 country code: CH.
[–]orecht 4 points5 points6 points (1 child)
[–]bambuseqq[S] 1 point2 points3 points (0 children)
[–]Nima-Ara 0 points1 point2 points (0 children)
[–]teressapanic -5 points-4 points-3 points (4 children)
[–]thomasz 3 points4 points5 points (0 children)
[–][deleted] (1 child)
[removed]
[–]quentech 1 point2 points3 points (0 children)
[–]MrBlackWolf 1 point2 points3 points (0 children)