Probably anlyzed to death- ASP vs ASP.NET; a rough comparison

  • Thread starter Thread starter intrader
  • Start date Start date
I

intrader

In ASP - simplest form with one label followed by a text box require
approximately 323 bytes at the server and 234 bytes transmitted to the
client. The submitted form has 12 bytes.

In ASP.NET - same simple form requires 673 bytes for aspx, and 730 bytes
transmitted to the client. The code-behind code is another 2500 bytes. The
submitted form has 157 bytes

The overhead allow Microsoft to turn Web Programmers into VB Programmers,
or viceversa.

I have to admit, the IDE is supperb.
 
Thats a bit like saying

I need to travel 100 meters, I get on my bicycle, and I am there in 30
seconds.
But then I get on an F22 Raptor, and it takes me 15 minutes to do the
preflight checklist, and then the runway is too short for me to take off.

ASP.NET is better, beyond any doubt.

- Sahil Malik [MVP]
ADO.NET 2.0 book -
http://codebetter.com/blogs/sahil.malik/archive/2005/05/13/63199.aspx
I agree - however, I would rather see the ViewState not have to reflect
the state of this server-side View which is a designer artifact.

Thanks
 
Yes but you can disable viewstate, or override it's behavior :)

Thanks for your interaction.

I would like to know exactly what goes in ViewState. There is stuff that
should not by any means do a roundtrip. ViewState is sending stuff down to
the client that should stay at the server :(
 
No, it was yours, I stole it ;-)

--

- Sahil Malik [MVP]
ADO.NET 2.0 book -
http://codebetter.com/blogs/sahil.malik/archive/2005/05/13/63199.aspx
----------------------------------------------------------------------------

Miha Markic said:
Sahil,

Really? You have an F22? Cool :-)

--
Miha Markic [MVP C#] - RightHand .NET consulting & development
www.rthand.com
Blog: http://cs.rthand.com/blogs/blog_with_righthand/
SLODUG - Slovene Developer Users Group www.codezone-si.info

Sahil Malik said:
Thats a bit like saying

I need to travel 100 meters, I get on my bicycle, and I am there in 30
seconds.
But then I get on an F22 Raptor, and it takes me 15 minutes to do the
preflight checklist, and then the runway is too short for me to take off.

ASP.NET is better, beyond any doubt.

- Sahil Malik [MVP]
ADO.NET 2.0 book -
http://codebetter.com/blogs/sahil.malik/archive/2005/05/13/63199.aspx
 
Intrader, Here is a good article on ViewState I'd like to recommend -
http://msdn.microsoft.com/msdnmag/issues/03/02/CuttingEdge/

- Sahil Malik [MVP]
ADO.NET 2.0 book -
http://codebetter.com/blogs/sahil.malik/archive/2005/05/13/63199.aspx
Thank you, I was aware of Esposito's article and we have used the
technique of storing the ViewState in either the Session object or the
database. What remains, is still the question or why is this all
necessary; most of the stuff that goes into the ViewState is redundant/or
designer artifacts.
Before we beat this subject to death, I again appreciate your answers and
contribution.
 
Back
Top