Click here to Skip to main content
15,887,746 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
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
Updated 3-Dec-12 1:57am
v2
Comments
Programm3r 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)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900