Advantages and Disadvantages of using view state for state management

Home ASP.Net & C#
MVC
Others




What are the Advantages and Disadvantages of using view state for state         management 
        
     Advantages
  • View state is easy to implement. We can easily enable or disable view state at the page level or at the controller level
  • They are not using any server side resources. It is stored in the client side browser in a hidden field.
  • View state is secure because it stores the data in encrypted format.
  • It is good with HTTP data transfer      
     Disadvantages
  • View state information cannot transfer across pages automatically.
  • If the view state information is very large, it may cause the page load/ post back to be slow.
  • Mobile devices might not have the enough memory capacity to store a large view state data.

No comments:

Post a Comment