What are the ways to achieve State Management in ASP.NET?

 Posted by Nagasundar_Tn on 12/1/2012 | Category: ASP.NET Interview questions | Views: 2527 | Points: 40
Answer:

Whenever the post back happens we need to store the previous data because a new instance of the Web page class is created each time the page is posted to the server.So to achieve this StateManagement comes to play.

We can broadly divide StatementManagement into two types such as Client and Server side based Management options.


Client-Based State Management Options
View state

Control state

Hidden fields

Cookies

Query strings


Server-Based State Management Options
Application state

Session state

Profile Properties

Cache


Asked In: GAVS Technology | Alert Moderator 

Comments or Responses

Login to post response