asp.net core – HttpClient & IHttpClientFactory Tutorial & Tips (+ System.Net.Http.Json)



asp.net core – HttpClient & IHttpClientFactory Tutorial & Tips (+ System.Net.Http.Json)

asp.net core - HttpClient & IHttpClientFactory Tutorial & Tips (+ System.Net.Http.Json)

Tutorial about how to use the HttpClient in an asp.net core app in various way. Going as far as setting up a simple micro services scenario as well as showing the System.Net.Http.Json package.

System.Net.Http.Json: https://www.nuget.org/packages/System.Net.Http.Json/3.2.0
My video about Middleware: https://www.youtube.com/watch?v=xWWj0zGKS-k
Source: https://github.com/raw-coding-youtube/dotnet-package-101-tutorials/tree/master/IHttpClientFactory

— Documentation —
How To Use Docs
https://docs.microsoft.com/en-us/aspnet/core/fundamentals/http-requests?view=aspnetcore-3.1

About the problem with HttpClient
https://docs.microsoft.com/en-us/dotnet/architecture/microservices/implement-resilient-applications/use-httpclientfactory-to-implement-resilient-http-requests

HttpMessageHandler (the thing that our middleware plugs into)
https://docs.microsoft.com/en-us/dotnet/api/system.net.http.httpmessagehandler?view=netcore-3.1

Shop πŸ›’ https://shop.raw-coding.dev
Twitch πŸŽ₯ https://www.twitch.tv/raw_coding
Discord πŸ’¬ https://discord.gg/R9A8yq4
Github πŸ›οΈ https://github.com/T0shik
Twitter πŸ“£ https://twitter.com/anton_t0shik
Instagram 🀳 https://www.instagram.com/anton_t0shik/

Patreon πŸ”— https://www.patreon.com/raw_coding
Donate πŸ”— https://streamelements.com/raw_coding/tip
Linode πŸ”— https://www.linode.com/rawcoding​

#csharp #aspnetcore

Comments are closed.