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 0m
- Introduction 1m
- Calling Remote Services 1m
- Course Overview 1m
- Why Web Service Requests Fail 1m
- Resilience Strategies - The Big Picture 0m
- Reactive Strategies - Responding to Problems 1m
- Proactive Strategies - Preventing Problems 1m
- Simple Demo of Polly Retries 3m
- Course Prerequisites 1m
- What is a Resilience Framework? 1m
- Using the Retry Policy 7m
- Polly Interfaces 1m
- Using the Wait and Retry Policy 3m
- Using Delegates to Do More with Policies 1m
- How to Perform Reauthorization with a Retry When Needed 4m
- Returning a Default When the Request Fails with the Fallback Policy 4m
- Handling the HttpClient Timeout 3m
- Setting Your Own Timeout with Polly Timeouts 1m
- Combining Timeouts, Retries, and Fallbacks 6m
- Summary 1m