What does the __VIEWSTATE hold?

前端 未结 6 1681
梦谈多话
梦谈多话 2020-12-06 10:34

I\'m sorry for maybe making such a basic question but in ASP.NET websites what does the __VIEWSTATE input field represent?

Also, is there any way to compute it\'s va

6条回答
  •  臣服心动
    2020-12-06 11:17

    The easiest way of doing this in Razor is putting this on a view:

    @{
        throw new Exception();
    } 
    

提交回复
热议问题