Fremus.co.za

Demistifying Life and Web Development

So, is everything event driven?

I am busy with a Silverlight video player at the moment, and what is interesting to note and understand is that Silverlight is heavily event-driven, as is ASP.NET and a lot of the .NET framework. You can attach event handlers to almost any object, from mouse event handlers to click event handlers.

Having asked that question I took a look at the ASP.NET page life cycle and just realised how intrinsic events are in the .NET framework. There are eight basic stages in the ASP.NET page lifecycle:

  1. Page Request
  2. Start
  3. Page Initialization
  4. Load
  5. Validation
  6. Postback Event Handling
  7. Rendering
  8. Unload

Within the page lifecycle there are events raised, which allows you to write code that initialises controls that are dynamically created.

  • Share/Bookmark
posted by fr3dr1k in ASP.NET,Silverlight and have No Comments
Get Adobe Flash playerPlugin by wpburn.com wordpress themes