. net-General handling procedures and life cycle

Source: Internet
Author: User
Tags html form

The IsReusable property is used to indicate whether the handler can be stored in the pool for reuse when the IHttpHandlerFactory object is created IHttpHandler.

Generic Handler (HttpHandler): is a special class that implements the System.Web.IHttpHandler interface. Any class that implements the IHttpHandler interface is a precondition for the target program as an external request. (Any class that does not implement this interface cannot be requested by the browser.) )

It is called and started by a server that supports ASP. A HttpHandler program is responsible for processing access requests for one or a set of URL addresses that it corresponds to, and receiving access request information (Request messages) from the client and generating response content (response messages).

Simply put: We can generate the browser code by creating our own HttpHandler program to send back to the client browser.

The HttpHandler program can accomplish most of the tasks that ordinary class programs can accomplish:

1. Get the data and URL parameters submitted by the client via HTML form form

2. Create a response message content to the client

3. Accessing the server-side file system

4. Connect to the database and develop database-based applications

5. Calling other classes

Page life cycle

. net-General handling procedures and life cycle

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: info-contact@alibabacloud.com 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.