☄️ 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 without registration, duration hours minute second in high quality. This video was added by user Milan Jovanović 01 September 2023, don't forget to share it with your friends and acquaintances, it has been viewed on our site 15,490 once and liked it 667 people.