Until now I had a windows application that functions as a server, this server is connected to a SQL server and communicating with clients application via TCP/IP.
Each windows server can run a few of my server application. Each server application connects to a different database and use different TCP port.
The IT requested that the server will be replaced to work as a service, because one major issue they have is that when restarting the server, it's not auto login a user that can start the server application and that stuck all the clients connected to the server. The IT a las mention they cannot create a autologgin registry for security reasons.
I tried to look on the internet and saw those answers:
How can I run an EXE program from a Windows Service using C#?
Which process in windows is user specific?
How to run console application from Windows Service?
How can a Windows Service start a process when a Timer event is raised?
Can a windows service communication to SQL server and open ports without any login to the windows (after restart)?
If I do change the server application to a service. I can run only one service. So I won't have a few services per windows? and I also can't run my server application from this service because of the login issue?