从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.