Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C# WCF
Hi All,
 
I need to implement a very reliable web Cliente-Server communication layer. The client and the server are need to be syncroniced all the time. I'm very lost on how to implement this.
 
An example of what I need is:
 
Client: Check this field (ID345)
Server: I have just checked the field, here is the answer.
Client: Thank you, I have it.
Server: I have just marked the petition as processed.
 
Client: Check this field (ID345)
Server: I had jet done. Don't ask me again this petition.
 
===================
 
If there are a communication problem:
 
Client: Check this field (ID346)
Server: ........
Client: Check this field (ID346)
Server: ........
Client: Check this field (ID346)
Server: ........
Client: Check this field (ID346)
Server: I have just checked the field, here is the answer.
Client: ....
Client: Check this field (ID346)
Server: I had done. Don't ask me again this petition.
Client: Thank you. I have it.
 

I don't know what technology is the best to do this. The application is a C# .NET MVC3.
 
It would be a good idea user WCF or the are simpler alternatives?
 
Thank you very much.
Posted 3-Dec-12 1:51am
Edited 3-Dec-12 1:57am
v2
Comments
Programm3r at 3-Dec-12 8:36am
   
Hi - I would go the WCF route. The handshake protocol will work - obviously your WCF service will require a back-end to store state.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 550
1 mhegazy94 460
2 Ravi Bhavnani 230
3 Kornfeld Eliyahu Peter 185
4 Shemeemsha RA 160
0 Sergey Alexandrovich Kryukov 7,295
1 OriginalGriff 6,841
2 CPallini 5,420
3 George Jonsson 3,654
4 Gihan Liyanage 2,797


Advertise | Privacy | Mobile
Web01 | 2.8.140922.1 | Last Updated 3 Dec 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100