如何在asp.net4中增加请求/响应的时间 [英] How to increase the time out for request/response in asp.net4

查看:58
本文介绍了如何在asp.net4中增加请求/响应的时间的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

朋友们,我的项目中有一个照片库,照片网址存储在数据库中,我使用带存储过程的datalist来明智地显示照片页面。我已经让客户根据他们的选择选择最多60页的页面大小。但问题是如果页面大小增加,所有照片都不会被加载。但是,如果它在服务器中运行,则没有问题。我尝试通过增加Web配置文件中的httpRuntime executionTimeout来对其进行排序,但无法成功。请帮帮我

解决方案

httpRuntime executionTimeout是指服务器处理服务器端代码所需的时间。



考虑使用缓存和压缩来提供静态内容,并使用jpeg图像获得尽可能小的图像尺寸,这看起来还不错。



http://bradkingsley.com/enable-caching-in-iis-to-speed-performance/ [ ^ ]



http://www.iis.net/ configreference / system.webserver / httpcompression [ ^

Friends, I have a photo gallery in my project where photos urls are stored in database and I am using datalist with stored procedure to display the photos page wise. I have given the clients to select the page size up to 60 according to their choice. But the problem is that if the page size increases more all the photos do not get loaded. However there is no problem if it runs in the server. I tried to sort it out by increasing the "httpRuntime executionTimeout" in the web config file but could not succeed. Please help me out

解决方案

The httpRuntime executionTimeout" is for the amount of time the server can consume for processing server side code.

Consider caching and compression for delivering static content, and using jpeg images for the smallest image size possible, which still looks good.

http://bradkingsley.com/enable-caching-in-iis-to-speed-performance/[^]

http://www.iis.net/configreference/system.webserver/httpcompression[^]


这篇关于如何在asp.net4中增加请求/响应的时间的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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