IIS is how to deal with ASP

By June Warren,2015-10-18 18:56
15 views 0
IIS is how to deal with ASP

    IIS is how to deal with ASP.NET request


    Every time the server receives the request, should be treated first by IIS.ASP. This is not an NE life cycle, and is only related to the IIS operation.Before westart to understand these will contribute to understanding of the full text, at the same time welcome feedback and Suggestions.

    What is a Web Server?

    Whenever we through ASP.NET, run VS VS integration of ASP.NET engine will respond to all requests, the engine is the name of "WebDev. WebServer. Exe.

    When we configure a Web application will always involve a word "Web Server", its function is to respond to all requests.

    What is the IIS?

    IIS (Internet Information Server) is one of the Microsoft Web Server, used to configure the ASP.NET site.IIS has its own ASP.NET processing engine to handle the request, therefore, when a request arrives, the IIS to receive and process the request, and then return.

    Request processing

    Now, you should be able to understand the difference between a Web Server and IIS.Now let's look at the core part.Before proceeding, you need to clarify two concepts:

    1, the work Process (the Worker Process)

    2, the Application Pool (Application Pool)

    Work in progress: in IIS, work in progress (w3wp.exe) run the ASP.NET application, management and respond to all requests, ASP.NET all functions are running in the working process, when the Request arrives, work process will generate the Request and Response related information.In short, the work process is the heart of ASP.NET application.

    Application pool: application pool is the container of the work process, often used to separate different configuration of work process.Error when a program or process recycling, the other in the pool program will not be affected.

    Note: when an application pool contains multiple work process, is called "Web Garden".

    If we look at the structure of the IIS 6.0, we will find that you can divide it into two parts:

    1, the Kernel module (Kernel Mode)

    2, User module (User Mode)

    Kernel mode from the IIS 6.0 is introduced, it includes a called HTTP. SYS file, when requests come in, will trigger the response of the document in the first place.