5 HttpClient Best Practices Every .NET Dev Should Know
Автор: Milan Jovanović
Загружено: 2025-09-19
Просмотров: 18055
🚀 Support me on Patreon to access the source code: / milanjovanovic
☄️ Master the Modular Monolith Architecture: https://bit.ly/3SXlzSt
📌 Accelerate your Clean Architecture skills: https://bit.ly/3PupkOJ
Are you using HttpClient the wrong way in .NET? In this video, I’ll walk you through 5 HttpClient best practices every .NET developer should know. These tips will help you avoid common mistakes, improve performance, and write cleaner, more maintainable code.
What you’ll learn:
Why you should never create HttpClient directly
The difference between named and typed clients
How to add resilience policies (retries, circuit breakers, timeouts)
Using strongly typed responses with System.Text.Json
How service discovery in .NET Aspire removes hard-coded URLs
By the end, you’ll have a clear playbook for using HttpClient in production-ready .NET applications.
The Right Way To Use HttpClient In .NET
https://www.milanjovanovic.tech/blog/...
Extending HttpClient With Delegating Handlers in ASP.NET Core
https://www.milanjovanovic.tech/blog/...
How .NET Aspire Simplifies Service Discovery
https://www.milanjovanovic.tech/blog/...
Join my weekly .NET newsletter:
https://www.milanjovanovic.tech
Read my Blog here:
https://www.milanjovanovic.tech/blog
Subscribe for more:
/ @milanjovanovictech
Chapters

Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: