Circuit breaker policy fine-tuning best practice

#559 – June 01, 2025

protect your services during instability

Circuit breaker policy fine-tuning best practice
8 minutes by Xin Lyu

Xin Lyu provides a comprehensive guide to implementing and fine-tuning the circuit breaker resilience policy in Polly for .NET applications. He explains how the circuit breaker temporarily halts failing operations to protect services during instability, detailing key configuration parameters. The article offers practical tuning recommendations to ensure sufficient coverage, avoid false positives, and enable timely recovery.

Make Your Mobile App a Moving Target and Leave Attackers Guessing
sponsored by Guardsquare

What if your mobile app could automatically change itself every time it ships, confusing attackers and rendering their tools useless? We’ll reveal an innovative approach that’s quietly disrupting how mobile apps are defended. It’s not another layer of protection, it’s a complete mindset shift. Register Now.

Converting a docker-compose file to .NET Aspire
18 minutes by Andrew Lock

Andrew demonstrates how to convert a docker-compose.yml configuration for the open-source mailing list manager listmonk into a .NET Aspire application. He successfully models both the PostgreSQL database and the listmonk app in Aspire, maintaining the same functionality while gaining the benefits of the .NET ecosystem.

How to get Windows 8.3 short file names
11 minutes by Nietras

Nietras shows how to work with Windows 8.3 short paths to overcome limitations with long file paths, particularly on network shares.

Using pattern matching in C# for performance optimization
3 minutes by Gérald Barré

Gérald demonstrates how using C# pattern matching syntax can lead to more optimized code than traditional methods. He compares three different ways to check if a version number matches specific values: using multiple OR conditions, pattern matching with the 'is' keyword, and switch expressions.

JWT Authention in .NET Core
4 minutes by Ravindra Devrani

Ravindra provides a step-by-step guide for creating a secure .NET 9 web API with JWT authentication. It covers project setup, JWT configuration, implementing token and user services, creating a login endpoint, and implementing role-based authorization with examples of protecting resources for specific roles.

And the most popular article from the last issue was:

newsletters