This repository was archived by the owner on Nov 1, 2018. It is now read-only.
This repository was archived by the owner on Nov 1, 2018. It is now read-only.
Support app_offline.htm #81
Closed
Description
- Deployer uploads app_offline.htm (case insensitive)
- HPH serves app_offline.htm for any new incoming requests
- HPH signals process shutdown (SignalR, WebSockets) (opt-in web.config: signalShutdown=true ?)
- Ctl+C https://msdn.microsoft.com/en-us/library/ms683155(v=vs.85).aspx
- Ctl+Break? Can Hosting receive both of these? Break might be more correct.
- General feature for graceful shutdown
- HPH waits for process to end with timeout if shutdown signal was requested&sent
- Deployer needs to find out when the process is down / the files are unlocked
- Retry loop on deletefile?
- Deployer uploads new files
- Deployer deletes app_offline.htm
- HPH restarts the back-end process
Initial HPH work completed by end of Feb.
Deployer developed in parallel
Update publish-iis to add signalShutdown to the web.config