H
Hitesh
We all know that IIS and asp.net are suppose to be muti-threaded
applications running on a pre-emptive multi-tasking model. But, what I
have
found is that under the default installation of ASP.NET, aspx pages get
executed serially. I know that it's easy to say that this can't be
right,
but I have found threads where others have confirmed this same
behavior.
The situation is _very_ easy to reproduce. Simply place two aspx pages
on a
web site, on the one page put some code that will take a bit to execute
(say
a while loop) and on the other page simply put some text (perhaps
"hello").
Now open two browser windows, in the first browser open the long
running
page, now in the second window open the hello page. What you will find
is
that you will not receive the hello page until the long running page
completes and is sent to the browser. The pages are running serially
on the
server!
How does one configure asp.net so that the pages run under a preemptive
multitasking model?
applications running on a pre-emptive multi-tasking model. But, what I
have
found is that under the default installation of ASP.NET, aspx pages get
executed serially. I know that it's easy to say that this can't be
right,
but I have found threads where others have confirmed this same
behavior.
The situation is _very_ easy to reproduce. Simply place two aspx pages
on a
web site, on the one page put some code that will take a bit to execute
(say
a while loop) and on the other page simply put some text (perhaps
"hello").
Now open two browser windows, in the first browser open the long
running
page, now in the second window open the hello page. What you will find
is
that you will not receive the hello page until the long running page
completes and is sent to the browser. The pages are running serially
on the
server!
How does one configure asp.net so that the pages run under a preemptive
multitasking model?