POLLY - RESILIENCY and FAULT HANDLING With HTTP Client | Getting Started With ASP.NET Core Series

Rahul Nath
Rahul Nath
22.9 هزار بار بازدید - 4 سال پیش - An application that depends on
An application that depends on external services has to be sensitive to transient faults that can occur. These faults include momentary loss of network connection to the external services, temporary unavailability of a service, timeouts when the service is busy, etc. These faults are usually self-correcting, which means if we retry the same request to the service with a slight delay it's likely to be successful.

An application that depends on external services has to be sensitive to transient faults that can occur. These faults include momentary loss of network connection to the external services, temporary unavailability of a service, timeouts when the service is busy, etc. These faults are usually self-correcting, which means if we retry the same request to the service with a slight delay it's likely to be successful.

In this video, let's learn about Polly a .NET resilience and transient fault handling library that allows developers to express various resilience policies in a fluent and thread-safe manner. I will use Fiddler to simulate errors with external API (a weather API in this example) and show you how to gracefully handle these errors using Polly. I will show examples of using Automatic Retry, circuit breaker, and timeout resilience policies.

🔗 Source Code - https://rahulpnath.visualstudio.com/Y...
🔗 Polly and .NET CORE - https://bit.ly/aspnetpolly
🔗Fiddler - https://www.telerik.com/fiddler
🔗Polly - https://github.com/App-vNext/Polly

Additional Watching
📹 How To Use HTTP CLIENT IN ASP NET CORE Applications - How To Use HTTP CLIENT IN ASP NET COR...
📹ASP NET Core Series - ASP.NET Core

Come say hi! ✋
🌍 Blog - https://rahulpnath.com/
✉ Subscribe to my Newsletter - https://www.rahulpnath.com/subscribe
🐦Twitter - Twitter: rahulpnath
📸Instagram - Instagram: rahulpnath

🎥 Recording Setup and Workflow - https://www.rahulpnath.com/blog/youtu...

Make sure to SUBSCRIBE to the channel. THANK YOU for helping me grow this channel !!
4 سال پیش در تاریخ 1399/07/24 منتشر شده است.
22,930 بـار بازدید شده
... بیشتر