Building an AJAX Based Web Chatting Application using ASP.NET 2.0
page 1 of 6
Published: 03 Apr 2007
This article helps you to build a real world chatting application using the AjaxPro.NET Framework.
by Xianzhong Zhu
Average Rating: 
Views (Total / Last 10 Days): 90937/ 55


This article will present you with a Web chatting application, which is based on the famous open source AjaxPro.NET library. Here, we will establish ourselves a nice little multi-user chat application, much like the famous MSN Messenger. We will build the application heavily on JavaScript programming (which is decided by the AjaxPro.NET Framework which supports accessing .NET library through the client-side JavaScript way) under ASP.NET 2.0 and SQL Server Express Edition environments.

View Entire Article

User Comments

Title: Chat Application   
Name: Vipin
Date: 2013-01-22 11:45:09 AM
Article was good.

I have create an application based on this tutorial..

Chat with me on below link to know my experience on this,
Title: hi   
Name: prabhu
Date: 2013-01-22 6:18:37 AM
hi i had read your article its gud .can please send me the database and stored procedure plz...
Title: yy   
Name: yy
Date: 2012-10-16 5:05:10 AM
Title: 11   
Name: 22
Date: 2012-09-15 3:31:19 AM
Title: chat Application   
Name: Sonal Shinde
Date: 2012-06-09 2:30:15 AM
U r application such nice, but i read feedback. so many errors in this application. i also use & got this error,How does the person move from the main page to the chat page? & when user login then on main page not display user name there display sever name. so u have solutions then plz send me. Its really urgent
Title: dszc   
Name: zsdc
Date: 2012-05-22 3:27:11 AM
Title: 2012 NFL jerseys   
Name: NIKE NFL jerseys
Date: 2012-05-20 11:39:53 PM
[/pre]Cheap NFL,NBA,MLB,NHL
[url=]Jerseys From China[/url]
[url=]2012 nike nfl Jerseys[/url]
[url=]cheap China Jerseys[/url]
[url=]Sports Jerseys China[/url]
[url=]NFL Jerseys China[/url]
[url=]NBA Jerseys China[/url]
NHL Jerseys China
[url=]MLB Jerseys China[/url]NFL jerseys For Sale online.All Our Jerseys Are Sewn On and Directly From Chinese Jerseys Factory
[pre]We Are Professional China jerseys Wholesaler
[url=]Wholesale cheap jerseys[/url]Cheap mlb jerseys
[url=]2012 mlb all atar jerseys[/url]
[url= [/url]Cheap China Wholesael[/url]
[url=]Wholesale jerseys From China[/url]
[url=]2012 nike nfl Jerseys[/url]Free Shipping,Cheap Price,7 Days Deliver
We are professional jerseys manufacturer from china,wholesal
sports [url=]Jerseys From China[/url]
[url=]NFL jerseys China[/url]
[url=]NHL Jerseys China[/url]
[url=]NBA Jerseys China[/url]
[url=]MLB Jerseys China[/url]
[url=]China Jerseys[/url],Free Shipping
We are professional jerseys manufacturer from china,wholesal
sports [url=]cheap jerseys sale online [/url]
[url=]2012 nike nfl Jerseys[/url]
[url=]cheap NFL jerseys China[/url]
[url=]NHL Jerseys C
Title: fgff   
Name: tfg
Date: 2012-05-16 1:52:52 AM
Title: Want Database backup and store procedure   
Name: Danish Patel
Date: 2012-05-01 5:28:06 AM
hi can u please send me database backup and store procedure for it
Title: ty   
Name: tyu
Date: 2012-04-26 3:39:41 AM
Title: Unable to type messege   
Name: minu
Date: 2011-08-15 4:13:25 AM
thanks for this Article,but when user login then their is no box for typing msg,can u help me plz........................................... its urgent
Title: Chat   
Name: sanjeev
Date: 2011-05-12 9:32:05 AM
Please can u send me the DataBase or storedprocedure which u have used in the above ChatApplication.

Email id :

Title: Unable to judge   
Name: Your's Friend
Date: 2010-12-01 10:59:11 PM
Please can u send me the DataBase or storedprocedure which u have used in the above ChatApplication so that i can test in my system and i vl give u the feed back as soon as possible

Email Id:

Thanking you
Title: Dangi   
Name: kuldeep Dangi
Date: 2010-10-26 2:42:43 AM
can u pls send me database on
Title: Hi   
Name: Test
Date: 2010-10-08 1:48:51 PM
Thank You.
Title: chat   
Name: bini
Date: 2010-09-13 4:47:40 AM
pls send the code for voice chat in 2.0 web application
Title: good   
Name: kedar
Date: 2010-06-02 2:43:07 AM
Hi it's good.. can you send me database on
Title: very good   
Name: Ashish Kaushik
Date: 2010-04-08 10:06:18 AM
Very good i need it
Title: Great   
Name: Rahul
Date: 2010-03-11 2:14:55 AM
its really great work
Title: good   
Name: rohit
Date: 2010-02-20 10:54:37 PM
hi your article is very good
Title: DataBase Backup   
Name: rams
Date: 2010-02-15 3:29:45 AM
hi ,i need u r help ..can u send me the databasebase backup..
my mail id
Title: multichat is not working   
Name: nitin
Date: 2010-02-09 6:18:27 AM
hi Xianzhong Zhu, yar mutilchat is not workng. plz upload latest code for multichat ok...............
Title: MultiChat is not working   
Name: Karthikeyan.G
Date: 2009-12-14 2:53:58 AM
When i try to open chat window, only with last user i can chat,even though i select 1st person from the list and also when i click on 2nd person its opening the window with same query...... please can u provide solution for this....
Title: good   
Name: Raghavendra
Date: 2009-11-11 1:00:22 AM
good article
Title: Data should show directly   
Name: Gaurav Gupta
Date: 2009-09-09 7:54:33 AM
Your article is very very good
i am facing one problem in this i want to show the message directly at chatroom.aspx page .how i can solve this prob.i am missing some think plz tell me .

My mail id

Thanks Gaurav
Title: DatabaseBak   
Name: Mohan
Date: 2009-08-31 12:26:38 PM
plz help any one how to restore this file AjaxChatDB.bak am using sql2005, there getting error, any can send me ajaxchatdb.mdf, thats useful to me

thanks in advance
Title: i cant chat many user   
Name: Bharani
Date: 2009-05-19 7:23:05 AM
i am logined three users,then main page display three online members,i can chat only one person,suppose i am seleted anther person means the query string name is same for all users,wht,how can i solve this prblems,

can u help me
Title: Only 7 Message Display the ChatRoom   
Name: Bharani
Date: 2009-05-15 8:55:03 AM
hi i am chatting but only 7 message display the chatroom,after the 7 message doesn't display,
cani i help u..
Title: Not in chat   
Name: siva
Date: 2009-04-30 6:08:43 AM
i was dowmload your ajaxprochat and also database i m downloaded then it will open microsoft visual studio2005 after that i was run the program just i was logined ajax and mary.I was dispalyed online members list but i am selected mary then suddently open the chatroom i write message after that i was click send then finally didnt send message one user to another user

what problem tellme plz
Title: About the database   
Name: Xianzhong
Date: 2009-04-29 11:18:01 AM
Hi all,
just open sub-folder 'DatabaseBak', under which there is a file named 'AjaxChatDB.bak'. That's it (you have first to open SQL Server Management Studio and use the 'restore' menu item to restore the 'ajaxchatdb.mdf'). Hope this helps.
Title: send me your DataBase Backup   
Name: BharaniR
Date: 2009-04-29 10:27:32 AM
can i send your database backup please,
Title: send me your DataBase BackUP   
Name: bharanir
Date: 2009-04-28 7:45:16 AM
please can i send your database backeup

please help me
Title: Downloading the database problem   
Name: Bharani
Date: 2009-04-28 2:02:43 AM
there is a problem in downloading the database backup file.
How to use in your DatabaseBak.
here in this we should not find any .mdf file which u mentioned in the download file.
please help me
Title: hi   
Name: bharanir
Date: 2009-04-28 2:00:07 AM
hi i want all query
Title: message transfer   
Name: Ashim
Date: 2009-03-31 11:07:15 AM
I setup the project successfully. i login as ajax/ajax but when i type my message, it does not seem to transfer the message becuse i can't see the message in upper white area. any idea what what might be missing?
Title: Doubt about chat   
Name: SimiAbhilash
Date: 2008-11-18 7:15:07 AM
First of all thnk u for giving us such a chat application.
I have one problem with this.If multiple users are online when i send message to the first one the message goes to the last user every time.How to fix this problem

Please help me
Title: Comment and question   
Name: stuart
Date: 2008-11-13 3:23:54 AM
Thanks so much for this article.Its really done a lot to help us get something in regard to chat applications.My question though is; how do i implement these stored procedures? How does the person move from the main page to the chat page?Thanx
Title: About the database accompanying this article   
Name: Author
Date: 2008-11-10 6:55:01 AM
Dear readers,
To use the attached database-ajaxchatdb, you have first to open SQL Server Management Studio and use the 'restore' menu item to restore the ajaxchatdb.mdf. Next, you will start to debug the sample web application.
Happy programming!
Title: there is a problem in downloading the database   
Name: Bhanu
Date: 2008-11-10 5:20:51 AM
there is a problem in downloading the database backup file.

here in this we should not find any .mdf file which u mentioned in the download file.
Title: Building an AJAX Based Web Chatting Application using ASP.NET 2.0   
Name: T.MAyilrajan
Date: 2008-10-18 8:45:45 AM
You have done a great job.It is more useful.But this source code does not display the online users.But it does not show any error.Can help me to fix this problem.
Title: project Leader   
Name: N Srinivasachowdary
Date: 2008-09-23 6:59:00 AM
i saw u r aritical. It is good. i am also develop the live chat application.

Community Advice: ASP | SQL | XML | Regular Expressions | Windows

©Copyright 1998-2024  |  Page Processed at 2024-06-14 1:50:53 PM  AspAlliance Recent Articles RSS Feed
About ASPAlliance | Newsgroups | Advertise | Authors | Email Lists | Feedback | Link To Us | Privacy | Search