I am developing an application that should be compatible with Window CE 4.x and higher. So, I decided to choose the .NET compact Framework 2.0 for development.
But now I have a situation where I can’t find a suitable solution for my requirement below.
Demand;
My application requirement is to display information from the database table in the application through the web service.
Problem:
Here the information in the table is dynamic, and it will be inserted every few seconds / minutes, and the .NET CF application should display the latest (last 4 or configured N) information.
I am going to introduce pull technology in an application where the application will make a web service call every 2/5 seconds or a few minutes, but this approach does not look good because it will increase an unnecessary service call because it is possible that new information is inserted after a few minutes.
So, I am thinking of using push technology in an application where the server will send a notification in the .NET compact framework application (client) to a new entry in the database table. The notification has a message with the primary key of the record, so the .NET compact framework application will call the web service method with the primary key when pushing notification from the server and display the information in the application.
The above technological approach looks easy with words, but I have no idea about its implementation.
I tried to find a solution / example for it on the Internet, but could not find.
- ? ?