loading of iis website too slow while debugging from visual studio 2008

喜夏-厌秋 提交于 2019-12-12 02:37:10

问题


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.

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

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


回答1:


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.




回答2:


I would debug through normal IIS if Cassini is slow.

Just go to tools->attach to process and attach to the IIS process.



来源:https://stackoverflow.com/questions/5938751/loading-of-iis-website-too-slow-while-debugging-from-visual-studio-2008

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!