-
Course
- Core Tech
Fault Tolerant Web Service Requests with Polly
Polly is a resilience framework for .Net. With Polly, your applications will easily handle transient failures and longer outages in remote web services. This course will teach you how to use all the major features of Polly.
What you'll learn
Failures happen when calling remote services and handling these failures has never been easy. That was the case until the Polly project came along. Polly is a resilience framework for .Net. In this course, Fault Tolerant Web Service Requests with Polly, you will learn how to make your applications resilient to a wide range of failures and outages in remote services. First, you will learn to use the simple and very powerful retry policies. Next, you will see how to use some of the other policies offered by Polly like caching and fallback. You will also learn how to reuse policies across multiple applications and how to unit test everything. Finally, you will explore how to use the more advanced features of Polly - the circuit breaker and bulkhead isolation. By the end of the course, you will be able to use all the features of Polly to build robust applications that can tolerate short and long term outages in remote services.
Table of contents
- Version Check | 15s
- Introduction | 35s
- Calling Remote Services | 54s
- Course Overview | 55s
- Why Web Service Requests Fail | 1m 14s
- Resilience Strategies - The Big Picture | 28s
- Reactive Strategies - Responding to Problems | 1m 4s
- Proactive Strategies - Preventing Problems | 1m 11s
- Simple Demo of Polly Retries | 2m 47s
- Course Prerequisites | 50s
- What is a Resilience Framework? | 31s
- Using the Retry Policy | 7m 2s
- Polly Interfaces | 30s
- Using the Wait and Retry Policy | 3m 17s
- Using Delegates to Do More with Policies | 1m 5s
- How to Perform Reauthorization with a Retry When Needed | 3m 41s
- Returning a Default When the Request Fails with the Fallback Policy | 3m 39s
- Handling the HttpClient Timeout | 3m 18s
- Setting Your Own Timeout with Polly Timeouts | 57s
- Combining Timeouts, Retries, and Fallbacks | 6m
- Summary | 58s
About the author
Bryan Hogan has been working in the tech industry for the past 17 years, 12 of which are the C# .NET world. He hosts a podcast, interviewing people from around the world and writes a blog.
More Courses by Bryan