How to transfer data to a .NET CF client?

Although it is possible to poll the web service, do you know of another method for changing the changes for the mobile client, except for using the mail transport of the exchange server?

+5
source share
4 answers

Like Mark Seemann worte: I once made a POC client notification system for .NET CF when I was on the Microsoft Dynamics Mobile team.

At that time, I did not find Out-Of-The-Box solutions that could do this, and I did not want to contact the Exchange Server connection, as the intended users did not have an AD account and most certanly did not use the exchange server. So I was in the same situation as now. I started searching for possible solutions ...

I realized that the server does not connect to the client, since the IP address of this is constantly changing (going from 3G to WiFi, losing the connection, etc.). The client had to connect to the server. In addition, I found that most networks allow HTTP connections, but not always configurable TCP connections through user ports.

"Comet" HTTP- (.NET CF) (IIS) , . , .

AsyncHttpHandler , . AsyncHttpHandler IIS.

POC , . : , .

, , , , POC.

+3

, Microsoft Dynamics Mobile ( 2009 ), .NET CF, Exchange Server.

, HTTP- , , .

AFAIK, , Exchange Server. IIRC, , , .

+3

WebSync, IIS/.NET. .

+2

:

  • MSQM
  • TcpListener

For option 1, you need to install another piece of infrastructure, but you will get a standard API and protocol.

For the second option, you need to implement your own protocol.

Both options work only in a closed environment!

-1
source

All Articles