What is Run(), Use() and Map() method?

 v For any request, Use method will execute the middleware component and then pass the execution to the next middleware or component.

v Run method will execute the middleware component and then terminate the execution.

v It should be placed at the end of any pipeline.
 
 
v The Map method is used to map a specific request url path to a middleware component.
 

 

Post a Comment

Previous Post Next Post