To have IIS use a Network-Share (\\server\share) to access the files. You need to make these changes:

  1. Adapt ASP.Net File Change Notification (FCN) on the Web-Server.
    1. Either adapt web.config <httpRuntime ... fcnMode="Single" /> (.NET 4.5 and newer)
    2. ...or set fcnMode = 2 in windows registry​ (recommended)
  2. To monitor how many file system watchers ASP.Net generates, you can use a small aspx/cshtml-file.