You are on page 1of 15

7/20/13

ASP.NET Application and Page Life Cycle - CodeProject

Not quite what you are looking for? You may want to try: Classic ASP Framework 2.0 - Make your Classic ASP code work like in ASP.NET Understanding Callback using XMLHttpRequest
9,977,030 members (29,559 online)

×
highlights off
Sign in

home

articles

quick answers

discussions

features

community

help

asp .net page life cycle

Articles » Web Development » ASP.NET » General

Next

Article Browse Code Stats Revisions (7) Alternatives Comments & Discussions (146)

ASP.NET Application and Page Life Cycle
By Shivprasad koirala , 8 Feb 2013
4.91 (252 votes)

About Article
ASP.NET application and page life cycle Type Licence Article CPOL 17 Apr 2010 479,440 6,382 564 times

Prize winner in Competition "Best ASP.NET article of April 2010" Download source code - 4.03 KB

First Posted Views Downloads Bookmarked

Table of Contents
Introduction The Two Step Process Creation of ASP.NET Environment Process Request using MHPM Events Fired In What Event We Should Do What? A Sample Code for Demonstration Zooming ASP.NET Page Events About the Source Code References Can you explain ASP.NET application and page life cycle-(Demo, in which event we should do what) Part 3?

ASP.NET Dev

Introduction
In this article, we will try to understand what the different events are which take place right from the time the user sends a request, until the time the request is rendered on the browser. So we will first try to understand the two broader steps of an ASP.NET request and then we will move into different events emitted from ‘H t t p H a n d l e r ’, ‘H t t p M o d u l e ’ and ASP.NET page object. As we move in this event journey, we will try to understand what kind of logic should go in each and every one of these events. This is a small Ebook for all my .NET friends which covers topics like WCF, WPF, WWF, Ajax, Core .NET, SQL, etc. You can download the same from here or else you can catch me on my daily free training here .

The Two Step Process
From 30,000 feet level, ASP.NET request processing is a 2 step process as shown below. User sends a request to the IIS: ASP.NET creates an environment which can process the request. In other words, it creates the application object, request, response and context objects to process the request. Once the environment is created, the request is processed through a series of events which is processed by using modules, handlers and page objects. To keep it short, let's name this step as MHPM (Module, handler, page and Module event), we will come to details later.

www.codeproject.com/Articles/73728/ASP-NET-Application-and-Page-Life-Cycle

1/15

Step 6: H t t p A p p l i c a t i o nthen starts processing the request by HTTP module events.NET The below image explains how the internal object model looks like for an ASP. ‘H t t p R e q u e s t ’ and ‘H t t p R e s p o n s e ’ objects are created.asax’ file in your system.NET objects like ‘H t t p C o n t e x t ’ . In case you have a ‘global. Note : For more details. MultiView and Wizard The Page Life Cycle of Client [Browser] Confirm Box for File Replace using Client Callback Behind the scenes of ASPX files Why not to pass endResponse parameter as true in Response.NET objects to process the page.0 Make your Classic ASP code work like in ASP. a new instance of ‘H t t p A p p l i c a t i o n ’ is created.codeproject. Step 3: The newly created application domain creates hosting environment.Redirect method Understanding ASP.Page Life Cycle.e.7/20/13 ASP. ‘H t t p A p p l i c a t i o n ’ object is created to serve the request. the ‘H t t p R u n t i m e ’ object.dll’ for processing. i. it does not affect the other app domain. At the top level is the ASP.NET ASP. So in case there is an issue in one app domain. Depending on file extension the request is processed. the application domain creates isolation between two web applications hosted on the same IIS.NET Page Life Cycle Understanding Callback using XMLHttpRequest ASP. Creation of ASP.NET page is attached to an application. Step 4: Once all the core ASP. then a class called as ‘A p p l i c a t i o n M a n a g e r ’ creates an application domain where the website can run.asax file inherits from ‘H t t p A p p l i c a t i o n ’ class. Once the hosting environment is created.NET Page Modules Callback WebControls Master Page Globalization Approaches for User Control Event Handling ViewState: Various ways to reduce performance overhead Dynamic controls .NET Application and Page Life Cycle . we will understand both these main steps in more detail. It fires the MHPM event for request processing.ASPX page ’.CodeProject Top News The History of CTRL + ALT + DELETE Get the Insider News free each morning. Step 5: The H t t p A p p l i c a t i o nobject is then assigned to the core ASP. Related Videos Related Articles Classic ASP Framework 2.NET runtime which creates an ‘A p p d o m a i n ’ which in turn has ‘H t t p R u n t i m e ’ with ‘request’. then the object of the ‘global. handlers and page events. ‘response’ and Application and Page Life Cycle . Step 2: If this is the first request to the website. In the coming sections.com/Articles/73728/ASP-NET-Application-and-Page-Life-Cycle 2/15 . Please note global.NET Environment Step 1: The user sends a request to IIS. As we all know.asax’ file will be created.NET Page Lifecycle – A Basic Approach ViewState and Postback Introducing ASP.NET request.NET Web Form Model with Partial Rendering and Events The ASP. the necessary core ASP. if the page is an ‘. For instance. read this .NET objects are created. H t t p A p p l i c a t i o n instances might be reused for multiple requests.A Beginner's Tutorial www. Note : The first time an ASP. IIS first checks which ISAPI extension can serve this request. Said and done to maximize performance. then it will be passed to ‘aspnet_isapi.

In other words.NET when output caching is enabled JavaScript Tips for ASP.NET Application and Page Life Cycle . ‘H t t p M o d u l e ’ is an event based processor. www. In other words. It goes through 3 different sections ‘H t t p M o d u l e ’.ASPX’. it invokes different events which the developer can extend and add customize logic to the same.7/20/13 ASP.NET pipleline. Before we move ahead. The main differences between both of them are: If you want to inject logic based in file extensions like ‘.CodeProject How to manipulate master page controls in ASP. ‘response’ and ‘context’ objects. They help us to inject custom logic before and after the ASP.NET page is processed. ASP. then you use ‘H t t p H a n d l e r ’.NET. As it moves through these sections. ‘. it starts processing requests. ASP.codeproject. ‘P a g e ’ and ‘H t t p H a n d l e r ’.com/Articles/73728/ASP-NET-Application-and-Page-Life-Cycle 3/15 .NET Developers . let's understand what are ‘H t t p M o d u l e ’ and ‘H t t p H a n d l e r s ’. ‘H t t p H a n d l e r ’ is an extension based processor.NET runtime which creates an ‘A p p d o m a i n ’ which in turn has ‘H t t p R u n t i m e ’ with ‘request’.Part 2 Replacing IFrames with Panels under AJAX Process Request using MHPM Events Fired Once ‘H t t p A p p l i c a t i o n ’ is created. then you use ‘H t t p M o d u l e ’.HTML’. If you want to inject logic in the events of ASP.

H t t p M o d u l eprovides post page execution events which can be used to inject custom post-processing logic. Step4 (M: HttpModule): Once the page object is executed and unloaded from memory. Before the ASP. You can remember the word S I L V E Rto remember the events S – Start (does not signify anything as such just forms the word) .NET page object is created.U p d a t e R e q u e s t C a c h eand E n d R e q u e s t . While the ASP. There are 6 important events which provides us placeholder to write logic inside ASP.7/20/13 ASP. Section Event Description This event signals a new request.NET engine goes and creates the ASP.r e n d e rand u n l o a d . ASP.e v e n t .codeproject.A u t h e n t i c a t e R e q u e s t . There are 4 important postprocessing events P o s t R e q u e s t H a n d l e r E x e c u t e . L (Load) . Step 3 (P: ASP.NET page): Once the H t t p H a n d l e rlogic executes. R e s o l v e R e q u e s t C a c h e . There are 4 important steps MHPM as explained below: Step 1(M: HttpModule): Client request processing starts.A u t h o r i z e R e q u e s t . Step 2 (H: ‘HttpHandler’): Once the above 6 events are fired.L o a d . E (Event) and R (Render). I – (Init) .CodeProject You can read more about the differences from here .NET page s I n i t .NET page object is created.com/Articles/73728/ASP-NET-Application-and-Page-Life-Cycle 4/15 . The below figure shows the same in a pictorial format.NET H t t p M o d u l eemits events which can be used to inject customized logic. There are 6 important events which you can utilize before your page object is created B e g i n R e q u e s t . it is guaranteed to www.R e l e a s e r e q u e s t S t a t e . In What Event Should We Do What? The million dollar question is in which events should we do what? Below is the table which shows in which event what kind of logic or code can go. the ASP. v a l i d a t e .A c q u i r e R e q u e s t S t a t eand P r e R e q u e s t H a n d l e r E x e c u t e . Below is the logical flow of how the request is processed.NET Application and Page Life Cycle . V (Validate).NET engine will invoke P r o c e s s R e q u e s tevent if you have implemented H t t p H a n d l e rin your project. many events are fired which can help us to write our custom logic inside those page events.

below is how the output looks like.codeproject. This event happens in the ASP. .NET. Collapse | Copy Code p u b l i cc l a s sc l s H t t p M o d u l e:I H t t p M o d u l e { . . Any caching specific activity can be injected here. you would like to check the same here.NET runtime is ready to authorize the user. Before you end.CodeProject This event signals a new request.NET runtime is ready to authenticate the user. If you would like to make some changes to the final HTML which is going out to the browser. In this section. In ASP. Any authorization code can be injected here. Any setting initialization. If you have valuators on your page .E v e n t A r g sa ) { www. you can enter your HTML logic here. . This event signals that ASP. Below is the class for ‘H t t p M o d u l e ’ which tracks all events and adds it to a global collection. This is the last stage before your output is sent to the client browser. ASP. In this section. If you would like to save update some state variables like session variables. Any authentication code can be injected here.com/Articles/73728/ASP-NET-Application-and-Page-Life-Cycle 5/15 .NET runtime determines if the page can be served from the cache rather than loading the patch from scratch. v o i dO n U p d a t e R e q u e s t C a c h e ( o b j e c ts e n d e r .NET Application and Page Life Cycle . . we do not have access to viewstate. we have created a ‘H t t p M o d u l e ’ and ‘H t t p h a n d l e r ’ in this project and we have displayed a simple response write in all events.NET runtime is ready to acquire session variables. H t t p M o d u l e A u t h e n t i c a t e R e q u e s t H t t p M o d u l e A u t h o r i z e R e q u e s t H t t p M o d u l e R e s o l v e R e q u e s t C a c h e H t t p M o d u l e A c q u i r e R e q u e s t S t a t e This event is raised just prior to handling control to the H t t p H a n d l e r . P a g e I n i t P a g e L o a d P a g e V a l i d a t e R e n d e r P a g e U n l o a d H t t p M o d u l e P o s t R e q u e s t H a n d l e r E x e c u t e H t t p M o d u l e R e l e a s e r e q u e s t S t a t e H t t p M o d u l e U p d a t e R e q u e s t C a c h e H t t p M o d u l e E n d R e q u e s t A Sample Code for Demonstration With this article. postedvalues and neither the controls are initialized. In this code. Any processing you would like to do on session variables.NET controls are fully loaded and you write UI manipulation logic or any other logic over here. we H t t p H a n d l e rP r o c e s s R e q u e s t will write logic which needs to be executed as per page extensions. In this section. we have attached a sample code which shows how the events actually fire. Any logic you would like to inject after the handlers are executed. in case you have controls to be created on runtime. the ASP. Page object is unloaded from the memory. Master page s and the settings. it is guaranteed to be raised on each request. In this event. if you want to update your cache. This event signals that ASP. Before you want the control to H t t p M o d u l e P r e R e q u e s t H a n d l e r E x e c u t e be handed over to the handler any pre-processing you would like to do.NET page and can be used for: Creating controls dynamically. H t t p h a n d l e r logic is executed. we normally use outputcache directive to do caching. It’s now time to send the output to the browser. .7/20/13 H t t p M o d u l e B e g i n R e q u e s t ASP. This event signals that ASP.

} p r o t e c t e dv o i dP a g e _ U n l o a d ( o b j e c ts e n d e r . } v o i dO n R e s o l v e R e q u e s t C a c h e ( o b j e c ts e n d e r .E v e n t A r g sa ) { o b j A r r a y L i s t . Collapse | Copy Code p u b l i cc l a s sc l s H t t p H a n d l e r:I H t t p H a n d l e r { p u b l i cv o i dP r o c e s s R e q u e s t ( H t t p C o n t e x tc o n t e x t ) { c l s H t t p M o d u l e .CodeProject Below is the code snippet for ‘H t t p H a n d l e r ’ which tracks ‘P r o c e s s R e q u e s t ’ event. A d d ( " P a g e : I n i t " ) . } p r o t e c t e dv o i dP a g e _ L o a d ( o b j e c ts e n d e r . A d d ( " P a g e : R e n d e r " ) . A d d ( " P a g e : E v e n t " ) . A d d ( " h t t p M o d u l e : O n A c q u i r e R e q u e s t S t a t e " ) . o b j A r r a y L i s t . o b j A r r a y L i s t .E v e n t A r g sa ) { o b j A r r a y L i s t . o b j A r r a y L i s t . A d d ( " h t t p M o d u l e : B e g i n R e q u e s t " ) . W e b .E v e n t A r g sa ) { o b j A r r a y L i s t . A d d ( " H t t p H a n d l e r : P r o c e s s R e q u e s t " ) . o b j A r r a y L i s t . } p r o t e c t e dv o i dB u t t o n 1 _ C l i c k ( o b j e c ts e n d e r . A d d ( " h t t p M o d u l e : E n d R e q u e s t " ) .E v e n t A r g se ) { c l s H t t p M o d u l e .E v e n t A r g se ) { c l s H t t p M o d u l e . a s p x " ) . } } We are also tracking all the events from the ASP. } } } ASP.com/Articles/73728/ASP-NET-Application-and-Page-Life-Cycle 6/15 . o b j A r r a y L i s t .NET Application and Page Life Cycle . R e n d e r ( o u t p u t ) . Collapse | Copy Code p u b l i cp a r t i a lc l a s s_ D e f a u l t:S y s t e m . A d d ( " < h r > " ) . A d d ( " h t t p M o d u l e : O n U p d a t e R e q u e s t C a c h e " ) . c o n t e x t . C o n t e x t . R e d i r e c t ( " D e f a u l t .E v e n t A r g se ) { c l s H t t p M o d u l e .E v e n t A r g sa ) { o b j A r r a y L i s t . o b j A r r a y L i s t . } } Below is how the display looks like with all events as per the sequence discussed in the previous section. A d d ( " P a g e : V a l i d a t e " ) . o b j A r r a y L i s t . A d d ( " P a g e : L o a d " ) . } v o i dO n P r e R e q u e s t H a n d l e r E x e c u t e ( o b j e c ts e n d e r . www. W r i t e ( s t r+" < b r > " ). } v o i dO n A c q u i r e R e q u e s t S t a t e ( o b j e c ts e n d e r .E v e n t A r g sa ) { o b j A r r a y L i s t . } v o i dO n A u t h e n t i c a t i o n ( o b j e c ts e n d e r . } v o i dO n R e l e a s e R e q u e s t S t a t e ( o b j e c ts e n d e r . A d d ( " h t t p M o d u l e : O n R e l e a s e R e q u e s t S t a t e " ) . } p u b l i co v e r r i d ev o i dV a l i d a t e ( ) { c l s H t t p M o d u l e .E v e n t A r g se ) { c l s H t t p M o d u l e .7/20/13 { o b j A r r a y L i s t .codeproject. U I . P a g e { p r o t e c t e dv o i dP a g e _ i n i t ( o b j e c ts e n d e r . } v o i dO n B e g i n r e q u e s t ( o b j e c ts e n d e r . f o r e a c h( s t r i n gs t ri no b j A r r a y L i s t ) { h t t p A p p . A d d ( " h t t p M o d u l e : O n P r e R e q u e s t H a n d l e r E x e c u t e " ) . } v o i dO n E n d R e q u e s t ( o b j e c ts e n d e r . R e s p o n s e . } v o i dO n P o s t R e q u e s t H a n d l e r E x e c u t e ( o b j e c ts e n d e r .NET page . A d d ( " h t t p M o d u l e : O n A u t h o r i z a t i o n " ) . o b j A r r a y L i s t . } v o i dO n A u t h o r i z a t i o n ( o b j e c ts e n d e r .E v e n t A r g sa ) { o b j A r r a y L i s t .E v e n t A r g sa ) { o b j A r r a y L i s t . A d d ( " h t t p M o d u l e : O n P o s t R e q u e s t H a n d l e r E x e c u t e " ) . R e s p o n s e . b a s e . A d d ( " h t t p M o d u l e : A u t h e n t i c a t e R e q u e s t " ) .E v e n t A r g sa ) { o b j A r r a y L i s t . } p r o t e c t e do v e r r i d ev o i dR e n d e r ( H t m l T e x t W r i t e ro u t p u t ) { c l s H t t p M o d u l e . A d d ( " P a g e : U n L o a d " ) . A d d ( " h t t p M o d u l e : O n R e s o l v e R e q u e s t C a c h e " ) .E v e n t A r g sa ) { o b j A r r a y L i s t .

NET Application and Page Life Cycle . So let’s take some luxury to describe the ASP. the ASP.NET page events in more detail in this section. which is not a good thought. we need to put this logic appropriately in those events. Depending on what task / logic you want to perform. When the page is posted.NET page . hidden values in form of viewstate and data on the HTML inputs. Note : Most of the developers directly use the p a g e _ l o a d method for everything. we have seen the overall flow of events for an ASP. applying themes. Controls Initialized View Form data state What Logic can be written here? Available Available Seq Events www. one is the page which is displayed on the browser which has HTML tags.NET page request.NET page emits out lot of events which can be consumed to inject logic. So it’s either populating the controls.NET page has 2 parts.CodeProject Zooming ASP.NET controls. that would really make your code clean. One of the most important sections is the ASP. setting view state. Once you get these full server controls on the behind code.. you can execute and write your own login on the same and render the page back to the browser. Any ASP.7/20/13 ASP.NET controls with viewstate and form data tied up together on the server. we have not discussed the same in detail.codeproject. Now between these HTML controls coming live on the server as ASP. these HTML tags are created in to ASP.NET Page Events In the above section. So if we can put logic in proper events as per the nature of the logic. etc. everything happens on the page load.com/Articles/73728/ASP-NET-Application-and-Page-Life-Cycle 7/15 .

If you want to add some custom HTML to the output this is the place you can. If this is a post back by a button click or a dropdown change. If your page has validators or you want to execute validation for your page .7/20/13 ASP. Any kind of logic which is related to that event can be executed here. we do not have access to viewstate . This is the place where you will put any logic you want to operate on the controls. etc.NET Application and Page Life Cycle . In this section. 3 PostBackdata Yes 4 Load Yes Yes Yes 5 Validate Yes Yes Yes 6 Event Yes Yes Yes 7 Pre-render Yes Yes Yes 8 Save view state Render Unload Yes Yes Yes 9 10 Yes Yes Yes Yes Yes Yes www. then the relative events will be fired. Yes You can access form data. viewstate and their posted values.Creating controls dynamically.com/Articles/73728/ASP-NET-Application-and-Page-Life-Cycle 8/15 . M a s t e r pages and them settings. Any kind of clean up you would like to do here.NET request objects but not by Server controls. Any logic where you want the form data to be pushed to behind code variables can be done here. we get access to all controls. sorting data on a grid. posted values and neither the controls are initialized. this is the right place to the same. In this event.codeproject. this event can be an opportunity to save control data in to view state. If you want to make final changes to the UI objects like changing tree structure or property values.CodeProject Note : You can access form data etc. before these controls are saved in to view state. 1 Init No No No 2 Load view state Not Yes guaranteed Not guaranteed You can access view state and any synch Not logic where you want viewstate to be guaranteed pushed to behind code variables can be done here. Once all changes to server controls are done. Any setting i n i t i a l i z a t i o n . in case you have controls to be created on runtime. Like flourishing a combobox from the database. by using ASP.

com/en-us/library/ms998536.com/blogs/karlseguin/archive/2006/06/12/146356.net/articles/asp.questpond.microsoft. UML .NET request cycle fires.NET .-).7/20/13 ASP.htm Implementing security using modules and handlers http://joel.CodeProject About the Source Code This source code shows how the complete ASP.aspx Httphandlers and Httpmodules :.http://www.aspx Difference between Httpapplication and global.com/en-us/library/bb470252. We are very much active in making training videos . design pattern .com India I am a Microsoft MVP for ASP/ASP.NET and currently a CEO of a small E-learning company in India. lot of things I have plugged from the below articles.com/Articles/73728/ASP-NET-Application-and-Page-Life-Cycle 9/15 .0 life cycle http://msdn.com/enus/library/system.microsoft. You can download it from here. Sharepoint .aspx Intercepting filters http://msdn. SQL Server training www. Read more about IIS 7. LINQ .aspx Explains how to implement Httphandlers and modules http://msdn. ADO . C# .15seconds.microsoft.aspx License This article. ASP.web. writing books and corporate trainings. along with any associated source code and files. is licensed under The Code Project Open License (CPOL) About the Author Shivprasad koirala Architect http://www. Do visit my site for .httpapplication.asax http://codebetter.NET Application and Page Life Cycle .codeproject.com/Issue/020417. WCF .NET.net2_security.NET . Silverlight . References I am not so smart to write this article by myself .

7/20/13 .com/ [^ ] Shivprasad koirala 17-Jun-13 23:48 My book . Sign In · View Thread · Permalink Re: What tools or software do you use to edit the pictures in your article http://www. Sign In · View Thread · Permalink www. ADO .NET .NET Interview questions and answers Sign In · View Thread · Permalink Re: What tools or software do you use to edit the pictures in your article Dream8Lee 18-Jun-13 0:03 Thank you very much.NET .com/Articles/73728/ASP-NET-Application-and-Page-Life-Cycle 10/15 . SQL Server training and Interview questions and answers ASP. I very like its style.NET interview questions with 500 mostly asked questions in . You really have panache and detail knowledge Sign In · View Thread · Permalink My vote of 5 Excellent Sign In · View Thread · Permalink SagarRS 28-Jun-13 2:47 What tools or software do you use to edit the pictures in your article Dream8Lee 17-Jun-13 23:46 May I ask you what tools or software do you use to edit the pictures in your article? If you can tell me I would be very grateful. LINQ . ASP.codeproject. I had spent a lot of time but fail to find its name because I don't know how to describe my question.balsamiq. Search this forum Profile popups Spacing Relaxed Noise Very High Layout Open All Per page 50 Go Update First Prev Next Wonderful and detail description ukbhatt 15-Jul-13 15:32 SK you are my favorite person in IT Industry with Andy Olsen.NET world .CodeProject Article Top 14 Tw eet 31 Sign Up to vote Poor Excellent Vote Comments and Discussions You must Sign In to use this message board.NET Application and Page Life Cycle . Sharepoint . UML .

CodeProject Nice article my vote 5 Nice article my vote 5 Thanks and Regards Sandeep Sandeep Akhare 12-Jun-13 7:05 If If you look at what you do not have in life. Shripati Nirmalaa 17-Apr-13 22:35 Hi Shiv. Sign In · View Thread · Permalink mahesh27 25-Mar-13 18:11 www. you don't have anything. Sign In · View Thread · Permalink My vote of 5 such great great article Sign In · View Thread · Permalink harshavardhanreddy 5-Apr-13 0:42 My vote of 5 Nice article. 5. Thanks Sign In · View Thread · Permalink Mithileshchandan 15-May-13 20:52 My vote of 5 umeryounas 24-Apr-13 21:23 nice explanation of page life cycle.. thank you ... Easy to understand. If you look at what you have in life.. you open my eyes lifecycle. you have everything. Erik Ochoa 23-May-13 6:14 now I have a better understanding of ASP. I found this article very useful for intermediate level developers. Sign In · View Thread · Permalink GregoryW 22-Apr-13 0:01 Detailed yet simple. Ek number .... Always been expecting new articles.so simple and clear ..codeproject.NET Application and Page Life Cycle .unable to find better of it anywhere Sign In · View Thread · Permalink My vote of 5 Very nice graphic illustrations and good content...com/Articles/73728/ASP-NET-Application-and-Page-Life-Cycle My vote of 5 Vick_Web 22-Mar-13 0:42 11/15 ... Best of luck and keep rocking. " Check My Blog Sign In · View Thread · Permalink My vote of 5 great article Sign In · View Thread · Permalink Naufel Basheer 5-Jun-13 21:59 Nice Job Thanks for this article it's very helpful.7/20/13 ASP..NET Sign In · View Thread · Permalink My vote of 5 excellent article.

I also search Vimeo. I'm really interested to watch your other video. Sign In · View Thread · Permalink SleepyCrat 13-Feb-13 6:05 Master Page events? jfos 13-Feb-13 1:36 Nice article. very clarifying. Great article and video.CodeProject My vote of 5 Nice article. but have you considered adding the life cycle events when 1 or more master pages are introduced? It certainly changes things a bit.NET Application and Page Life Cycle .7/20/13 ASP. where the videos are stored. Sign In · View Thread · Permalink Vick_Web 22-Mar-13 0:42 My vote of 5 great Sign In · View Thread · Permalink Mohamed Ibrahim Omar 5-Mar-13 7:53 Naseer A Khan 2-Mar-13 0:51 My vote of 4 Good Work Sign In · View Thread · Permalink My vote of 4 Nice article and some nice diagrams! Sign In · View Thread · Permalink Reonekot 19-Feb-13 9:52 Video Part 2 That was excellent. Part 2 Spring77 14-Feb-13 11:44 cause the one that you've shared in this page is part3.. am wondering where the part2 is? Sign In · View Thread · Permalink Re: Video Part 2 wbbman 16-Apr-13 10:04 I'd also like to see Part 1 and Part 2 of the video. both video and article. Good job man.codeproject.com/Articles/73728/ASP-NET-Application-and-Page-Life-Cycle Md. but was not able to find it. Humayun Rashed 10-Feb-13 20:31 12/15 . Sign In · View Thread · Permalink My vote of 5 excellent Sign In · View Thread · Permalink nallapula 11-Feb-13 20:29 My vote of 3 Good one Sign In · View Thread · Permalink Kamarajub 11-Feb-13 19:48 My vote of 5 www. Does anyone know how to find Part 1 and Part 2 videos? Sign In · View Thread · Permalink My vote of 5 This is an excellent article for any level of developer.

.7/20/13 great. Sign In · View Thread · Permalink ASP.I ti ss a m ea ss e s s i o no b j e c to n l yt h ed i f f e r e n c ei ss e s s i o no b j e c ti su s e dt o m a i n t a i nt h es e s s i o nf o rp a r t i c u l a ru s e r .T h ev a l u e ss t o r e di na p p l i c a t i o no b j e c ta c c e s s e d t h r o u g h o u ta l lt h ep a g e si na p p l i c a t i o na n dw ec a nc h a n g et h ea p p l i c a t i o no b j e c ti no n ep l a c e t h o s ec h a n g e sa u t o m a t i c a l l yr e f l e c t e di na l lt h ep a g e s . This article is simply awesome http://developer. a s a xf i l ec h e c kt h ep o s th e r e : R i g h tc l i c ko np r o j e c t>A d dN e wI t e m>S e l e c tG l o b a lA p p l i c a t i o nc l a s s . I ft h e ya g a i nl o gi nt ot h ew e ba p p l i c a t i o nt h e yw i l lg e td i f f e r e n ts e s s i o ni db u ta p p l i c a t i o n o b j e c ti ss a m ef o ra l lu s e r so n c ea p p l i c a t i o no b j e c ti sc r e a t e dt h a ta p p l i c a t i o no b j e c ti su s e d t h r o u g h o u tt h ea p p l i c a t i o nr e g a r d l e s so fu s e r ... Great! Keep it up. Sign In · View Thread · Permalink Ranjan. Sign In · View Thread · Permalink Member 8887900 10-Jan-13 2:18 My vote of 4 helpful Sign In · View Thread · Permalink Abhisheik yk 10-Jan-13 0:19 Application object sample in asp. a s a xf i l ea n da c c e s st h o s ev a r i a b l e st h r o u g h o u t t h ea p p l i c a t i o n . a s a xf i l ep e rp r o j e c t ) www. Y o uc a nc r e a t ea p p l i c a t i o no b j e c t si nG l o b a l .com Sheikh Muhammad Haris 9-Feb-13 15:19 modified 22-Mar-13 8:30am. describing in brief.T ok n o wa b o u th o wt oa d dG l o b a l .sheikhharis. This article is simply awesome [modified] My vote of 5.I fo n eu s e re n t e r si nt ot h ea p p l i c a t i o nt h e ns e s s i o n i dw i l lc r e a t ef o rt h a tp a r t i c u l a ru s e ri fh el e a v e sf r o mt h ea p p l i c a t i o nt h e nt h es e s s i o ni d w i l ld e l e t e d .NET Application and Page Life Cycle .com/Articles/73728/ASP-NET-Application-and-Page-Life-Cycle 13/15 .net etechpulse 8-Jan-13 20:01 I n t r o d u c t i o n : A p p l i c a t i o no b j e c ti su s e dt os t o r et h ev a l u e sa n da c c e s sv a r i a b l e sf r o ma n yp a g ei n a p p l i c a t i o n .D 10-Jan-13 9:16 nice article very nice article.codeproject.( N o t e :y o uc a nh a v e o n l yo n eg l o b a l .CodeProject My vote of 5. Sign In · View Thread · Permalink My vote of 5 Best of the Best Sign In · View Thread · Permalink Monjurul Habib 9-Feb-13 1:38 My vote of 5 excellent! Sign In · View Thread · Permalink WilenX 5-Feb-13 7:49 My vote of 5 very nice representation to showcase the article Sign In · View Thread · Permalink talktogurav 20-Jan-13 23:11 My vote of 5 Well done.

codeproject....net page life cycle. Sign In · View Thread · Permalink kavittrivedi 18-Oct-12 0:56 My vote of 5 Member 7967542 17-Oct-12 18:37 I was searching this type of article on plc for a long time... Sign In · View Thread · Permalink Good Article Good Article Sign In · View Thread · Permalink Jayesh Goyani 18-Dec-12 2:27 Best tutorial This is the best tutorial i have ever read Thanks.etechpulse.. Sign In · View Thread · Permalink good articale tripat 7-Jan-13 16:52 i am really satisfied by your articale. But found here.html [^ ] I hope this will help you. awesome article.one of my best trainer given exactly same content and pictures in his training program.CodeProject then http://www.. Sign In · View Thread · Permalink Member 8941289 4-Dec-12 2:59 My vote of 5 Great! Easy to understand! Thanks a lot! Sign In · View Thread · Permalink Member 8687858 23-Nov-12 0:30 My vote of 5 best article Sign In · View Thread · Permalink narinder singh1 18-Oct-12 7:03 My vote of 5 dude. this is very helpful for understand asp.. www.. Sign In · View Thread · Permalink My vote of 5 THX allot Sign In · View Thread · Permalink Nik0la 8-Oct-12 22:02 My vote of 5 garima14 21-Sep-12 1:04 Really surprised to see this article..ur article is very nice...net.com/2012/10/what-is-application-object-in-aspnet.NET Application and Page Life Cycle .com/Articles/73728/ASP-NET-Application-and-Page-Life-Cycle 14/15 . prasad Indraprasad23 5-Dec-12 0:40 Sign In · View Thread · Permalink Comments Thank you shivaprasad for posting an awesome article on asp..keep doing good work..7/20/13 ASP.

.6. 1999-2013 Terms of Use www.130714.NET Application and Page Life Cycle ...a well reputed personality! Sign In · View Thread · Permalink My vote of 5 Its so clear.7/20/13 Sign In · View Thread · Permalink ASP. Sign In · View Thread · Permalink sanndeb 20-Jul-12 0:02 Last Visit: 31-Dec-99 18:00 General News Last Update: 19-Jul-13 12:14 Suggestion Question Bug Answer Joke Refresh Rant Admin 1 2 3 Next » Permalink | Advertise | Privacy | Mobile Web04 | 2.1 | Last Updated 9 Feb 2013 Layout: fixed | fluid Article Copyright 2010 by Shivprasad koirala Everything else Copyright © CodeProject. Sign In · View Thread · Permalink My vote of 5 Excellent Artical !!!! Really Enjoyed thanks !!!!!!! Sign In · View Thread · Permalink ahp-1984 14-Sep-12 2:25 My vote of 5 gr8 Sign In · View Thread · Permalink aryaverman188 4-Aug-12 2:35 my +5. Sign In · View Thread · Permalink Rajesh Biswas 28-Jul-12 1:32 My vote of 5 Compact & smooth.. very helpful article. and so detailed as well! Sign In · View Thread · Permalink aditya_bokade 19-Sep-12 0:31 My vote of 5 abhishekgour 16-Sep-12 5:56 Nice presentation of topic as well as good trick to understand and memorize it for life time..codeproject.com/Articles/73728/ASP-NET-Application-and-Page-Life-Cycle 15/15 .CodeProject My vote of 5 aditya_bokade 21-Sep-12 0:25 aah i did't notice that its shivprasad koirala..