rahul sandbhor
How asp.net page works?
By rahul sandbhor in ASP.NET on Jul 19 2010
  • Ashish Shukla
    Jul, 2010 19

    This can be summarised in 2 steps

    1) User requests the asp.net  page (page having the extension .aspx)  by typing the URL for the page in the browser.
    2) Server receives the request for .aspx page and executes the code in the code behind of the page.The output of the page is HTML which is sent back to the browser. 
    nlo
    Also please understand that the browser understands only HTML so whatever you request the output has to be the HTML.

    Now what happens when the page executes :
    ASP.NET page has a lifecycle which it undergoes .The major events that are fired when the page goes through the lifecycle are :
    Page_Init
    Page_Load
    Page_PreRender
    Page_Render
    Page_Unload
    You can write code in any of these event handlers(more event handlers are there) to change the generated HTML.

    • 0


Most Popular Job Functions


MOST LIKED QUESTIONS