I was trying to write a sample chat application using Web Services in .net 2 , but I have no idea how can I inform the clients whenever a new message comes to the chat server.
the Web Service should send the received message to all clients, but I have no idea how I can send the message to all clients. Does anyone can tell me how to do that in simple way?
Thanks for your help;
You can use SignalR
A good example that using SignalR for realtime chat is JabbR and you can find the source code on Github