🌶️ The reason you must use IHttpClientFactory, Bad HttpClient?!

Опубликовано: 09 Май 2026
на канале: Saeed Esmaeelinejad
2,606
123

Have you asked these questions:
Why instantiating HttpClient object can be dangerous for your application?
why do Microsoft docs say don't create HttpClient object every time?
It's all about TCP protocol standards!

In this video, I've tried to explain it in a simple way. So you can be sure after watching that, know well about the problem with HttpClient.

#dotnet #aspnetcore #csharp #httpclient #tcp

Moments:
00:00 - Intro
00:50 - Check the code base
01:10 - HttpClient object
03:47 - Run code and TCP logs
06:32 - TCP protocol and TIME_WAIT status
10:40 - Showing the actual issue of HttpClient
13:30 - How to solve

----------------------------------------
LinkedIn Profile:
  / sa-es-ir  

Github:
https://github.com/sa-es-ir