If I create a page, then it's compiled upon first request, where cani find the compiled code??

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • lander

    If I create a page, then it's compiled upon first request, where cani find the compiled code??

    If I create a page, then it's compiled upon first request, where can
    i find the compiled code?

    And another question, since aspnet_wp.exe is recycled sometimes, so
    session would get lost and would global variable(static , or
    application variable) get lost too??

    Thanks very much.
  • Michael Nemtsev [MVP]

    #2
    Re: If I create a page, then it's compiled upon first request, where can i find the compiled code??

    Hello lander,

    lIf I create a page, then it's compiled upon first request, where can
    li find the compiled code?

    c:\windows\micr osoft.net\frame work\<version>\ Temporary ASP.NET files

    lAnd another question, since aspnet_wp.exe is recycled sometimes, so
    lsession would get lost and would global variable(static , or
    lapplication variable) get lost too??

    not the aspnet, but the IIS application pool too

    ---
    WBR,
    Michael Nemtsev [.NET/C# MVP] :: blog: http://spaces.live.com/laflour

    "The greatest danger for most of us is not that our aim is too high and we
    miss it, but that it is too low and we reach it" (c) Michelangelo


    Comment

    • lander

      #3
      Re: If I create a page, then it's compiled upon first request, wherecan i find the compiled code??

      On 3ÔÂ5ÈÕ, ÏÂÎç1ʱ16·Ö, Michael Nemtsev [MVP] <nemt....@msn.c omwrote:
      Hello lander,
      >
      lIf I create a page, then it's compiled upon first request, where can
      li find the compiled code?
      >
      c:\windows\micr osoft.net\frame work\<version>\ Temporary ASP.NET files
      >
      lAnd another question, since aspnet_wp.exe is recycled sometimes, so
      lsession would get lost and would global variable(static , or
      lapplication variable) get lost too??
      >
      not the aspnet, but the IIS application pool too
      >
      ---
      WBR,
      Michael Nemtsev [.NET/C# MVP] :: blog:http://spaces.live.com/laflour
      >
      "The greatest danger for most of us is not that our aim is too high and we
      miss it, but that it is too low and we reach it" (c) Michelangelo
      As for the second question, do you mean aspnet and IIS both pool the
      session&Global data? So when aspnet_wp.exe recycles,largel y they won't
      get lost ?

      Comment

      • Michael Nemtsev [MVP]

        #4
        Re: If I create a page, then it's compiled upon first request, where can i find the compiled code??

        Hello lander,

        It depends where you store your sesson. If in InProc mode then your session
        can't survive restart, because it was store in memory.
        You need to use SQL Session mode to partly guarantee that your session will
        be alive after restart

        ---
        WBR,
        Michael Nemtsev [.NET/C# MVP] :: blog: http://spaces.live.com/laflour

        "The greatest danger for most of us is not that our aim is too high and we
        miss it, but that it is too low and we reach it" (c) Michelangelo


        lAs for the second question, do you mean aspnet and IIS both pool the
        lsession&Global data? So when aspnet_wp.exe recycles,largel y they
        lwon't get lost ?
        l>


        Comment

        • =?Utf-8?B?YnJ1Y2UgYmFya2Vy?=

          #5
          Re: If I create a page, then it's compiled upon first request, whe

          when asp.net recycles, the appdomain is unloaded, so all .net statics (which
          is what inproc session uses) are lost. if you use out of proc sessions, they
          will not be lost by a recycle.

          -- bruce (sqlwork.com)


          "lander" wrote:
          On 3月5日, 下午1时16分 , Michael Nemtsev [MVP] <nemt....@msn.c omwrote:
          Hello lander,

          lIf I create a page, then it's compiled upon first request, where can
          li find the compiled code?

          c:\windows\micr osoft.net\frame work\<version>\ Temporary ASP.NET files

          lAnd another question, since aspnet_wp.exe is recycled sometimes, so
          lsession would get lost and would global variable(static , or
          lapplication variable) get lost too??

          not the aspnet, but the IIS application pool too

          ---
          WBR,
          Michael Nemtsev [.NET/C# MVP] :: blog:http://spaces.live.com/laflour

          "The greatest danger for most of us is not that our aim is too high and we
          miss it, but that it is too low and we reach it" (c) Michelangelo
          >
          As for the second question, do you mean aspnet and IIS both pool the
          session&Global data? So when aspnet_wp.exe recycles,largel y they won't
          get lost ?
          >

          Comment

          Working...