Hi,
I think that you can solve this problem in various ways. You need some communication protocol for your app. Few suggestions:
1. Create database table where you will store messages. Your client app will query this table asynchronously for new messages on app start and on some interval (i.e. 1,2 or 5 minutes) and save data to this table when some event occur to notify others. Add fields like:
- MessageType (string) and store messages like: EmployeeCreated, EmployeeUpdated etc..
- ObjectID which will contain ID from specific table, i.e. from Employess table
- MessageTime - when message was created
- UserID - ID of user who created this message
2. Use SqlDependency class. I didn't use this, but i think that can help you.
3. Use UDP to asynchronously send and receive packets in your network. Packets can be send as string, xml, json or whatever you want.
You can find many tutorials on CodeProject.
Good start for UDP:
A Chat Application Using Asynchronous UDP sockets[
^]
SQLDependency:
Query Notification using SqlDependency and SqlCacheDependency[
^]
I hope you find this answer useful :)