I have got WCF service allowing sending messages between several users in LAN – sth like chat.
How should I host it? Any recommandations?
This service just should be enabled all the time
I think about Console Application but I’m not sure if it’s the best solution.
I have got WCF service allowing sending messages between several users in LAN –
Share
There are a lot of good options. As Alexander said – IIS is one. But it depends on what you want to do with it.
Is there some kind of Server-App you start and interact with then just host the service in there.
But for me the best option is usually to host it inside a simple Windows-Service.
For this I write all that is needed in a seperate assembly and use a console-app during my testing and finally just plug the components inside a simple windows-serivce project and install/run it on some server. No need to have IIS running this way.
Here you can see how the windows-service is done: How to: Host a WCF Service in a Managed Windows Service