What's the meaning of Web Page life-cycle?
Asked Answered
U

5

6

I'm new to C# and ASP.NET. I hear a lot about application and/or web page life-cycle. I want to know what's the meaning of this?

Unguarded answered 30/8, 2011 at 21:16 Comment(3)
I want to say thank you for your replies.Unguarded
Understanding the page lifecycle will make your ASP.NET development MUCH more enjoyable (it sure did for me)! You're already on the right track by asking about it.Swampland
Google tells all: msdn.microsoft.com/en-us/library/ms178472.aspxLegator
S
4

The page lifecycle is the sequence of events that are invoked in an ASP.NET Page Request.

This is documented in great detail here.

Seismoscope answered 30/8, 2011 at 21:19 Comment(0)
R
2

As you tagged your question with ASP.NET, here goes the mandatory doc:

ASP.NET Page Life Cycle Overview

When an ASP.NET page runs, the page goes through a life cycle (stages) in which it performs a series of processing steps. These include initialization, instantiating controls, restoring and maintaining state, running event handler code, and rendering. It is important for you to understand the page life cycle so that you can write code at the appropriate life-cycle stage for the effect you intend.

Rumormonger answered 30/8, 2011 at 21:20 Comment(0)
M
1

Web Page lifecycle is simply a sequence of events that happen between the request (hitting the page) and response (returning data to user).

You can find more info about that here:

Mormon answered 30/8, 2011 at 21:26 Comment(0)
C
0

The web page life-cycle refers to the process and events that get fired for a page when it goes from a request to a rendered page.

Here is a link to an overview: http://msdn.microsoft.com/en-us/library/ms178472.aspx

Chagres answered 30/8, 2011 at 21:20 Comment(0)
U
0

One of the resources I still use is the MSDN article (ASP.NET Page Life Cycle Overview):

When an ASP.NET page runs, the page goes through a life cycle in which it performs a series of processing steps. These include initialization, instantiating controls, restoring and maintaining state, running event handler code, and rendering. It is important for you to understand the page life cycle so that you can write code at the appropriate life-cycle stage for the effect you intend.

Unkenned answered 30/8, 2011 at 21:21 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.