asp.net(.aspx)响应非常慢并且挂起。 [英] asp.net (.aspx) very slow response and hangs.

查看:481
本文介绍了asp.net(.aspx)响应非常慢并且挂起。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Aasp.net(.aspx)页面有很多时间加载(第一次和随后),很多时候它点击页面上的事件直到刷新浏览器并在刷新时显示点击结果(再次需要很长时间) )。



win7,IIS7.5.7600.16385,asp.net4.0

Aasp.net (.aspx) pages get much time to load(first time and subsequently) and many time it hangs when click on an event on page until refresh browser and show clicked result when refreshed(again it takes unusual long time).

win7, IIS7.5.7600.16385, asp.net4.0

推荐答案

最慢速页面加载的常见答案是当程序员尝试在列表框或下拉框中或在多个列表或下拉框中加载一千个项目时。



网页就像魔术技巧,你必须通过交替页面的感知来保持加速。换句话说,您将页面设计为显示信息和选择,然后当用户决定进一步查看信息时,您将加载该信息。在加载信息时,您会显示一个轮子或其他东西来指示移动。



这是快速加载时间之间的平衡,以及足够的信息供用户决定是否有将留在页面上。如果你不知道你需要多少污垢,没有理由在卡车上装载大量污垢。这是浪费时间和资源。如果你喜欢这些污垢,那就回去吧,等等。



这就像打包一个行李箱进行为期2天的旅行。你没有携带任何东西,你装了两套衣服就是这样。
The most common answer for slow page loads is when the programmer tries to load a thousand items in a listbox or dropdown box, or in several list or dropdown boxes.

Webpage are like magic tricks, you have to keep the speed up by alternating the perception of the page. In other words, you design your page to show information and selections, then when the user decides to go further into the information, then you load that information. While loading the information, you show a wheel or something to indicate movement.

It's a balance between fast load times, and just enough information for the user to decide if they will stay on the page. There's no reason to load a ton of dirt in a truck if you have no idea how much dirt you need. That's a waste of time and resources. If you like the dirt, go back and get more and so forth.

It's like packing a suitcase to go on a 2 day trip. You don't bring everything, you pack 2 sets of clothes and that's it.


这篇关于asp.net(.aspx)响应非常慢并且挂起。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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