Home / Companies / Twilio / Blog / Post Details
Content Deep Dive

Building Resilient Service-to-Service Communications in ASP.NET Core with Polly, the .NET Resilience Framework

Blog post from Twilio

Post Details
Company
Date Published
Author
Bryan Hogan
Word Count
1,758
Language
English
Hacker News Points
-
Summary

This summary provides an overview of how to build resilient service-to-service communications in ASP.NET Core using Polly, a .NET resilience framework. The author creates two web services: an unreliable "temperature" service and a dependent "weather" service that calls the temperature service. The weather service uses a simple retry mechanism with Polly to make reliable requests to the temperature service. With just a few lines of code, the application becomes more fault-tolerant and can withstand failures in the network or other external factors. The author emphasizes that this is not the only type of retry used by Polly, but rather a basic example of how to get started with the framework.