Click here to Skip to main content
15,885,546 members
Home / Discussions / C#
   

C#

 
GeneralRe: Chat Application Pin
Kevin Marois9-Sep-14 11:58
professionalKevin Marois9-Sep-14 11:58 
GeneralRe: Chat Application Pin
Ravi Bhavnani9-Sep-14 12:00
professionalRavi Bhavnani9-Sep-14 12:00 
GeneralRe: Chat Application Pin
PIEBALDconsult9-Sep-14 13:58
mvePIEBALDconsult9-Sep-14 13:58 
GeneralRe: Chat Application Pin
Kevin Marois9-Sep-14 14:01
professionalKevin Marois9-Sep-14 14:01 
GeneralRe: Chat Application Pin
PIEBALDconsult9-Sep-14 14:16
mvePIEBALDconsult9-Sep-14 14:16 
AnswerRe: Chat Application Pin
PIEBALDconsult9-Sep-14 12:20
mvePIEBALDconsult9-Sep-14 12:20 
GeneralRe: Chat Application Pin
Kevin Marois9-Sep-14 12:27
professionalKevin Marois9-Sep-14 12:27 
GeneralRe: Chat Application Pin
PIEBALDconsult9-Sep-14 13:25
mvePIEBALDconsult9-Sep-14 13:25 
Kevin Marois wrote:
Each Conversation would have a unique Id and a list of Participants.


I put it in a database. Each message has its own ID, the ID of its parent, and the ID of the first message in the thread. Each message also has its own set of recipients (many-to-many relationship between Message and User). The client could then display each message as it arrives, or show the entire thread in a TreeView.


Kevin Marois wrote:
API notifying clients


"Push" sucks; always has, always will. I always use polling; it allows the client/user to control frequency or even disable polling altogether. I also put in a "get messages now" feature. The server should only handle requests as they are made and not try to keep track of all the possible connections or it won't scale well. You probably also don't want to waste cycles re-trying broadcasts to clients that have lost connectivity. If no one is asking for data, don't try to send it; just wait.
GeneralRe: Chat Application Pin
Kevin Marois9-Sep-14 15:07
professionalKevin Marois9-Sep-14 15:07 
GeneralRe: Chat Application Pin
PIEBALDconsult9-Sep-14 15:58
mvePIEBALDconsult9-Sep-14 15:58 
AnswerRe: Chat Application Pin
raju melveetilpurayil9-Sep-14 12:46
professionalraju melveetilpurayil9-Sep-14 12:46 
GeneralRe: Chat Application Pin
Kevin Marois9-Sep-14 12:47
professionalKevin Marois9-Sep-14 12:47 
QuestionRe: Chat Application Pin
raju melveetilpurayil9-Sep-14 12:55
professionalraju melveetilpurayil9-Sep-14 12:55 
AnswerRe: Chat Application Pin
Kevin Marois9-Sep-14 12:56
professionalKevin Marois9-Sep-14 12:56 
GeneralRe: Chat Application Pin
raju melveetilpurayil9-Sep-14 13:02
professionalraju melveetilpurayil9-Sep-14 13:02 
QuestionThumbnailPhoto + DataTable + GridView Pin
Member 110296479-Sep-14 2:05
Member 110296479-Sep-14 2:05 
QuestionRe: ThumbnailPhoto + DataTable + GridView Pin
ZurdoDev9-Sep-14 2:22
professionalZurdoDev9-Sep-14 2:22 
AnswerRe: ThumbnailPhoto + DataTable + GridView Pin
Member 110296479-Sep-14 2:30
Member 110296479-Sep-14 2:30 
QuestionSend http request with Windows Mobile through VPN installed on PC Pin
Wakonda8-Sep-14 2:58
Wakonda8-Sep-14 2:58 
AnswerRe: Send http request with Windows Mobile through VPN installed on PC Pin
Eddy Vluggen8-Sep-14 8:08
professionalEddy Vluggen8-Sep-14 8:08 
AnswerRe: Send http request with Windows Mobile through VPN installed on PC Pin
Zain Ul Abidin8-Sep-14 21:05
Zain Ul Abidin8-Sep-14 21:05 
AnswerRe: Send http request with Windows Mobile through VPN installed on PC Pin
Bernhard Hiller8-Sep-14 21:34
Bernhard Hiller8-Sep-14 21:34 
QuestionSorting a generic list ? Pin
Member 105035147-Sep-14 23:51
Member 105035147-Sep-14 23:51 
SuggestionMessage Closed Pin
8-Sep-14 20:19
professionalGeorge Jonsson8-Sep-14 20:19 
GeneralRe: Sorting a generic list ? Pin
Richard MacCutchan8-Sep-14 20:36
mveRichard MacCutchan8-Sep-14 20:36 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.