开发者

ASP.net Lifecycle Answer to an interview question

If you were asked in an interview to describe the ASP.net lifecycle what would you answer?

What I have memorised so far is...

SILVERU or

Start Initialization Load Validation Postback Event Handling Render Unload

Would giving that list be enough of an answer?

I doubt it so if it is not enough then what wou开发者_JAVA技巧ld one have to say?


Try this.

Link ​​​​​​​​​​​​​​​​


You also need to know the purpose of each step, and what you should place in each.

For example:

  • When is view state values available on the way in?
  • When is the last time view state values can be changed on the way out.
  • Why is it a bad idea to hit a database in OnInit?

Actually good you asked this question, now I know to probe a bit deeper next time I interview someone :)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜