You need to be a premium member to use this feature. To access it, you'll have to upgrade your membership.
Become a sharper developer and jumpstart your career.
$0
$
. 00
monthly
For Basic members:
$10
For Premium members:
In this article I will explain the state management concept in ASP.NET. State management is a preserve state control and object in an application because ASP.NET web applications are stateless.
State management is very important and useful in ASP.NET. It is also asked in many interviews to fresher and experienced developers. State management is a preserve state control and object in an application because ASP.NET web applications are stateless. A new instance of the Web page class is created each time the page is posted to the server. If a user enters information into a web application, that information would be lost in the round trip from the browser (MSDN). In a single line, State management maintains and stores the information of any user till the end of the user session. Two Types of State Management techniques are available in ASP.NET as in the following figure, Figure 1: State Management Part
Server side
Client Side Now here I am explaining client side state management one by one: Also state management has the following four important parts available on the client side:
I hope you enjoyed the clear state management concept in ASP.NET.
ASP.NET MVC 5 Recipes: A Practical Solution