Strategy for WCF server with .Net clients and Android clients?
I am using WCF to write a server that needs to be able to communicate with .Net clients, Android clients, and possibly other types of clients.
-
The main client type is a desktop application that will be written to .Net. Typically, this client is on the same intranet as the server. It will make an initial call to the server to get the current state of the system, and then will receive updates from the server when the value changes. These updates are frequent, perhaps once a second.
-
Android clients will connect over the Internet. This client is also interested in updates, but it is not as critical as the desktop client, so a (less frequent) polling scenario might be acceptable.
-
All customers must be logged in to use the service, and when connected over the Internet, the connection must be secure.
I'm familiar with WCF, but I'm not sure which bindings are most appropriate for the scenario and which security solution to use. Also, I haven't been using Android, but I would like to keep it as simple as possible for the person implementing the Android client to consume my services. So what's my strategy?
a source to share