Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 23 days 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 (12 months ago)
- Default Branch: main
- Last Pushed: 2024-06-04T22:24:28.000Z (8 months ago)
- Last Synced: 2024-11-11T15:16:26.923Z (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
[![.NET](https://github.com/aimenux/TenantIdMiddlewareDemo/actions/workflows/ci.yml/badge.svg?branch=main)](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