Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Related Rants
Fuck HttpClient
Once upon a time there was WebClient and WebRequest, everything was simple and life back then was just 3 lines of code. But Microsoft came and decided to ruin everything with HttpClient. WHY IS HTTPCLIENT AN ASS TO DISPOSE? why cant you just close the connection and not fucking leave us with a TIME_WAIT. oh yes it doesn't support ftp and you'll recommend us to use a third party lib? fuck it if you want us to move to something better don't leave us with a half-assed HttpClient. but what about if you have 1000 proxies? oh boy I do love to initialize 1000 HttpClients with different HttpClientHandlers, want only to use HttpClient each request? goodluck filling your ports with TIME_WAIT seriously microsoft
rant
c#