Visual Studio 2008/2010/ASP.NET: How to speed up the delay after rebuilding the solution?

為{幸葍}努か 提交于 2019-12-18 05:22:16

问题


I like to detach my debugger while testing my changes or debugging issues that can be pinpointed by a simple strack trace. After I fix a bug, I build the solution and then refresh the page. There's that initial lag time that occurs after the rebuild before the web page displays. After that, it's as fast as it should be. I heard that the application is loading up all the new DLLs during this time.

Is there any way to reduce the amount of this lag?


回答1:


You can set the optimizeCompilations to true, and batch to false

<compilation batch="false" optimizeCompilations="true" ... >

For asp.net version 3.5 must use this patch in order to work with this optimize switch. http://support.microsoft.com/kb/961884



来源:https://stackoverflow.com/questions/9198742/visual-studio-2008-2010-asp-net-how-to-speed-up-the-delay-after-rebuilding-the

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