Answer
- Use – Adds middleware that can process the request and optionally call the next middleware via a
nextdelegate. - Run – Adds terminal middleware that does not call the next component; it ends the pipeline.
- Map – Branches the pipeline based on the request path, creating sub-pipelines for specific URL segments.
Together, they give fine-grained control over the shape and branching of the request pipeline.