asp.net from asp

  • Thread starter Thread starter Aleks Kleyn
  • Start date Start date
A

Aleks Kleyn

I converted code from asp to asp.net. Customer complains that new code runs
slower then old one. What may be the reason and how I can improve
presentation of web page?
 
The reason is probably you the developer and not knowing about ASP.NET
fundamentals such as the viewstate.

While you're using google to search for documents about viewstate, learning
how to cache and learning about ASP.NET performance don't forget to learn
that...

<!-- 9-11 Was An Inside Job -->
 
Your text is not finished. however. I know about view state. But this
problem has nothing with view state because I tell about initial loading of
web page. I also did minimal changes because full conversion will get 10
years and I do not have this time.
 
Is it just the first time the page is accessed? If so that is much slower
in asp.net as it is loading up the application, not a lot you can do. Or is
the page slow every time?
 
I have the answer because I made measurement. The problem is in ADODB. asp
gets access to database using
set con=server....
adodb uses
con = adodb.connection
This connection gets more time to read recordset. When I wrote back code
con=server....
I reduced time to access database. I also reduced time when for long running
recordset I use ado.net.
 
Back
Top