Threading in ASP.NET?

B

Bruce W.1

How is threading natively used in ASP.NET? Does each user get a thread
off the DLL, the entire application is one thread, each page gets a
thread?

Thanks for your help.
 
B

bruce barker

the .net application has a pool of threads. processing of a page is a series
of steps (onint, onload, ...), for each of these steps a thread is pulled
from the pool, and used to process the step, then optionaly returned to the
pool. So while more than one thread may be used to process a single page
request, only 1 thread is working at a time on a sngle page request. this is
refered to as thread agile.

when a thread is pulled from the pool, its passed the page instance created
for the request and the context (see component documentation), it then uses
this to process the step.

-- bruce (sqlwork.com)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top