ASP.NET Web Forms Model

ASP.NET Web Forms Model:


ASP.NET web forms extend the event-driven model of interaction to the web applications. The browser submits a web form to the web server and the server returns a full markup page or HTML page in response.
All client side user activities are forwarded to the server for stateful processing. The server processes the output of the client actions and triggers the reactions.
Now, HTTP is a stateless protocol. ASP.NET framework helps in storing the information regarding the state of the application, which consists of:
  • Page state
  • Session state
The page state is the state of the client, i.e., the content of various input fields in the web form. The session state is the collective information obtained from various pages the user visited and worked with, i.e., the overall session state. To clear the concept, let us take an example of a shopping cart.
User adds items to a shopping cart. Items are selected from a page, say the items page, and the total collected items and price are shown on a different page, say the cart page. Only HTTP cannot keep track of all the information coming from various pages. ASP.NET session state and server side infrastructure keeps track of the information collected globally over a session.
The ASP.NET runtime carries the page state to and from the server across page requests while generating ASP.NET runtime codes, and incorporates the state of the server side components in hidden fields.



Asp.net related other post:

·                     Understanding controllers in Asp.net MVC
·                     Action Method in Asp.net MVC Controller
·                     Controllers and Action Methods in ASP.NET MVC Appl...
·                     Asp.net Step By Step Working with MVC3
·                     Asp.net with c# example - datetime day of week
·                     Asp.net web Development related Important Post Li...
·                     Why the web.cofig file is very important (The Role...
·                     Validate a date using RangeValidator in asp.net c#...
·                     Example of Asp.net PlaceHolder Server Control
·                     Asp.net PlaceHolder Server Control
·                     C# Coding Conventions (C# Programming Guide)
·                     List of Coding Standard guidelines/checklists for ...
·                     What is the best way to create HTML in C# code
·                     Display Data in HTML Table from Database using Asp...
·                     Templates in Asp.net DataList Control
·                     Introduction of Asp.net Datalist Control
·                     How to bind asp datalist control dynamically


Comments

Popular posts from this blog