Calling the ApplicationManager.ShutdownAll method is equivalent to calling the HostingEnvironment.InitiateShutdown method in all application domains managed by this System.Web.Hosting.ApplicationManager instance; however, the ApplicationManager.ShutdownAll method can be called from outside the managed application domains.