Skip to content

Commit

Permalink
Use polly 8.1.0 (#71)
Browse files Browse the repository at this point in the history
* Bump Polly version

* Fix the readmes regarding exposed endpoint quantity
  • Loading branch information
peter-csala authored Nov 1, 2023
1 parent 1a54420 commit e8bddea
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
4 changes: 2 additions & 2 deletions PollyDemos/PollyDemos.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Polly" Version="8.0.0" />
<PackageReference Include="Polly.RateLimiting" Version="8.0.0" />
<PackageReference Include="Polly.Core" Version="8.1.0" />
<PackageReference Include="Polly.RateLimiting" Version="8.1.0" />
<Using Include="Polly" />
</ItemGroup>
</Project>
9 changes: 5 additions & 4 deletions PollyTestWebApi/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,13 +59,14 @@ flowchart LR

## Structure

- The [`Program.cs`](Program.cs) contains the majority of the codebase
- the rate limiting policy definition
- the controllers registration
- and it exposes the last two endpoint via Minimal API
- The [`Controllers/ValueController.cs`](Controllers/ValuesController.cs)
- contains the definition of the `/api/Values/{id}` endpoint
- decorated with the rate limiting policy
- The [`Program.cs`](Program.cs) contains the majority of the codebase
- the rate limiting policy definition
- the controllers registration
- and it exposes the rest of the endpoints via Minimal API


## How to run?

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ The samples demonstrate the policies in action, against faulting endpoints.
## Projects

The solution contains three applications and one class library:
- `PollyTestWebApi`: This application is a web API with three endpoints. ([Further information](/PollyTestWebApi/README.md))
- `PollyTestWebApi`: This application is a web API with several endpoints. ([Further information](/PollyTestWebApi/README.md))
- `PollyDemos`: This library contains the Polly demos. ([Further information](/PollyDemos/README.md))
- `PollyTestClientConsole`: This application provides a CLI to walk through the demos. ([Further information](/PollyTestClientConsole/README.md))
- `PollyTestClientWpf`: This application provides a GUI to walk through the demos. ([Further information](/PollyTestClientWpf/README.md))
Expand Down

0 comments on commit e8bddea

Please sign in to comment.