G
Guest
I have a problem at the moment where an external program writes aspx files
to a server and then allows people to brows to those pages. Each aspx page
is similiar and is written in a single file - the file contains both <%= %>
attributes and <SCRIPT runat=server> code. Each file has a unique name.
After a short time this gets out-off control and the memory of the server
goes through the roof - the performance is also not too good becuase of the
compiling of each page.
If I was to create a code-behind file would this fix my speed and memory
problems? - e.g - The external program only writes unique markup pages and
has an @ directive to referance the same class. The class gets compiled once
- what happens to the markup - does it go and still create another class
based on the code-behind class. Also - if I was to it this this way could I
still use the <%= %> tags to referance the results of functions in the
code-behind class?? Doing it this way would I still end up with the same
problems???
Thanks for your help
to a server and then allows people to brows to those pages. Each aspx page
is similiar and is written in a single file - the file contains both <%= %>
attributes and <SCRIPT runat=server> code. Each file has a unique name.
After a short time this gets out-off control and the memory of the server
goes through the roof - the performance is also not too good becuase of the
compiling of each page.
If I was to create a code-behind file would this fix my speed and memory
problems? - e.g - The external program only writes unique markup pages and
has an @ directive to referance the same class. The class gets compiled once
- what happens to the markup - does it go and still create another class
based on the code-behind class. Also - if I was to it this this way could I
still use the <%= %> tags to referance the results of functions in the
code-behind class?? Doing it this way would I still end up with the same
problems???
Thanks for your help