https://github.com/aimenux/tenantidmiddlewaredemo
Using a middleware to validate a custom tenant header
https://github.com/aimenux/tenantidmiddlewaredemo
fluent-assertions integration-testing middleware net80 request-headers
Last synced: about 2 months ago
JSON representation
Using a middleware to validate a custom tenant header
- Host: GitHub
- URL: https://github.com/aimenux/tenantidmiddlewaredemo
- Owner: aimenux
- License: mit
- Created: 2024-02-17T15:01:58.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-06-04T22:24:28.000Z (11 months ago)
- Last Synced: 2025-01-10T00:24:37.804Z (3 months ago)
- Topics: fluent-assertions, integration-testing, middleware, net80, request-headers
- Language: C#
- Homepage:
- Size: 20.5 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://github.com/aimenux/TenantIdMiddlewareDemo/actions/workflows/ci.yml)
# TenantIdMiddlewareDemo
```
Using a middleware to validate a custom tenant header
```In this demo, i m using a [convention style middleware](https://stevetalkscode.co.uk/middleware-styles#middleware%20styles-in-line-vs-factory-vs-convention) in order to validate a custom tenant header.
**`Tools`** : net 8.0, fluent-assertions, integration-tests