private void OnAppFileChange(Object sender, FileChangeEvent e) { // shutdown the app domain if app file changed Debug.Trace("AppDomainFactory", "Shutting down appdomain because of application file change"); string message = FileChangesMonitor.GenerateErrorMessage(e.Action, e.FileName); if (message == null) { message = "Change in GLOBAL.ASAX"; } HttpRuntime.ShutdownAppDomain(ApplicationShutdownReason.ChangeInGlobalAsax, message); }
private void OnAppFileChange(Object sender, FileChangeEvent e) { // shutdown the app domain if app file changed Debug.Trace("AppDomainFactory", "Shutting down appdomain because of application file change"); HttpRuntime.ShutdownAppDomain("Change in GLOBAL.ASAX"); }
private void OnAppFileChange(object sender, FileChangeEvent e) { HttpRuntime.ShutdownAppDomain(ApplicationShutdownReason.ChangeInGlobalAsax, "Change in GLOBAL.ASAX"); }