Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. performance?

performance?

Scheduled Pinned Locked Moved ASP.NET
performancequestion
9 Posts 5 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Max Santos
    wrote on last edited by
    #1

    Hello Does anyone knwos if there is any performance gain in this conversion: Plain Old ASP code, with file a virtual includes to ASPX, maintaining the same site structure. Just renaming .asp to .aspx and making the apropriate code tuning. Thanks

    M C I 3 Replies Last reply
    0
    • M Max Santos

      Hello Does anyone knwos if there is any performance gain in this conversion: Plain Old ASP code, with file a virtual includes to ASPX, maintaining the same site structure. Just renaming .asp to .aspx and making the apropriate code tuning. Thanks

      M Offline
      M Offline
      Mike Ellison
      wrote on last edited by
      #2

      I think by definition there is. As classic ASP is always interpreted code, and ASP.NET is always compiled (at least after the first use) code... compiled is faster than interpreted. How much of a performance gain that is, or whether it is percievable for you, I don't know. happy new year! :beer:

      D 1 Reply Last reply
      0
      • M Max Santos

        Hello Does anyone knwos if there is any performance gain in this conversion: Plain Old ASP code, with file a virtual includes to ASPX, maintaining the same site structure. Just renaming .asp to .aspx and making the apropriate code tuning. Thanks

        C Offline
        C Offline
        Christian Graus
        wrote on last edited by
        #3

        Max Santos wrote:

        Just renaming .asp to .aspx and making the apropriate code tuning.

        You realise the 'code tuning' is a rewrite, right ? Any code you leave in the aspx, rather than codebehind, will get compiled every time, you'll be where you started, assuming it all even works. Christian Graus - Microsoft MVP - C++

        M 1 Reply Last reply
        0
        • M Mike Ellison

          I think by definition there is. As classic ASP is always interpreted code, and ASP.NET is always compiled (at least after the first use) code... compiled is faster than interpreted. How much of a performance gain that is, or whether it is percievable for you, I don't know. happy new year! :beer:

          D Offline
          D Offline
          Daniel Santillanes
          wrote on last edited by
          #4

          It would be good to know... are those a lot of pages?? it could be rather hard to acomplish this, IMO :omg:... daniero

          M 1 Reply Last reply
          0
          • C Christian Graus

            Max Santos wrote:

            Just renaming .asp to .aspx and making the apropriate code tuning.

            You realise the 'code tuning' is a rewrite, right ? Any code you leave in the aspx, rather than codebehind, will get compiled every time, you'll be where you started, assuming it all even works. Christian Graus - Microsoft MVP - C++

            M Offline
            M Offline
            Max Santos
            wrote on last edited by
            #5

            Christian Graus wrote:

            Any code you leave in the aspx, rather than codebehind, will get compiled every time

            Thats my point... But because i have no time to a complete rewrite, and aparently old ASP on IIS6 is much slower that ASPX (and i have no IIS5 at hand) i was thinking on a "quick and dirty" fix:-D

            C 1 Reply Last reply
            0
            • M Max Santos

              Christian Graus wrote:

              Any code you leave in the aspx, rather than codebehind, will get compiled every time

              Thats my point... But because i have no time to a complete rewrite, and aparently old ASP on IIS6 is much slower that ASPX (and i have no IIS5 at hand) i was thinking on a "quick and dirty" fix:-D

              C Offline
              C Offline
              Christian Graus
              wrote on last edited by
              #6

              I'd do some testing before worrying too much. Christian Graus - Microsoft MVP - C++

              1 Reply Last reply
              0
              • D Daniel Santillanes

                It would be good to know... are those a lot of pages?? it could be rather hard to acomplish this, IMO :omg:... daniero

                M Offline
                M Offline
                Max Santos
                wrote on last edited by
                #7

                Not as hard as to do a complete rewrite with codebehind in the time frame i have available ;)

                D 1 Reply Last reply
                0
                • M Max Santos

                  Not as hard as to do a complete rewrite with codebehind in the time frame i have available ;)

                  D Offline
                  D Offline
                  Daniel Santillanes
                  wrote on last edited by
                  #8

                  oh ok, I thought you were going to leave the code and just translate asp to asp.net in the page... that's what it first seemed like :). daniero

                  1 Reply Last reply
                  0
                  • M Max Santos

                    Hello Does anyone knwos if there is any performance gain in this conversion: Plain Old ASP code, with file a virtual includes to ASPX, maintaining the same site structure. Just renaming .asp to .aspx and making the apropriate code tuning. Thanks

                    I Offline
                    I Offline
                    Ista
                    wrote on last edited by
                    #9

                    Nope You havent put the code in the code behind so its not pre-compiling. It does save time it will be so minute its not worth it. 1 line of code equals many bugs. So don't write any!! -- modified at 23:17 Wednesday 4th January, 2006

                    1 Reply Last reply
                    0
                    Reply
                    • Reply as topic
                    Log in to reply
                    • Oldest to Newest
                    • Newest to Oldest
                    • Most Votes


                    • Login

                    • Don't have an account? Register

                    • Login or register to search.
                    • First post
                      Last post
                    0
                    • Categories
                    • Recent
                    • Tags
                    • Popular
                    • World
                    • Users
                    • Groups