Saturday, November 19, 2022

run, map and use methods in asp.net

 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

methods available in Dapper

  Dapper is a micro ORM library for .NET and .NET Core applications that allows you to execute SQL queries and map the results to objects. D...