Quantcast
Channel: Visual C# forum
Viewing all articles
Browse latest Browse all 31927

Pointers and tips for creating a WPF/WCF application with real time updates

$
0
0

Hi all,

I've been banging my head against this one for a couple of weeks now and I can't seem to find any good articles
and don't know which book(s) to read to figure this out.

The current setup:
I have a WPF application with a datagrid containing a list of items that are to be processed.
The WPF application (today) polls a WCF service which fetches the items and their current status from a SQL Server
database.

The setup I would really like to achieve:
The WPF application initially loads all the data from the WCF service and publish it in the datagrid and then
through some form of push or similar the task list will be updated as soon as some item changes status, instead
of having it as it is today when I poll the WCF in certain intervals to retrieve a complete data refresh of the
entire item list.

The WPF application right now running on five machines at home with a central, 3rd party hosting service hosting
the WCF service and the SQL server. So, in order to achieve this where do I look? SignalR? Duplex WCF service? Xsockets.net?

And how can I get a hint about something being updated and flag it to the clients interested in information regarding
the item being updated? Should I have the service somehow poll the database or can I "bind" the collection in the WCF
service to SQL server somehow? Or should I queue it and handle it separately using .NET Queues of MSMQ?

And while on the subject, if I run different item lists on different machines, how can I "direct" the correct data
to the client wanting updates on a particular item or collection of items?

I'm sorry if this is a newbie question, but I'm really not used to these subjects and I really don't know where to
turn to in order to learn about them.

Any help, tips or hints would be greatly appreciated.

//JaggenSWE

Viewing all articles
Browse latest Browse all 31927

Trending Articles