Hello Geeks .. As you Know this is Ramy , I'm writing today about an important little thing that you should keep in mind while Programming Under ASP.NET Framework.
As You may know .. Everything happens in computer world happens in ordered steps for certain reasons and to be a professional in a certain field you need to know not only how to make things work but ALSO How things happen.
The Benefit of knowing how things happen specially in Programming world is that when you know what will happen first , you will be able to re-arrange some functions or such so you will optimize your little program performance .. Here You Will feel the difference between An Application that was Created by A normal programmer and An Application that was Created by a Geek or Professional Programmer .
It's Pretty long Introduction to this Post but it really matters to keep it in your mind before reading the main Post Task .. Anyways ,Let's Get started ...
As You may know .. Everything happens in computer world happens in ordered steps for certain reasons and to be a professional in a certain field you need to know not only how to make things work but ALSO How things happen.
The Benefit of knowing how things happen specially in Programming world is that when you know what will happen first , you will be able to re-arrange some functions or such so you will optimize your little program performance .. Here You Will feel the difference between An Application that was Created by A normal programmer and An Application that was Created by a Geek or Professional Programmer .
It's Pretty long Introduction to this Post but it really matters to keep it in your mind before reading the main Post Task .. Anyways ,Let's Get started ...
ASP.NET Life Cycle :
- PreInit : This Event Is raised when the start page is complete and Before the initialization page begins.
- Init : It Occurs After All Controls Have Been Initialized.
- Init Complete : This Even Occurred at the end of page Initialization Stage.
- PreLoad : This event raised after the page loads view state for itself and all controls and after it processes PostBack data that is included with the request instance.
- Load : This Method Calls The OnLoad Method On the Page Object,and then recursively does the same for each child control until the page and all controls are loaded.
- Load Complete : Raised At the End of Event-Handling Stage.
- PreRender : This event raised after the Page object has created all controls that are required in order to render the page, including child controls of composite controls.
- PreRender Complete : This event raised after each data bound control whose DataSourceID property is set calls its DataBind method.
- SaveState Complete : This event raised after view state and control state have been saved for the page and for all controls.
- UnLoad : This event raised for each control and then for the page. Use this event to do final cleanup for specific controls, such as closing control-specific database connections.
Related Posts :
- Introduction To Model-View-Controller (MVC)
- Steps To Create ASP.NET Web Application
- ASP.NET C# Web Service for Login/Register - Insert-Update-Delete Queries
- How to Become An IT Professional
I hope You Find It Useful and Informative For you people ..
Best Wishes Everybody :)
Comments
Post a Comment
We Care About Your Opinion !