What is view state C#?

View State is the method to preserve the Value of the Page and Controls between round trips . It is a Page-Level State Management technique. View State is turned on by default and normally serializes the data in every control on the page regardless of whether it is actually used during a post-back.

Read more

What is session state?

Session state. Session state is an ASP.NET Core scenario for storage of user data while the user browses a web app . Session state uses a store maintained by the app to persist data across requests from a client. The session data is backed by a cache and considered ephemeral data.

Read more