如何减少asp.net中的viewstate参数大小? [英] How to decrease viewstate parameter size in asp.net?

查看:128
本文介绍了如何减少asp.net中的viewstate参数大小?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,

我有一个镀铬扩展程序,它打开一个网站并到达所需的页面,但它变得更慢。我找到的原因是网站_ViewState参数的大小我可以使用chrome扩展来控制大小吗?

Hi there,
I have a chrome extension which opens a website and reaches to the desired page in it but it gets slower.The reason i found is that the size of _ViewState parameter of the website increases.how can i control the size using chrome extension?

推荐答案

查看本文减少 Viewstate 大小ASP.Net



http://ashishnangla.com/2011/07/21/reducing-size-of-viewstate-in-asp- net-webforms-by-writing-a-custom-viewstate-provider-pagestatepersister-part-12 / [ ^ ]



和本文建议压缩视图状态,或者将其存储在服务器上以减少视图状态对页面大小的影响。也请查看这篇文章。



http://www.sitepoint.com/aspnet-performance-tips/ [ ^ ]
Check this article in reducing Viewstate size in ASP.Net

http://ashishnangla.com/2011/07/21/reducing-size-of-viewstate-in-asp-net-webforms-by-writing-a-custom-viewstate-provider-pagestatepersister-part-12/[^]

and this article suggests to compress the view state, or store it on the server in order to reduce the impact that view state has on your page size.Check this article too.

http://www.sitepoint.com/aspnet-performance-tips/[^]


这篇关于如何减少asp.net中的viewstate参数大小?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆