How does work ViewState in MVC?

View state is the method that the ASP.NET page framework uses to preserve page and control values between round trips. When the HTML markup for the page is rendered, the current state of the page and values that must be retained during postback are serialized into base64-encoded strings .

Read more

What is MVC page life cycle?

At a high level, a life cycle is simply a series of steps or events used to handle some type of request or to change an application state . You may already be familiar with various framework life cycles, the concept is not unique to MVC. For example, the ASP.NET webforms platform features a complex page life cycle.

Read more