I'm having trouble with disabling File Change Notification on my .NET 2 / 3.5 webserver. I have an app that removes directories once in a while, every time that happens I get 'dir change or directory rename
HostingEnvironment initiated shutdown'
I put this key in, as instructed - then rebooted.
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ASP.NET]
"FCNMode"=dword:00000001
-Is it in the wrong place, when I delete a directory the site still recycles?
Also:
-Is there any way to switch of FCN programatically via my global.asax or any other method?
-If so would setting up my own FCN service (that just monitors certain config files) and using 'System.Web.HttpRuntime.UnloadAppDomain();' be identical to the native one?