LAN messaging using .NET.

I need to implement some kind of communication mechanism in the application, send notifications / messages from one application instance to everyone else. This is a common scenario when someone adds an element or deletes an element, and you want to notify other users that this has happened.

The application runs on the client and connects to the database on the local network. Thus, not all clients access an instance of the application server. Therefore, from what I know, I could use MessageQueues or some form of database polling where I have a table that stores all messages (not perfect).

The problem is that I need to implement this very quickly, so, unfortunately, it cannot be very complicated, but the fastest solution is needed.

thanks for the help!

+5
source share
7 answers

It looks like it will be easier for you to use optimistic concurrency. Suppose things are not deleted and will be dealt with by the affected client when this happens, which should be easier than developing some kind of parallel notification system that will not scale at all ...

, , db - , , , , , ​​..

+2

, , -.

0

, WCF. .

0

, db . - , , , , , - .

, db , .

, ... " ".

, .

0

( ), , - .
, , .

0

All Articles