Sander ten Brinke

Building resilient .NET applications for the modern age

What if a simple network glitch could cascade and crash your entire system? Learn how to build truly resilient .NET applications that recover gracefully from failure.

Building resilient .NET applications for the modern age
#1about 4 minutes

The high cost of ignoring system resilience

Most technology leaders are aware of resilience issues but fail to act, despite outages costing millions of dollars.

#2about 5 minutes

Understanding the key layers of application resilience

True resilience requires a multi-layered approach, considering infrastructure, architecture choices like microservices, and application-level communication patterns.

#3about 5 minutes

Introducing the Polly library for .NET resilience

The Polly library provides a fluent, thread-safe way to implement resilience strategies, avoiding manual and error-prone retry logic.

#4about 2 minutes

Implementing the retry pattern with exponential backoff

Configure the retry strategy to handle transient failures with exponential backoff and jitter to avoid creating traffic spikes.

#5about 3 minutes

Preventing cascading failures with the circuit breaker

Use the circuit breaker pattern to temporarily stop sending requests to a failing service, giving it time to recover.

#6about 2 minutes

Managing request throughput with the rate limiter

Control the number of concurrent requests sent to a downstream service using Polly's rate limiter to prevent overloads.

#7about 1 minute

Integrating Polly resilience patterns with HttpClient

Use Polly's extension methods to add resilience handlers directly to the HttpClient pipeline, separating resilience configuration from business logic.

#8about 2 minutes

Validating system robustness with chaos engineering

Intentionally inject failures, latency, and unexpected outcomes into your system using chaos engineering to test if your resilience strategies work as expected.

#9about 6 minutes

Simplifying setup with Microsoft's resilience extensions

The Microsoft.Extensions.Http.Resilience package provides a pre-configured, standard resilience pipeline for HttpClient, simplifying setup and promoting best practices.

Related jobs
Jobs that call for the skills explored in this talk.

Featured Partners

From learning to earning

Jobs that call for the skills explored in this talk.