ASP.NET interview questions: - Can you explain how ASP.NET application life cycle works?
Note :- When any one
asks for page life the SILVER answer is appropriate , but when interviewer is asking
for application life cycle , two more things come in to picture handlers and
modules.
Below is how ASP.NET events fire.
- First the HttpModule events like BeginRequest , AuthenticateRequest fires.
- Then the HttpHandlers fires if the file extension match of the request page name.
- Finally Page events fire i.e. init, load, validate , event and render.
In which event are the controls fully loaded?
Page load event guarantees that all controls are fully loaded. Controls are
also accessed in Page_Init events but you will see that view state is not fully
loaded during this event.
How can we identify that the Page is Post Back?
Page object has an “IsPostBack” property, which can be checked to know t the
page is posted back.
What is the use of @ Register directives?
@Register directive informs the compiler of any custom server control added
to the page.
What is the use of Smart Navigation property?
http://
http://www.questpond.com/
Contributed by:
Shivprasad koirala Koirala
I am a Microsoft MVP for ASP/ASP.NET and currently a CEO of a small
E-learning company in India. We are very much active in making training videos ,
writing books and corporate trainings. Do visit my site http://www.questpond.com for
.NET, C# , design pattern , WCF , Silverlight , LINQ , ASP.NET , ADO.NET , Sharepoint , UML , SQL Server training and Interview questions and answers
Resourse address on xpode.com
http://www.xpode.com/Print.aspx?Articleid=707
Click here to go on website
|