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.
| Guide | Goal |
|---|---|
| Retry an HTTP call | Ensure an API call succeeds despite occasional transient failures. |
| Protect a dependency | Use a circuit breaker to prevent a flaky dependency from affecting the rest of your application. |
| Resource isolation with bulkheads | Prevent one slow dependency from monopolizing your application's resources. |
| Configure from appsettings | Update policy settings, such as deadlines, without redeploying the application. |
| Test a policy | Write fast, reliable tests to verify that your policies behave as expected. |
