Nathan Stanford
Nathan Stanford

Reputation: 1394

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 would one have to say?

Upvotes: 0

Views: 2260

Answers (1)

Shiraz Bhaiji
Shiraz Bhaiji

Reputation: 65381

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 :)

Upvotes: 0

Related Questions