Skip to content

kevi0x6e/test-polly-retry

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Test Polly Retry

Test project for example of using Polly Retry

Summary

Polly is a .NET library that includes Retry. It allows us to automatically retry failed operations, improving the reliability of our services. This strategy is particularly effective when combined with exponential backoff, as detailed in this Microsoft article.


Download and install

# Download
$ git clone https://github.com/kevi0x6e/test-polly-retry.git && cd test-polly-retry

# Install libs and dependencies
$ dotnet restore

# Build application
$ dotnet build

How to use

# Start
dotnet run api/api.csproj

Run on: localhost

How to test

In domain/Infrastructure/LocalExternalService, at line 20, you can pass the URL for testing


License

This work is licensed under MIT License.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages