Can you explain how ASP.NET application life cycle and page life cycle events fire?



Can you explain how ASP.NET application life cycle and page life cycle events fire?..

Answer / Sundaram Rathour

{"App_Start": The application starts when the first user request is received.n"Application_OnStart": An event raised during application startup and shutdown that allows performing tasks at the application level.n"Session_Start": Raised each time a new session is started for a user.n"Application_End": An event raised when the ASP.NET application is about to shut down.nnThe page life cycle events are:n"Page_Init": Initiated at the start of the page request process.n"Page_Load": Occurs every time the page is requested, either as a new request or a postback from an earlier request.n"Page_PreRender": Called just before rendering occurs for the control tree.n"Page_Unload": The final event fired in the page life cycle when the page is being released from memory.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More ASP.NET Interview Questions

what does Page.IsValid in asp.net

6 Answers   Infosys, Net Solution,


What are ASP.NET Web Forms? How is this technology different than what is available though ASP (1.0-3.0)?

1 Answers   Siebel Systems,


What is the difference between a cookie and a pixel?

1 Answers  


which one is faster execute reader, scalar, execute non query ?

18 Answers   Intiger, Minecode,


Explain what is event bubbling?

1 Answers  


Can you set the session out time manually?

1 Answers  


What is the use of mcommand ? mcommand.fill(ds,"orderdetails");

1 Answers   Netsweeper,


How do you declare static variable? What is its lifetime?

1 Answers  


What is the concept of postback in asp.net?

1 Answers  


can i inherit one web applications into another web applications in asp.net?

7 Answers  


What are the events in a page life cycle?

1 Answers  


What is the purpose of the following segment? If ( !IsPostBack) { sqldataAdapter1.Fill (dsusers1); DataGrid1.DataBind (); } a) To populate the DataAdapter the first time the web page id displayed. b) To populate the DataSet every time the web page is displayed. c) To populate the DataAdapter every time the web page is displayed. d)To populate the DataSet the first time the web page is displayed.

2 Answers   Syntax Softtech,


Categories