I am trying to build simple two player Game application in ASP.net/C#. I am not sure is it best to use WebService or WebSocket. I know the basic differences between them, I just need some advice is it better to choose WeSocket or WebService and why?
I am new on both technologies so the great guidance would be appreciated.
I would say use PokeIn. It has DesktopClient for desktop applications that you can benefit from WebSocket in order to communicate them and you can also use the same server side for your browser based solutions. It helps you to call methods from client and server in almost real time without dealing with text parsing etc. PokeIn has its own Websocket server.
1 more benefit is when the customer system is suffering from some firewall etc. PokeIn can create the communication over HTTP interface.