asp.net core - HttpClient & IHttpClientFactory Tutorial & Tips (+ System.Net.Http.Json)
Raw Coding
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/T0shik/raw-coding-101-aspnetcore-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 ... https://www.youtube.com/watch?v=B_4X3ltGCbY
281039205 Bytes