Monday, June 9, 2008

Naming Conventions

*Camel Casing
First letter is lowercase and remaining words starts with uppercase letter.
eg. int totalValue
*Pascal Casing
First letter of all words is Uppercase.
eg. void MyFunction()
*Hungarian Notation
prepends a lowercase letter (or sequence of lowercase letters) to
the beginning of a Pascal Notation variable name to indicate the type of the variable. For example,
i means integer and s means string in the following line:
var iMyTestValue = 0, sMySecondTestValue = “hi”;

Monday, June 2, 2008

ASP.NET 2.0 Page Life-cycle Events

  • PreInit
  • Init
  • InitComplete
  • PreLoad
  • Load
  • Control events
  • LoadComplete
  • PreRender
  • SaveStateComplete
  • Render
  • Unload


ASP.NET 2.0 General Page Life-cycle Stages

  • Page request
  • Start
  • Page initialization
  • Load
  • Validation
  • Postback event handling
  • Rendering
  • Unload