What is State Management in .Net and how many ways are there to maintain a state in .Net? What is view state ?


Web pages are recreated each time the page is posted to the server. In traditional Web programming, this would ordinarily mean that all information associated with the page and the controls on the page would be lost with each round trip.
To overcome this inherent limitation of traditional Web programming, the ASP.NET page framework includes various options to help you preserve changes — that is, for managing state. The page framework includes a facility called view state that automatically preserves property values of the page and all the controls on it between round trips.
However, you will probably also have application-specific values that you want to preserve. To do so, you can use one of the state management options.
Client-Based State Management Options:
View State
Hidden Form Fields
Cookies
Query Strings
Server-Based State Management Options
Application State
Session State
Database Support



Explore posts in the same categories: ASP.Net Interview Questions


BOOKMARK THIS : del.icio.us | Digg it | Furl | reddit |


Related Questions :

  • What is State Management in .Net and how many ways are there to maintain a state in .Net? What is view state ?
  • Web pages are recreated each time the page is posted to the server. In traditional Web programming, this would ordinarily...
  • What are the disadvantages of view state / what are the benefits ?
  • Automatic view-state management is a feature of server controls that enables them to repopulate their property values on a round...
  • What is ViewState ? and how it is managed ?
  • ASP.NET ViewState is a new kind of state service that developers can use to track UI state on a...
  • What are the different types of Session state management options available with ASP.NET?
  • ASP.NET provides In-Process and Out-of-Process state management. In-Process stores the session in memory on the web server. This...
  • What does the “EnableViewState” property do? Why would I want it on or off?
  • Enable ViewState turns on the automatic state management feature that enables server controls to re-populate their values on a round...
  • what is the difference between blocking and waiting state of process ?
  • A process is said to be in waiting state when it is queuing in the main memory for its turn...
  • Is it necessary to lock application state before accessing it?
  • Only if you're performing a multistep update and want the update to be treated as an atomic   Â...
  • Why state records are needed ?
  • A state record is a People Soft record that must be created and maintained by the Application Engine developer. This...
  • How is the MVC design pattern used in Struts framework?
  • Tn the MVC design pattern, application flow is mediated by a central Controller. The Controller delegates requests to an appropriate...
  • What is session where it runs & what are different types of session handling?
  • Session is a mean to maintain client identity, many client may request a single page further they may visit several...

    Comments are closed.