I am trying to get to know TPL and use it in mvc. Everything looks fine in all manuals (mark the action as async, use await => profit!), But I donβt understand this.
As I understand it, the call chain looks like this: the client sends an http request β the web server receives the request β the mvc action handler finds the controller and action using the routing rules and executes it β the action writes the result in response.
BUT: What kind of magic in the router is waiting for action? Who (and how?) Handles the first asynchronous method in this chain?
source
share