Articles → ASP .NET MVC → How MVC Maintains Values Without Viewstate
How MVC Maintains Values Without Viewstate
- One is a sample MVC application that contains a textbox and a button
- Other is another sample web form application that also contains the same set of controls i.e. textbox and button.
Click to Enlarge
- Run the application by pressing F5 (run one application at one time)
- Open developer tool (press F12)
- Go to Network tab
- Click on ‘Start Capturing’ (see the following figure)
Click to Enlarge
- Enter some value in textbox
- Click on the button.
- Click on ‘Stop Capturing’
- Click on ‘Got to detailed view’ button
Click to Enlarge
Click to Enlarge
But How The Values Remain Intact In MVC?