Are instances of ASPX pages EVER reused ??

S

Steve M

I think I have read conflicting information about this. Can someone share
some knwledge about this?
Is a new instance of my ASPX page class created for each request?? Or are
can they be reused by the framework based on a threading setting somewhere?
It is important for me to know this--Is there a guarantee that each request
has a fresh instance?
Thanks in advance for any info.
 
A

AW

No, the instances of the ASPX pages are not reused.

What is reused is the JIT-compiled code of the class representing the ASPX
file and its optional CodeBehind, if no modification has been made to
either.
 

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

Members online

No members online now.

Forum statistics

Threads
473,767
Messages
2,569,572
Members
45,045
Latest member
DRCM

Latest Threads

Top