I'm making a Windows Service using TopShelf. The service is a Local Proxy. the problem is when windows startup my service sometimes does not run successfully. I think the problem is that the service tried to run but it depend of other network service. I use DependsOn() so my Service will wait for others network services but i dont found which one is the real service that my service depends on. I want to avoid by all means StartAutomaticallyDelayed().
I tried with these services:
[login to view URL]("Winmgmt");
[login to view URL]("Netman");
[login to view URL]("Eventlog");
[login to view URL]("Dnscache");
[login to view URL]("LanmanServer");
[login to view URL]("LanmanWorkstation");
[login to view URL]("Dhcp");
I tried with them by separately and all together, but sometimes the service run successfully and sometimes not.
Is the first time that I make a windows service, so I want know which are the services I really must DependsOn for my Proxy Service to run successfully at startup. Because I think the idea of put many service to DependsOn is not good, right?
Im doing it for: Windows 7, 8, 8.1 and 10
If you think that you can fix it send me a good proposal and I will send message by chat soon for do deals.
thanks you !
14 freelancers are bidding on average $150 for this job
Hi, There Senior Systems Engineer here. I would like to complete this project for you. I can provide you with certifications as well. Please let me know when you're available to discuss further.
Hello! I'm not the one who can help you but please know this: - do not make you service dependable on [login to view URL]("Dnscache"); I really hate Developers who does this. This service is really unstable.
Hello, I have 6 years experience in .net. Please share you window service code i will check it and give you solution about your window service. Thanks, Girish