Run
Adds a middleware delegate that determinates the pipeline by immediately returning a response instead of calling the next middleware delegate.
Map
Adds a middleware delegate that creates a branch in the pipeline when there is a matching request usually based on a URL path like /hello
Use
Adds a middleware delegate that forms part of the pipeline so it can decide if it wants to pass the request to the next delegate in the pipeline and it can modify the request and response before and after the next delegate.
No comments:
Post a Comment