Using WinForms Long Client Surveys in .NET

We need to develop a .NET application, basically it is a WinForms client, which should be notified of changes only from the server in order to update the interface only if necessary, and not every time.

We initially thought about NetTCPBinding, but realized that it had problems with firewalls between domains and secure networks. Now we are considering a long-term survey as a viable option, but we can only find it with WPF and XAML clients.

For example, http://code.msdn.microsoft.com/duplexhttp

But we could not find anything with WinForms. My opinion is that a lengthy survey is related to WCF and it doesn't matter which UI technology is used (in .NET).

Do you think you can use a lengthy poll with a custom WCF channel for WinForms?

I am in the development of PIC, but I do not have much time. Any help in the right direction is greatly appreciated.

Thank you very much Charles

+3
source share
3 answers

You can also check WebSync ( www.frozenmountain.com/websync ), which is a comet server for IIS / .NET. It also has a WinForms client, so it should work well for you. And since all of its standard HTTP traffic should help you avoid problems with firewalls, etc.

+2
source

WCF, - (WinForms, WPF ..). , WCF WS, .

P.S. , - , Visual Studio , . " ".

+1

Source: https://habr.com/ru/post/1780676/


All Articles