且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何刷新单ASP.NET页面无需重新启动Web服务器?

更新时间:2022-11-06 16:03:04

这听起来像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.