How To Use HTTP CLIENT IN ASP NET CORE Applications | Getting Started With ASP.NET Core Series

preview_player
Показать описание
Hi Friends, The original and well-known HttpClient class can be easily used, but in some cases, it isn't being properly used by many developers. There are different issues that you can run into when instantiating and using the HttpClient class directly in your application code. You can run into multiple open connections, socket exhaustion, failure
to handle underlying DNS changes, etc. To address all these issues, .NET Core has the IHttpClientFactory interface that can be used to
configure and create HttpClient instances.

In this video, I will walk you through the common mistakes that we run into when creating and managing HttpClient instances ourselves.
I will show how you netstat to inspect the underlying socket connections that are opened when we create HttpClient instances and how the code we write affects it. I will then show you how to fix those using the IHttpClientFactory and the different consumption patterns
available - Basic, Named, and Typed client instances.

Additional Watching

Come say hi! ✋

Make sure to SUBSCRIBE to the channel. THANK YOU for helping me grow this channel !!
Рекомендации по теме
Комментарии
Автор

Hey mate… you have compressed all the knowledge in 20 minutes, a single source of truth .. bless you buddy

manikchauhan
Автор

Simple, clean and clear. Thanks for the sharing your knowledge.

anandvijayan
Автор

Can't thank you more, You are a savior.Thank you for teaching the concepts crystal clear.

sruthivasudevan
Автор

Rahul, i love the way you explain things simple clean and easy to remember.

dailytech
Автор

Your content is very informative, easy to understand and goes directly to the point. Thank you very much for lending us your time to share this knowledge.

herbertpaes
Автор

Daaaamn Rahul, no wonder you got the MVP title. That was super clear video. Any question that I started to have through the video, you answered it immediately. Thank you :)

DaniLearnsIT
Автор

These videos are really helpful, I didn't know about typed clients

gregorywilson
Автор

This is the best explanation I have heard so far on Http Client. Thanks!!!

manjeetlama
Автор

Awesome content....keep making videos like..this and make more ... I get more info and understand than any other tutorials/videos...

kumar_codes
Автор

Thank you for this video sir. This is the most informative video and tutorial that I have watched this week. Thank you for sharing this knowledge.

jeodazang
Автор

Nice video. Quick and invaluable information. Thank you for sharing.

e-cogs
Автор

Dear Mr. Nath,

Thank you so much for sharing your knowledge in this easy and structured way. If more experts would explain their thoughts in this way, the world would be a better place.

matthiasstahl
Автор

Thank you so much. All concepts you explain are very clear.

arjunanselvam
Автор

Came across your channel today and subscribed right away! Thanks for the clear explanation.

AnjuU-dbpn
Автор

Very helpful video. Thank you! I would love to know how to use an API Key and Secret to do a call.

jasonld
Автор

This is just perfect. There is a how and why and why not for each possibility. I would add a configuration setting for the base url.

santiagotapia
Автор

This is my first ever comment on YouTube, as I could not resist to praise your efforts. Your videos are so clean and much better than any other professional paid course. I wish you all the very best and success from my heart.

shaluatyagi
Автор

Rahul Nath you are the man! Thank you sir!!

Gioandgoose
Автор

Hi Rahul,
This video is really very much helpful for the better understanding. Thanks a lot for posting the video.

sureshp
Автор

I have recently subscribed to your channel and watching .net core videos . You have done great job teaching the concepts in very simple way and passed the knowledge step by step incrementally. Thanks for the videos .
Do you have any full course on .net core ?

kollus