Hi. I would like to create chat / messenger on my asp.net web site. Something that will look like the chat in facebook, or in gmail. My question is about technology that I should use.
The requirements are simple:
1. Open one-on-one chat window between the site users.
2. The chat window should stay untouched (is it window? or may be some web control or an application?) when the user navigates from one web site page to another
3. For performance reasons, the refresh rate should not be high - I would really prefer not to do polling for new messages every couple of seconds, but rather have this window as a server - to listen to the alerts that are coming and not to do polling.
So the question is what technology can be used for that, and are there any available solutions that I can use.
You would need to make use of this: CSS + JavaScript/jQuery + Ajax + WebService. I'd suggest you to take a look at some chat projects that are available for you and look at their codes and technologies that are used for you to get started. Just in case you
need a paid one, you may want to try out this:
http://www.asp.net/community/control-gallery/item.aspx?i=4536. You can try a live demo
here.
Thanks for the answewrs so far. I'll try to be more specific. The technology that I do not understand is the way to create a chat window that will stay untouched when I navigate from one page in my site to another. Is this just a new window with properties
that make it look as part of the site? or is it some sort of application? I've tried Ajax AlwaysVisibleControl on the site Master page, but it still is refreshed completely when navigating to another page.
Thanks for the answewrs so far. I'll try to be more specific. The technology that I do not understand is the way to create a chat window that will stay untouched when I navigate from one page in my site to another. Is this just a new window with properties
that make it look as part of the site? or is it some sort of application? I've tried Ajax AlwaysVisibleControl on the site Master page, but it still is refreshed completely when navigating to another page.
The AlwaysVisibleControl is just for keeping a control visible on the screen if you scroll around, not for inbetween postbacks.
Facebook doesn't do full page postbacks(though the urls do change), which is why the chat windows stay open. When Facebook does come across a full page postback, they reopen the chat based on settings stored somewhere.
pastch
Member
14 Points
9 Posts
"facebook-like" chat in asp.net application
Dec 12, 2011 07:41 AM|LINK
Hi. I would like to create chat / messenger on my asp.net web site. Something that will look like the chat in facebook, or in gmail. My question is about technology that I should use.
The requirements are simple:
1. Open one-on-one chat window between the site users.
2. The chat window should stay untouched (is it window? or may be some web control or an application?) when the user navigates from one web site page to another
3. For performance reasons, the refresh rate should not be high - I would really prefer not to do polling for new messages every couple of seconds, but rather have this window as a server - to listen to the alerts that are coming and not to do polling.
So the question is what technology can be used for that, and are there any available solutions that I can use.
Thanks.
kedarrkulkar...
All-Star
34213 Points
5493 Posts
Re: "facebook-like" chat in asp.net application
Dec 12, 2011 08:13 AM|LINK
see my old replies...
http://forums.asp.net/p/1540414/3752121.aspx
http://forums.asp.net/p/1509899/3594980.aspx
http://forums.asp.net/t/1541803.aspx/1/10
hope this helps...
KK
Please mark as Answer if post helps in resolving your issue
My Site
vinz
All-Star
126936 Points
17922 Posts
MVP
Re: "facebook-like" chat in asp.net application
Dec 12, 2011 09:48 AM|LINK
You would need to make use of this: CSS + JavaScript/jQuery + Ajax + WebService. I'd suggest you to take a look at some chat projects that are available for you and look at their codes and technologies that are used for you to get started. Just in case you need a paid one, you may want to try out this: http://www.asp.net/community/control-gallery/item.aspx?i=4536. You can try a live demo here.
MessageBox Controls for WebForms | Blog | Twitter | Linkedin
salman beher...
All-Star
30565 Points
5845 Posts
Re: "facebook-like" chat in asp.net application
Dec 12, 2011 10:21 AM|LINK
also below thread helps you..
http://forums.asp.net/t/1354321.aspx
Sincerely,
Salman
pastch
Member
14 Points
9 Posts
Re: "facebook-like" chat in asp.net application
Dec 14, 2011 09:03 AM|LINK
Thanks for the answewrs so far. I'll try to be more specific. The technology that I do not understand is the way to create a chat window that will stay untouched when I navigate from one page in my site to another. Is this just a new window with properties that make it look as part of the site? or is it some sort of application? I've tried Ajax AlwaysVisibleControl on the site Master page, but it still is refreshed completely when navigating to another page.
rossisdead2
Participant
1313 Points
300 Posts
Re: "facebook-like" chat in asp.net application
Dec 14, 2011 11:21 PM|LINK
The AlwaysVisibleControl is just for keeping a control visible on the screen if you scroll around, not for inbetween postbacks.
Facebook doesn't do full page postbacks(though the urls do change), which is why the chat windows stay open. When Facebook does come across a full page postback, they reopen the chat based on settings stored somewhere.
pastch
Member
14 Points
9 Posts
Re: "facebook-like" chat in asp.net application
Dec 15, 2011 06:19 AM|LINK
OK, understood. Thanks, all for the answers.