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. ASP.net default page processing ???

ASP.net default page processing ???

Scheduled Pinned Locked Moved ASP.NET
asp-netquestioncsharpcomwindows-admin
4 Posts 4 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.
  • P Offline
    P Offline
    pankazmittal
    wrote on last edited by
    #1

    Hi When the Internet Information Service process (inetinfo.exe) receives an HTTP request, it uses the filename extension of the requested resource to determine which ISAPI program to run to process the request. When the request is for an ASP.NET page (.aspx file) IIS passes the request to the ISAPI DLL capable of handling the request for ASP.NET pages which is aspnet_isapi.dll. This I understand in case the file name is in the requested URL like http://microsoft.com/whatsnew.aspx , But what is the process sequence if it is only http://www.microsoft.com . I understand that the default page gets called somehow but I am trying to understand the sequence. Please advise. Thanks Pankaj

    A L C 3 Replies Last reply
    0
    • P pankazmittal

      Hi When the Internet Information Service process (inetinfo.exe) receives an HTTP request, it uses the filename extension of the requested resource to determine which ISAPI program to run to process the request. When the request is for an ASP.NET page (.aspx file) IIS passes the request to the ISAPI DLL capable of handling the request for ASP.NET pages which is aspnet_isapi.dll. This I understand in case the file name is in the requested URL like http://microsoft.com/whatsnew.aspx , But what is the process sequence if it is only http://www.microsoft.com . I understand that the default page gets called somehow but I am trying to understand the sequence. Please advise. Thanks Pankaj

      A Offline
      A Offline
      Abhishek Sur
      wrote on last edited by
      #2

      same as you mentioned. It first checks the Default file for Default Web site in the host (microsoft.com) If it is of extension .aspx then it is processed by aspnet_isapi.dll otherwise whatever configured to the IIS. :rose:

      Abhishek Sur My Latest Articles Working with Excel using MDAC
      Basics on LINQ and Lambda Expressions
      Create .NET Templates

      1 Reply Last reply
      0
      • P pankazmittal

        Hi When the Internet Information Service process (inetinfo.exe) receives an HTTP request, it uses the filename extension of the requested resource to determine which ISAPI program to run to process the request. When the request is for an ASP.NET page (.aspx file) IIS passes the request to the ISAPI DLL capable of handling the request for ASP.NET pages which is aspnet_isapi.dll. This I understand in case the file name is in the requested URL like http://microsoft.com/whatsnew.aspx , But what is the process sequence if it is only http://www.microsoft.com . I understand that the default page gets called somehow but I am trying to understand the sequence. Please advise. Thanks Pankaj

        L Offline
        L Offline
        Leonscape
        wrote on last edited by
        #3

        If no file is specified then the Default content page list is where it looks (Documents Tab in IIS). It goes through the sequence of page names set for the directory, and picks the first one that actually exists, and then processes that file exactly as if it had been called originally. Also IIS checks the processing list before it actually looks for the file, So it goes to aspnet_isapi.dll and passes the request information to it, by default it doesn't even check that the aspx file even exists. (Its a checkbox option of whether to check the file is actually on the server.)

        Using the wrong tool for the job is half the fun.

        1 Reply Last reply
        0
        • P pankazmittal

          Hi When the Internet Information Service process (inetinfo.exe) receives an HTTP request, it uses the filename extension of the requested resource to determine which ISAPI program to run to process the request. When the request is for an ASP.NET page (.aspx file) IIS passes the request to the ISAPI DLL capable of handling the request for ASP.NET pages which is aspnet_isapi.dll. This I understand in case the file name is in the requested URL like http://microsoft.com/whatsnew.aspx , But what is the process sequence if it is only http://www.microsoft.com . I understand that the default page gets called somehow but I am trying to understand the sequence. Please advise. Thanks Pankaj

          C Offline
          C Offline
          Colin Angus Mackay
          wrote on last edited by
          #4

          pankazmittal wrote:

          But what is the process sequence if it is only http://www.microsoft.com . I understand that the default page gets called somehow but I am trying to understand the sequence.

          It is set up in IIS. IIS has a setting where by you can set the default document to be called in the event that the web server receives only a folder path. You can set multiple defaults so that it can process them in sequence until it finds something.

          Man who stand on hill with mouth open wait long time for roast duck to drop in

          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