Asp. Net principles

Source: Internet
Author: User


HTTP request process:

Page request (httprequest)--wwwservice (inteinfo.exe) intercepts the request -- (forwarded to aspNet_isapi.dll) -- aspNet_isapi.dll

-- (Use the HTT pipepipeline pipeline --aspnetweb.exeprocess --httpruntime.exe (when the CRL is running) -- httpApplicationFactory to create an instance --

HttpMoudle -- process requests

HttpHanlderFactory -- httpHandler. ProcessRequest

MPs queue:

When an Http request enters Asp. net Runtime, its pipeline consists of a hosting module (NOTE: Managed Modules) and a processing program (NOTE: Handlers), and the pipeline is used to process this Http request.

Data Flow Direction:

1. After the request arrives at httpRunTime, create an httpApplication instance. The httpContext In the instance contains the objects in the request: HttpRequest, HttpResponse, and HttpSessionState.

2. Http requests are processed by moule, and modlue has full control over http.

3. http requests are sent to HttpHandler for processing. Here, the business logic is processed. The aspx page we know also inherits from the IHttpHandler interface.

4. The request is returned to moudle. Here we can explain many events such as inserting inserted in the program.


Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.