Performance of ASP vs ASPX

Posted on 2007-08-07
Last Modified: 2013-11-05
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.
Question by:MrLogin
    LVL 48

    Accepted Solution

    asp scripts are interpret while aspx scripts are compiled, so aspx scripts should run faster than asp scripts.
    LVL 25

    Assisted Solution

    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.
    LVL 1

    Author Comment

    Thanks for both comments, will experiment and see how close I can get to the fabled 3x factor.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Have you ever needed to get an ASP script to wait for a while? I have, just to let something else happen. Or in my case, to allow other stuff to happen while I was murdering my MySQL database with an update. The Original Issue This was written…
    A quick way to get a menu to work on our website, is using the Menu control and assign it to a web.sitemap using SiteMapDataSource. Example of web.sitemap file: (CODE) Sample code to add to the page menu: (CODE) Running the application, we wi…
    Hi everyone! This is Experts Exchange customer support.  This quick video will show you how to change your primary email address.  If you have any questions, then please Write a Comment below!
    Here's a very brief overview of the methods PRTG Network Monitor ( offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

    759 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    9 Experts available now in Live!

    Get 1:1 Help Now