☄️ Master the Modular Monolith Architecture: https://bit.ly/3SXlzSt
📌 Accelerate your Clean Architecture skills: https://bit.ly/3PupkOJ
🚀 Support me on Patreon to access the source code: / milanjovanovic
HttpClient allows you to send HTTP requests to external services. But do you know how to add middleware to an outgoing request? Middleware allows you to add behavior before or after the request. And you can also do that with HttpClient requests using custom message handlers. Find out how in this video.
Join my weekly .NET newsletter:
https://www.milanjovanovic.tech
Read my Blog here:
https://www.milanjovanovic.tech/blog
Subscribe for more:
/ @milanjovanovictech
Chapters
0:00 Taking a look at the typed HttpClinet
1:40 Adding authentication headers using DelegatingHandler
6:52 Creating logging middleware with a DelegatingHandler
10:27 Resilient DelegatingHandler with retries using Polly
Watch video Middleware Pattern For HttpClient With Delegating Handlers online, duration hours minute second in high quality that is uploaded to the channel Milan Jovanović 01 September 2023. Share the link to the video on social media so that your subscribers and friends will also watch this video. This video clip has been viewed 15,490 times and liked it 667 visitors.