ec47cfde8d | ||
---|---|---|
.. | ||
.vscode | ||
DependencyInjection | ||
Extensibility | ||
GenericPipelines | ||
Intro | ||
Retries | ||
Directory.Build.props | ||
Directory.Build.targets | ||
README.md | ||
Samples.sln |
README.md
Polly Samples
This repository contains a solution with basic examples demonstrating the creation and utilization of Polly strategies.
Intro
- This section serves as an introduction to Polly. It demonstrates how to useResiliencePipelineBuilder
to create aResiliencePipeline
, which can be used to execute various user-provided callbacks.GenericPipelines
- This example showcases how to useResiliencePipelineBuilder<T>
to create a genericResiliencePipeline<T>
.Retries
- This part explains how to configure a retry resilience strategy.Extensibility
- In this part, you can learn how Polly can be extended with custom resilience strategies.DependencyInjection
- This section demonstrates the integration of Polly withIServiceCollection
.
These examples are designed as a quick-start guide to Polly. If you wish to explore more advanced scenarios and further enhance your learning, consider visiting the Polly-Samples repository.