Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3627222
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T23:51:39+00:00 2026-05-18T23:51:39+00:00

I am using IIS to develop some web applications. I used to believe that

  • 0

I am using IIS to develop some web applications. I used to believe that every application should have a entry point. But it seems a web application doesn’t have one.

I have read many books and articles addressing how to build an ASP.NET application under IIS, but they are just not addressing the most obvious and basic thing that I want to know.

So could anyone tell me how is a web application started? What’s the difference between a traditional desktop application and a web application in terms of their working paradigm, such as the starting and terminating logic.

Many thanks.

Update – 1 – 23:14 2011/1/4

My current understanding is:

When some request arrives, the URL contained in the request will be extracted by the IIS. I guess IIS must have maintained some kind of a internal table which maps a URL to corresponding physical directory on disk. Let’s take the following URL as an example:

http://myhost/webapp/page1.aspx

With the help of the aforementioned internal table, IIS will locate the page1.aspx file on disk. And then this file is checked and the code-behind code file is located. And then proper page class instance will be contructed and its methods defined in the code-behind file will be invoked in a pre-defined order. The output of the series of method invoking will be the response sent to the client.

Update – 2 – 23:32 2011/1/4

The URL is nothing but an identifier that serves as an index into the aforementioned internal table. With this index, IIS (or any kind of web server technology) could find the physical location of the resource. Then with some hint (such as file extension name like *.aspx), the web server knows what handler (such as the asp.net ISAPI handler) should be used to process that resource. That chosen handler will know how to parse and execute the resource file.

So this also explains why a web server should be extensible.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-18T23:51:40+00:00Added an answer on May 18, 2026 at 11:51 pm

    It depends what language and framework you are using, but broadly there are a number of entry points that will be bound to HTTP requests (e.g. by URL). When the server receives a request that matches one of these bindings, the bound code is executed.

    There may also be various filter chains and interceptors that are executed based on other conditions of the request. There will probably also be some set-up code that the server executes when it starts up. Ultimately, there is still a single entry-point – the main() function of the server – but from the web application’s perspective it is the request bindings that matter.

    Edit in response to question edits

    I have never used IIS, but I would assume there is no "lookup table", but instead some lookup rules. I shall talk you through the invocation of a .jsp page on an Apache server, which should be basically the same process.

    1. The webapp is written and placed in the file system – e.g. C:/www/mywebapp
    2. The web server is given a configuration rule telling it that the URL path /webapp/ should be mapped to C:/www/mywebapp
    3. The web server is also configured to recognise .jsp files as being JSP servlets
    4. The web server receives a request for /webapp/page1.jsp, this is dispatched to a worker thread
    5. The web server uses its mapping rules to locate C:/www/mywebapp/page1.jsp
    6. The web server wraps the code in the JSP file in a class with method serveRequest(request, response) and compiles it (if not already done so)
    7. The web server calls the serveRequest function, which is now the entry point of the user code
    8. When the user code is finished, the web server sends the response to the client, and the worker thread terminates

    This is the most basic system – resource-based servlets (i.e. .jsp or .aspx files). The binding rules become much more complicated when using technologies like MVC frameworks, but the essential concepts are the same.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using ASP.NET MVC to develop a web application, deploying to IIS 7. I've
I'm using IIS and trying to deploy a web application that needs authentication mode=Windows.
I am using IIS V5.1. Integrated windows authentication I have a following web config:
I'm using IIS 7 as web server for my application. If I enable dynamic
We're currently using IIS 6 and Windows Server 2003 for our web and application
I have been using IIS express as my web server for awhile now, but
Using IIS 7.5 I have created a custom 404 (and 403.14) error page that
I am using IIS 6 on 2003. I have created a HTTP handler dll
A consultant told me recently that he has clients using IIS. Those servers accept
I’m starting to think about and develop an architecture for a big web application,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.