We are running a client-server application developed in Winforms C# (.net framework 4.0), that has the following components
- Client (Windows application)
- Server (Console Application)
We are studying the possibility of implementing the server (the console application) as a windows service.
Let me first outline the approach we have decided to take
- Create a windows service project (using windows service project template)
- Integrate/encapsulate the server functionality into the windows service
There is just one single question for which we need an answer. The attempt here is to make this question as objective as possible so it can be classified as a real question.
Do we need to convert the Server to a dll project?
Or can we give a reference to the server exe file in the windows service project?
Personally I do not think the second option is possible. But I would like to know if i am missing something.
Thanks a ton in advance
Romi