• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 456
  • Last Modified:

Performance of ASP vs ASPX

Would be interested in comments / observations from anyone who has worked with both asp (classic) and aspx (.net) hands-on.    I have heard that an aspx page can support up to 3x the traffic of a similar asp page.  

My subjective, user experience is that aspx pages appear to be slightly slower.   However there are many factors to consider - web host, traffic, recompilation requirements, caching, page state information, http compression, use of "keep alive" polling,  etc.    

While I have yet to see an aspx page respond with the sort of speed that spells "just gotta have that", the amount of literature I've come across about squeezing performance out of aspx pages is suggestive of a complexity overload that - from the end-user perspective - does result in this perception of slower throughput.  

Two examples (1) recently did r&d in aspx developing a web site in an open source framework.  This was dogged by performance issues - although ultimately partially rescued by deploying http compression.   In the end, depsite the framework's exceptional flexibility the people I wrote the pro-forma site for decided to go with an alternative technology.    (2) My bank is a leading-edge deployer of Microsoft technology - yet their on-line banking system remains firmly rooted in asp classic.  Is this a case of performance = profit?

The key question is thus how to nudge aspx towards realising the marketing "3x" factor - have I just had indifferent experiences?  Ultimately the user perspective is where the money goes.

Thanks in advance.
2 Solutions
Ryan ChongCommented:
asp scripts are interpret while aspx scripts are compiled, so aspx scripts should run faster than asp scripts.
i think it all depends on the coding structure.  You can have a poorly written compiled application that will be alot slower than a well written interpreted app.

As long as you can keep your code organized well, I don't see that there will be much of a performance boost of one over the other.
MrLoginAuthor Commented:
Thanks for both comments, will experiment and see how close I can get to the fabled 3x factor.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Certified Penetration Testing

This CPTE Certified Penetration Testing Engineer course covers everything you need to know about becoming a Certified Penetration Testing Engineer. Career Path: Professional roles include Ethical Hackers, Security Consultants, System Administrators, and Chief Security Officers.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now