المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : The best method for designing a low profile client application



C# Programming
12-07-2009, 06:23 AM
Hi all.

I would like to write a program that will function as a client on a remote computer. The idea is that at a given time i will be able to request specific actions from the client application. Remotely, of course.

Up to now i have considered two ways of doing this:
1. Use a DB on the server. The client will poll the DB for tasks at a standard rate and act as insrtucted there.
2. Use a web-service. The client will call a getTasks() method at a standard rate.

Both of these methods include polling the server at a fixed interval. This is necessary, since i need the client application to respond almost immediateley to server requests.

The thing is, i don't want these applications to interfere with the user's use-experience. I don't want him to feel that he has my application running in the background and polling every now and then.

So:
Are my concerns justified?
If so, what would you suggest as a substitute?
If not, which of the above would you suggest?

Thanks for reading all the way down here. I will really appreciate your responses.
SummerBulb.