Wednesday, March 21, 2012

Web Chatroom

I'm just curious as to how to at least develop this in ASP.NET. I know how to do it in a Winforms app but in ASP.NET, how is it possible to create a chatroom style application? How does it work? How can several users connect to 1 "console" and see each other sending messages onto the main screen?

Anyone have any ideas/hints/tips on how to achieve this? I thought this would be a nice side project of mine to work on and would love to get started. Maybe if I can, put some AJAX into it (even though ive never used AJAX!)

I made a Chat with Ajax but it does not work that effecient for the end users who is having slow internet connections.

On the other hand Windows communication Foundation is a better solution which i know off. You will need to create Service , Proxy and the End Point.

To keep the service run you will need a Dedicated Server (or at least so some one who keeps it up for u).


thats all very well however not quite what the question was :-)

Question was - how would you go about developing this in ASP.NET? (forget about resources/ajax)


Check the following links.

http://www.dynamicajax.com/fr/AJAX_Web_Chat_ASP_NET-271_290_328.html

http://blogs.msdn.com/coding4fun/archive/2007/03/01/1785048.aspx

http://steveorr.net/articles/WebChat.aspx

http://www.codeproject.com/Ajax/UChat.asp

http://www.codeproject.com/aspnet/ASPNetChat.asp

I hope these help.

No comments:

Post a Comment