ASP.NET Page Lifecycle with Web Stimulus

Page Lifecycle Obtains New Dimension 

Web Stimulus adds another dimension to the ASP.NET page lifecycle. A page is broken down into two parts (objects) and each object has its own lifecycle.

Web Stimulus page lifecycle. Click for larger image.

On an HTTP request the ASP.NET server creates an instance of the server part of the page (the server object). This server object has a lifecycle of the usual ASP.NET page except for the rendering stage. The Web Stimulus server framework cancels the ASP.NET rendering stage. It serializes the state of the page and marshals it within the HTTP response to the client upon completion of the server stage and destruction of the server side instance. The page state is marshaled from server to client within data packets. (See more about data packets here).

The client stage starts when the Web Stimulus Client receives the serialized state and creates an instance of a client part of the page (the client object). The code of the client page is transferred to the client only on the first response or after any page code modifications. The Web Stimulus client framework restores the serialized state and then facilitates the ASP.NET page lifecycle on the client much like its lifecycle on the server. It includes binding data to the page controls and rendering dynamic HTML. The difference is that on the client the dynamic HTML is rendered directly to the browser without incurring any network overhead. Subsequent requests will trigger the same sequence of events, but the client part of the code will already be cached on the client.

Technology Highlights

All-Tiers Acceleration Tool. Web Stimulus is used to effectively resolve the performance bottlenecks of any ASP.NET application on all tiers. more...

Fewer Limitations. Web Stimulus removes many web application limitations and solved many web performance problems. more...

Page Lifecycle. Web Stimulus adds another dimension to the ASP.NET page lifecycle. It facilitates the page's second ASP.NET lifecycle on the client. more...

Page State. Web Stimulus raises web page statefulness to a new level. It automatically allows restoring not only the state of controls, but also the state of any other page member. more...

Cached Page Lifecycle. Web Stimulus maximizes page efficiency by assembling it on the client using valid cached page elements and elements downloaded from the server. more...

Optimizing ViewState. Web Stimulus completely removes ViewState from the download traffic and reduces its payload 3-5 times in the upload traffic. more...