I am currently developing a system based on IRCX AJAX Chat and have several questions regarding server and client implementation; Any suggestions are welcome:
Server
Should it be implemented as a web service or a Windows Form application? I have experience developing servers based on Windows Forms, but I wonder if it will be better implemented as a web service, and if so, why?
Customer
How are web clients being implemented today and what is the preferred method for implementing a web client?
My decision is still
- ASP.NET Web Forms with AJAX Update Panel (this seems the most viable)
- Using jQuery to connect to a web service with JavaScript timeout
Poll
How often should the server be polled for new messages? 0.5 seconds seems a bit excessive, and something between 2 or 3 seconds seems sluggish.
Thanks for your input.
source
share