Describe ASP.NET Page Life Cycle.
When there is a request for a page, the page is loaded in the memory of the server and it is then processed and then sent to the browser. After that, it is unloaded from memory. Methods and events are present at every step and they can be overridden according to the needs of the application that is being developed. It can also be said that the developer can write code to override the default code.
Phases of a Page life cycle:
- Initialization
- Page control’s Instantiation
- State's maintenance and restoration
- Event Handler code execution
- Rendering of Page
BY Best Interview Question ON 17 Dec 2019