当我修改一个文件,单声道ASP.NET没有看到我的变化,我不得不这样做:
When I make changes to a file, Mono ASP.NET doesn't see my changes, I have to do this:
sudo /etc/init.d/apache2 restart我记得当单ASP.NET执行ASP.NET某处缓存编译。之前,当更新的页面不上来,我只是删除缓存编译code。我只是忘了确切的路径
I remember when Mono ASP.NET executes ASP.NET it caches the compilation somewhere. Before, when the updated page doesn't come up, I just delete that cached compiled code. I just forgot the exact path
如何使ASP.NET单检测我在节目中所做的更改,而无需重新启动Web服务器?
How to make Mono ASP.NET detects the changes I made in program, without restarting the web server?
推荐答案这听起来像FileSystemWatcher对象无法看到的变化从窗户那边传来。
It sounds like the FileSystemWatcher cannot see changes coming from the windows side.
在你的窗户边更新,转到Linux方面做:
After you update on the windows side, go to the linux side and do:
触摸的Web.Config
touch Web.Config
或者在目录中的任何文件。这应该通知ASP.Net加载新的code。
or any file on the directory. This should notify ASP.Net to load your new code.
更多推荐
如何刷新单ASP.NET页面无需重新启动Web服务器?
发布评论