在缓存asp.net开发服务器 [英] caching in asp.net development server
问题描述
详细信息:
我使用了Windows XP SP3的Visual Studio 2005。该网站是存储文件系统上。我用颠覆签从服务器上code。
Details: I am using visual studio 2005 on windows xp sp3. The website is stored on file system. I used subversion to checkout the code from the server.
下面是问题:
当我运行应用程序的第一次一切都很好。但是,当我在做应用的变化,然后我就应该能够通过浏览器重新加载页面看到这些变化。但它没有发生。我不得不停止开发服务器并重新运行,这将启动开发服务器的新实例的应用程序,现在我可以看到的变化。这需要像3-4分钟,这是一个很大的时候,我买不起的浪费。
Here is the issue: When I run the application for the first time everything is fine. But when I makes changes in the application then I should just be able to see those changes by reloading the page in browser. But it's not happening. I have to stop the development server and re-run the application which will start a new instance of development server and now I can see the changes. This takes like 3-4 minutes and it's a lot of waste of time which I can't afford.
有关我的同胞开发商谁在这里很长一段时间,一切都只是工作的罚款。他可以只修改页面并重新加载页面在浏览器中看到的变化。
For my fellow developer who is here for a long time everything is just working fine. He can just modify the page and reload the page in browser to see the changes.
阅读网页上的一些论坛上,我试图清除我的浏览器(IE,火狐)的缓存,它不工作。因此,它不是一个浏览器的缓存问题。它涉及到缓存开发服务器。
Reading some forums on web, I tried to clear the cache of my browser (IE, Firefox) and it's not working. So, it's not a browser's cache issue. It's related to cache in development server.
任何想法都AP preciated!
Any ideas are appreciated!!!
推荐答案
感谢您的帮助球员。它实际上是我的错。昨天之前,我确实禁用目录的监察一天,因为它没有让我建立的网站。我只是发现了一些论坛,解决方案。我不知道这是什么东西在那个时候,我只是高兴,它的工作。
Thanks for the help guys. It was actually my fault. I actually disabled directory monitory day before yesterday because it wasn't allowing me to build the website. I just found that solution on some forum. I had no idea what that thing was at that time, I was just happy that it worked.
这是链接:
http://support.microsoft.com/kb/911272
我为'HKLM \\软件\\微软\\ ASP.NET \\ FCNMode注册表项值设置为2。如果我将它设置为0,则项目进入一个无限积聚,可能是因为慢的机器。值2为我工作。
I set the value to 2 for 'HKLM\Software\Microsoft\ASP.NET\FCNMode' registry key. If I set it to 0 then project goes into an infinite build, may be it's because of the slow machine. The value 2 works for me.
这篇关于在缓存asp.net开发服务器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!