.NET client-server communication over unreliable network
I am working on new a RIA that will most likely be developed using WPF. This application will communicate with a Web Service over an unreliable network (e.g. 3G).
How do I achieve reliable communication in scenarios like -
A "Create" operation was successful on the server/WebService (say a new record was created) but the response containing the record identifier couldn't make back it to the client application.
Process payment which should be an atomic operation
Is MSMQ with WCF the best option here or are there known strategies and p开发者_如何学运维atterns to achieve reliability on unreliable networks (e.g 3G) without using Messaging Frameworks?
It is possible to use MSMQ across the HTTP but you'll be much better off if you use the open source RabbitMQ queuing framework. It also includes a WCF binding that you should be able to use for your scenario. WCF with MSMQ is great for inside the firewall but it wasn't designed for the internet in mind.
精彩评论