Here I will explain jQuery chatting application in asp.net using c# with example. By using jQuery ChatJS plugin we can implement chatting application like FaceBook in asp.net using c#. ChatJS is a full-featured, lightweight, Facebook style jQuery plugin for instant messaging. ChatJS also comes with a server side implementation for ASP.NET/SignalR out of the box.
In previous article I explained 6 jQuery News ticker plugin examples, 4 SpellChecker Plugin examples, 11+ best jQuery Scroll to top plugins, 8 jQuery clock plugin examples and many articles relating to jQuery Plugins, JQuery, Ajax, asp.net, SQL Server etc. Now I will explain how to implement chatting application like facebook in in asp.net using c# with jQuery.
// your user information
Name: 'John Silver',
// text displayed when the other user is typing
typingText: ' is typing...',
// the title for the user's list window
titleText: 'ChatJS demo chat',
// text displayed when there's no other users in the room
emptyRoomText: "There's no one around here.",
// the adapter you are using. There are 2 implementations out of the box:
// SignalRAdapter and LongPollingAdapter (server independent).
adapter: new SignalRAdapter()