Briefly describe the application of state management in ASP.NET? Add Examples.

Answer

HTTP is stateless, i.e. doesn't remember the state of a user, for example, his previously visited websites, requests and URLs. However, for certain requests, we need to maintain the state of application until the end, and ASP.NET has two approaches for the same: 

  • Client-side state management: in this approach, the state information is directly stored on the client machine. Whenever there is a user request, the required information travels back and forth to cater to Request and response—for example, cookies, query string.
  • Server-side state management: in this method, the state information is stored in user memory. There are more secure domains at the server-side compared to client-side. Application state and session state come under server-side state management including In-Proc, State server and SQL server.

All .net-4.5 Questions

Ask your interview questions on net-4-5

Write Your comment or Questions if you want the answers on net-4-5 from net-4-5 Experts
Name* :
Email Id* :
Mob no* :
Question
Or
Comment* :
 





Disclimer: PCDS.CO.IN not responsible for any content, information, data or any feature of website. If you are using this website then its your own responsibility to understand the content of the website

--------- Tutorials ---