c# - Auto restart windows service -


i trying window service in c#, should running always. if there crash or shutdown, should automatically restart. considered using service controller class, problem how handle if both service controller & service go down @ same time. there watchdog functionality in windows can register , takes care of service start up?

you consider using recovery options of service. can set through properties of service when running services.msc.

please here , here more information.


Comments

Popular posts from this blog

java - WrongTypeOfReturnValue exception thrown when unit testing using mockito -

php - Magento - Deleted Base url key -

android - How to disable Button if EditText is empty ? -