从visual studio 2008调试时,加载iis网站的速度太慢了 [英] loading of iis website too slow while debugging from visual studio 2008

查看:153
本文介绍了从visual studio 2008调试时,加载iis网站的速度太慢了的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在visual studio 2008中调试了一个asp.net网站。当我通过浏览器访问该网站时(通常的 http:/ / localhost:56789 ),页面加载太慢。看起来好像有一个插槽/连接按顺序加载所有必需的页面/脚本等。

I'm debugging a asp.net website in visual studio 2008. When I visit the website through browser (at the usual http://localhost:56789), the pages load too slow. It looks almost as if there is a single socket/connection loading all the required pages/scripts etc sequentially.

如果我将同一网站发布到本地文件夹并通过常规IIS(Windows 7 / IIS 7.5)访问它,页面加载速度非常快(如预期的那样)。

If I publish the same website to a local folder and access it through the regular IIS (Windows 7/IIS 7.5), pages load really fast (as expected).

有没有办法在调试过程中加快页面加载速度。我需要在visual studio中修改任何设置吗?

Is there a way to make the pages load faster during debugging. Is there any setting I need to modify in visual studio ?

推荐答案

不确定这是否是问题,但是打开你的HOST文件( C:\ Windows\System32\drivers\etc )在文本编辑器中。然后在 :: 1 localhost 前添加。保存它,看看它是否加快了速度。

Not sure if this is the problem, but open your HOST file (C:\Windows\System32\drivers\etc) in a text editor. Then add a # in front of ::1 localhost. Save it and see if that speed it up.

这篇关于从visual studio 2008调试时,加载iis网站的速度太慢了的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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