After reading this post, I decided to write my own chat application.
Differently from the above post, my application allows more polling, for instance when user presses any key (in order to inform the other one that user1 is writing something) and obviously when a user sends a message.
This causes some problems: often no-one notification is read correctly and the sent message isn’t always read from the other side.
It could be great if there was some way to send and receive different notificaion types (message, alert about new writing, new user joined and so on…).
How can I solve this?
I’m glad to inform you my chat app are working now.
The problem was about two call to wcf service in the same javascript eventhandler (send message button, where I notiified the new message and an alert such as “user is not writing anything”, yeah, I needed to reset the previous alert (“user is writing a message..”).
Now I’m be able to send and receive many notification and all works fine. I’ve tested it with 10 chat page about.
Surely I know I can achieve more functionality and stability by using the framework you have suggested me, but I’m happy to have found a relative simple, customizable and good solution for my purpose.