Playback starts YouTube’s embedded player (privacy-enhanced mode).
How To Use HTTP CLIENT IN ASP NET CORE Applications | Getting Started With ASP.NET Core Series
ChannelRahul NathDescription from the creator
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.
🔗Are You Using HttpClient in The Right Way? - rahulpnath.com/blog/are_you_using_httpclient_in…
🔗HTTP Requests using IHttpClientFactory - docs.microsoft.com/en-us/aspnet/core/fundamenta…
🔗Issues with HttpClient - docs.microsoft.com/en-us/dotnet/architecture/mi…
🔗Netstat - docs.microsoft.com/en-us/windows-server/adminis…
🔗Source Code - rahulpnath.visualstudio.com/DefaultCollection/Y…
Additional Watching
📹Configuration in ASP NET Core - youtube.com/watch?v=5GlgHV_12-k
📹Dependency Injection in ASP NET Core - youtube.com/watch?v=YR6HkvNBpX4
📹ASP NET Core Series - youtube.com/playlist?list=PL59L9XrzUa-nqfCHIKaz…
Come say hi! ✋
🌍 Blog - rahulpnath.com/
✉ Subscribe to my Newsletter - rahulpnath.com/subscribe
🐦Twitter - twitter.com/rahulpnath
📸Instagram - instagram.com/rahulpnath/
🎥 Recording Setup and Workflow - rahulpnath.com/blog/youtube_setup_and_workflow/
Make sure to SUBSCRIBE to the channel. THANK YOU for helping me grow this channel !!
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.
🔗Are You Using HttpClient in The Right Way? - rahulpnath.com/blog/are_you_using_httpclient_in…
🔗HTTP Requests using IHttpClientFactory - docs.microsoft.com/en-us/aspnet/core/fundamenta…
🔗Issues with HttpClient - docs.microsoft.com/en-us/dotnet/architecture/mi…
🔗Netstat - docs.microsoft.com/en-us/windows-server/adminis…
🔗Source Code - rahulpnath.visualstudio.com/DefaultCollection/Y…
Additional Watching
📹Configuration in ASP NET Core - youtube.com/watch?v=5GlgHV_12-k
📹Dependency Injection in ASP NET Core - youtube.com/watch?v=YR6HkvNBpX4
📹ASP NET Core Series - youtube.com/playlist?list=PL59L9XrzUa-nqfCHIKaz…
Come say hi! ✋
🌍 Blog - rahulpnath.com/
✉ Subscribe to my Newsletter - rahulpnath.com/subscribe
🐦Twitter - twitter.com/rahulpnath
📸Instagram - instagram.com/rahulpnath/
🎥 Recording Setup and Workflow - rahulpnath.com/blog/youtube_setup_and_workflow/
Make sure to SUBSCRIBE to the channel. THANK YOU for helping me grow this channel !!
About this tutorial
Rahul Nath published this 20:11 video tutorial on October 10, 2020. It has been watched 56,531 times on YouTube.
- Channel
- Rahul Nath
- Category
- Howto & Style
- Duration
- 20:11
- Published
- October 10, 2020
- Views
- 56,531
- Likes
- 1,585
Tags
Share
This tutorial in other languages
- FRComment faire pour utiliser HTTP client ASP NET DE BASE Applications | Mise en route avec ASP.NET Core Series
- ESCómo utilizar HTTP CLIENTE EN ASP netos básicos Aplicaciones | Primeros pasos con ASP.NET Core Series
- PTComo aplicativos para usar HTTP cliente no ASP NET NÚCLEO | Começando com o ASP.NET Core Series
- ITCome utilizzare HTTP cliente in ASP netti di base Applicazioni | Come iniziare con ASP.NET Core Series
- DEWie zu verwenden HTTP-Client-IN ASP NET CORE Anwendungen | Erste Schritte mit ASP.NET Core-Serie
- NLHoe te gebruiken HTTP CLIENT IN ASP NET kernapplicaties | Aan de slag met ASP.NET Core Series
- RUКак использовать HTTP КЛИЕНТА В ASP NET CORE Приложения | Начало работы с ядром серии ASP.NET
- PLJak korzystać HTTP klienta w ASP NET CORE Aplikacje | Pierwsze kroki z ASP.NET Core Series
- JAどのようにするために使用するHTTPクライアントで、ASP NETのコアアプリケーション| ASP.NETコアシリーズ入門
- ARكيفية استخدام HTTP العميل في ASP NET CORE تطبيقات | الابتداء مع ASP.NET سلسلة الأساسية
- HIकैसे करने के लिए उपयोग HTTP क्लाइंट में एएसपी नेट कोर एप्लीकेशन | ASP.NET कोर श्रृंखला के साथ शुरूआत
- IDCara Aplikasi Untuk Gunakan HTTP KLIEN DI ASP NET CORE | Memulai Dengan ASP.NET Inti Series