https://github.com/aimenux/httpdelegatinghandlerdemo
Using http delegating handlers
https://github.com/aimenux/httpdelegatinghandlerdemo
application-insights console-app delegation-handler fluent-assertions net60 serilog xunit-tests
Last synced: 13 days ago
JSON representation
Using http delegating handlers
- Host: GitHub
- URL: https://github.com/aimenux/httpdelegatinghandlerdemo
- Owner: aimenux
- License: mit
- Created: 2022-12-14T23:31:26.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-12-14T23:55:40.000Z (over 3 years ago)
- Last Synced: 2025-02-27T01:54:32.606Z (about 1 year ago)
- Topics: application-insights, console-app, delegation-handler, fluent-assertions, net60, serilog, xunit-tests
- Language: C#
- Homepage:
- Size: 15.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://github.com/aimenux/HttpDelegatingHandlerDemo/actions/workflows/ci.yml)
# HttpDelegatingHandlerDemo
```
Using http delegating handlers
```
> In this repo, i m using [http delegation handlers](https://learn.microsoft.com/en-us/dotnet/api/system.net.http.delegatinghandler) for various purposes :
>
> - `TimingHandler` : log request processing time
>
> - `LoggingHandler` : log request/response body
>
> - `ValidationHandler` : validate required request headers
>
> - `CorrelationHandler` : add correlation id to request headers
>
> - `RetryHandler` : retry request when transient errors occurs
>
>
**`Tools`** : vs22, net 6.0, console-app, app-insights, xunit, fluent-assertions