1.

What are the client-side & server-side state management techniques supported by ASP.NET?

Answer»

State Management is to protect state control in an application in light of the fact that ASP.NET web applications are stateless. Another instance of the Web page class is MADE each time the page is posted to the server. When a client ENTERS data into a web application, that data would be lost in the round excursion from the program (MSDN).

In a solitary LINE, State Management keeps up and stores the data of any client till the finish of the client session. There are two types of state management techniques available:

  • Client Side
    • Storing data on the client in various ways.
    • Client-Side state management techniques are as follows:
    • View state (used by default by ASP .NET)
    • Control state
    • Hidden fields
    • Cookies
    • Query string
  • Server Side
    • Storing data in memory on the server
    • Server-Side state management techniques are as follows:
      • Application state
      • Session state


Discussion

No Comment Found