c# wcf duplex communication -


i have write online chess program using wcf. i'm new service programming, please give me advice.

i thought of using duplex communication, service poll database , call client, if opponent has made new step. don't think quite optimal solution. please tell me better alternatives can here?

thanks lot.

depends on type of clients use service. if example clients .net clients use wcf net.tcp communication , set callback contract clients need implement , service can call when makes move. if use other type of clients polling best way go.


Comments

Popular posts from this blog

jasper reports - Fixed header in Excel using JasperReports -

media player - Android: mediaplayer went away with unhandled events -

python - ('The SQL contains 0 parameter markers, but 50 parameters were supplied', 'HY000') or TypeError: 'tuple' object is not callable -