Skip to content

Latest commit

 

History

History
13 lines (12 loc) · 547 Bytes

README.md

File metadata and controls

13 lines (12 loc) · 547 Bytes

PersistentWebService

a library to keep website alive

Website on IIS will go to die when no visitor for a long time,this library can keep website always alive no matter whatever visitor

Configuration Web.config

Add handler to <handlers> in <system.webServer>

<add name="DummyWatchdog" path="/handler/dummywatchdog" verb="*" type="PersistentWebService.DummyWatchdogHandler" />

Optionally,Add iisbindport to appSettings,which is the port number of your website on IIS

<add key="iisbindport" value="8081" />