From e8bddea6545a933be9f4496e973f36b477f3bd8a Mon Sep 17 00:00:00 2001 From: peter-csala <57183693+peter-csala@users.noreply.github.com> Date: Wed, 1 Nov 2023 15:32:12 +0100 Subject: [PATCH] Use polly 8.1.0 (#71) * Bump Polly version * Fix the readmes regarding exposed endpoint quantity --- PollyDemos/PollyDemos.csproj | 4 ++-- PollyTestWebApi/README.md | 9 +++++---- README.md | 2 +- 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/PollyDemos/PollyDemos.csproj b/PollyDemos/PollyDemos.csproj index 5741499..70a8b14 100644 --- a/PollyDemos/PollyDemos.csproj +++ b/PollyDemos/PollyDemos.csproj @@ -12,8 +12,8 @@ - - + + diff --git a/PollyTestWebApi/README.md b/PollyTestWebApi/README.md index f1d2b46..4917538 100644 --- a/PollyTestWebApi/README.md +++ b/PollyTestWebApi/README.md @@ -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? diff --git a/README.md b/README.md index 88d76a4..a0e798b 100644 --- a/README.md +++ b/README.md @@ -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))