I know AsyncPageTask creates a thread which we can use for long running processes, i was wondering where this thread is created as i am sure it does not use IIS request processing thread, then where this thread exist ?
please can someone explain ? thanks in advance
I know AsyncPageTask creates a thread which we can use for long running processes,
Share
The thread used for your long running process comes from I/O thread pool (request thread is then returned to the request thread pool). When all your
PageAsyncTasksfinish, ASP.Net gets back a request thread from the request thread pool.So the workflow is basically this: request thread -> any number of I/O threads -> request thread.