I have a software package which has web, windows service, and SQL Server components.
I need to make sure that SQL Server is up and running before the service starts - when the machine starts/reboots.
Please suggest a good approach for doing this.
I have a software package which has web, windows service, and SQL Server components.
I need to make sure that SQL Server is up and running before the service starts - when the machine starts/reboots.
Please suggest a good approach for doing this.
Copyright © 2021 Jogjafile Inc.
The following link is helpful if you want to do such dependency settings in your C# Windows Service itself.
creating service dependency using C#