Skip to content

ASP.NET Life Cycle

Umesh

Asked Sep 6, 2013, 9:34 PM EDTSolved
Share
LinkedInX
Sir, In ASP.NET, There are two types of  life cycles:-

1) ASP.NET Application Life Cycle

2) ASP.NET Page Life Cycle

I know these cycles.

But I likes to know that When we use Application cycle and Page Cycle?

please help me in this topic

1 Answer

Know the answer? Post it. Somebody with the same question will find it here.

  • Sunny  Sharma
    ✓ Accepted answer0
    Hi Umesh,

    As you said you know these ASP.NET Application Life Cycle and Page Life Cycle already, just push your understanding to the level next.

    Application Life Cycle belongs to your complete application totally. It pertains to The first time your application starts on server, it receives requests, process them, send the response back to the client, setting session variables for that session ... many more in between and finally the Application End.

    Page Life Cycle belongs to a Page being served by your Application running on Server to the client requesting for that resource. It pertains to The time your page gets called, the page is initiated, the page is loaded, ...,  and the page is served.


    Hope you got the point.

    Happy Learning :)
    0