Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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