Click here to Skip to main content
15,898,790 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi!
I want to implement a chat in my website on asp.net.
Where must I use AJAX?

Thank you!
Posted
Updated 19-Dec-10 10:07am
v2
Comments
Manfred Rudolf Bihy 19-Dec-10 16:07pm    
Edited for minor spelling.

Before you start to think about implementation details like the communication between the client (browser) and the chat server you have to decide what your chat server will be. Of course you can decide to roll your own and also build it into the ASP.NET website itself eventhough I don't advocate that procedure.
Before embarking on this you further need to ask yourself a few questions. Here are a some just to get you started:

1. How many users will my system have
2. How long is a tolerable delay in the display of responses from a chatting partner.
3. Am I really willing to program a chat or will I use an existing platform.

Once you've nailed down your requirements it will be easier to start making the right decisions. Maybe AJAX (Pull) isn't the way to go at all and Comet[^] would be a better choice, but as I said before you better start by laying out your requirements first.


Cheers,


Manfred
 
Share this answer
 
"Where must I use AJAX?" You don't need to AJAX at all, it can be done with standard ASP.NET practices.

If, however, you meant how to use AJAX, then I suggest you conduct some research. Google lists 141,000,000 results for "AJAX"
 
Share this answer
 
Comments
Dalek Dave 19-Dec-10 19:24pm    
Good answer, and yes, it is doable in ASP.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900