Fault Tolerant Web Service Requests with Polly
By Bryan Hogan
Course info



Course info



Description
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.
Section Introduction Transcripts
Course Overview
Hello everyone, my name is Bryan Hogan. Welcome to my course, Fault Tolerant Web Service Requests with Polly. I am a software architect, podcaster, and blogger. I love learning new things, and I love talking about and writing about them. Polly is a resilience framework for .NET. When I started using Polly, I was blown away by what it could do and how easy it was to use. The Polly library has been downloaded over 2 million times and has an active developer community. Using Polly will make your web requests far more reliable and your applications much more stable. It does all of this with a minimal amount of code and is thread safe. You can use it with your .NET Core and Framework applications. In this course, I'm focusing on Polly and .NET Core 2 Web API applications, but almost everything I cover is applicable in Core 1 and Framework. I'm going to show you why web requests fail and why you need Polly. Then I'll get you coding with the simple, but super powerful Retry policy. I'll show you how to reuse your policies across multiple projects and applications and how to unit test your code before moving on to complex topics like caching, circuit breakers, and bulkhead isolation. By the end of this course, you will be able to use all the features of Polly to write rock-solid code, which not only keeps your application up, but also improves the performance and reliability of the services you call. Before beginning, you should be familiar with Web API and web services in general. I'll go through everything else you need to know. I hope you'll join me on this journey to learn Polly with the course Fault Tolerant Web Service Requests with Polly, at Pluralsight.