Skip to content

Guides

These guides provide complete, step-by-step scenarios for common resilience tasks. Each guide takes you from the initial problem to a working implementation.

If you are new to NResilience, see Key concepts to learn about policies, verdicts, and the library's core vocabulary.

GuideGoal
Retry an HTTP callEnsure an API call succeeds despite occasional transient failures.
Protect a dependencyUse a circuit breaker to prevent a flaky dependency from affecting the rest of your application.
Resource isolation with bulkheadsPrevent one slow dependency from monopolizing your application's resources.
Configure from appsettingsUpdate policy settings, such as deadlines, without redeploying the application.
Test a policyWrite fast, reliable tests to verify that your policies behave as expected.

Released under the MIT License.