I want a single thread of business process to run continuously in .net. For which can I am thinking of making a window service that will run continuously. If this service fails i want web based control for administrator.
Problem 1: If this service fails how can I check this through web based application(I can check by SC command using command prompt but how to move this to web based environment).
Problem 2: I m thinking of making service run continuously by using while(true) loop. Is this is correct way to address this problem.
Problem 3: How can I make sure only one instance run at time?