Pipelines and middlewares
The Web building block defines an opinionated HTTP pipeline that the playground host wires up.
Pipeline stages
Section titled “Pipeline stages”The typical order in Playground.Api is:
- Exception handling and problem details.
- HTTPS redirection and security headers.
- Routing, multi-tenancy, and authentication.
- Rate limiting and authorization.
- Auditing and logging.
- OpenAPI, Scalar UI, and endpoints.
Customizing the pipeline
Section titled “Customizing the pipeline”You can customize the pipeline via extension points in the Web building block, adding or removing middlewares while keeping a consistent structure across hosts.