What is the best Design/Way to keep user connected ?

Posted by Fasih Hansmukh on Stack Overflow See other posts from Stack Overflow or by Fasih Hansmukh
Published on 2010-12-07T06:01:51Z Indexed on 2010/12/28 8:53 UTC
Read the original article Hit count: 245

Filed under:
|
|
|
|

Am working on a POC for self learning in which I want to keep my user connected in LIVE pattern. For example, A game in which 4 user can play at a time , here I need to keep this user connected to my game .

M not good at Socket type of programming and love to do that in Services way.What i wana know is 'What is the best way of doing this'. According to my initial Brain Storming, I have decided that I will use SilverLight(In Browser Or Out of Browser) as Front end [I have no issue in that].

I m more concern in back end. Either I make an handler or make a WCF service or use full duplex service and use pooling mechanism for that. As a random thought I come up with a Timer type logic that will fire every after 10 seconds at clients end and get status like

  • Is it now Its turn to roll a dice

  • Home many user left (in case if some of them left)

  • What are connected user status in game like there score/points ect and update
    game view according to this at his end

Kindly place your best answers here that will help me to learn this.

Regards and thanks in Advance

EDIT:

Starting Bounty as i need more feedback.

FH

© Stack Overflow or respective owner

Related posts about c#

Related posts about Silverlight