Asp.net Basic Part(1)

Asp.net Basic Part (1)

Client ID mode : have different options can set web.config file .

Page Life cycle :

Pre-Init -> register control tree

Init -> Init control attributes

Load View State

Load ->do some data bind here

Trigger Server Control Event -> finish server controlevent logic

Pre-Render -> last step to save info into View State

Save View State

Render ->Parse Aspx Page into Html

Http Pipe Line :

Asp.net Basic Part(1)_第1张图片

Asp.net Basic Part(1)_第2张图片

Http Handler & Http Module Config

Http Handler :

<System.Web><HttpHandler  /><System.Web>

 
Asp.net Basic Part(1)_第3张图片
<System.WebServer><Handlers></Handlers></System.WebServer>


Ashx File : Can Have configuration free handler .

Http Module :

<System.Web><HttpModule></HttpModule></System.Web>

Asp.net Basic Part(1)_第4张图片

<System.WebServer><Modules></Modules></System.WebServer>


For example : Login Module.

你可能感兴趣的:(asp.net)