.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Sandeep Singh
Melody Anderson
Eminent IT
Post New Web Links

Chat Application

Posted By: Syed Shakeer Hussain     Posted Date: August 19, 2010    Points: 2   Category :Others
Serial Communication

Figure 11: A chat application using the SerialPort class.
In .NET Compact Framework 1.1, accessing the serial ports on the device involves performing a Platform Invoke (P/Invoke) operation, which is often an arduous and error-prone process. With .NET Compact Framework 2.0, you can access serial ports using the SerialPort class.

View Complete Post

More Related Resource Links

Need Help in creating chat application using jquery.


Hello Friends

             I have to develope Jquery chat application Like Gmail  in My Web application. For this i spend My lots of hours in Googling. AT THE time of searching I got one script. which is very helpful.  But in the script author has used all the members who has logged will be appeared in the chat box. instead of this i have to put only the members who's are in the friendlist. i have to show only these members.

Following is the project from where i get script.

As well as in the code author has passed dynamic userid to session but i have to pass actuall userid from database.


from Here I download the code. but the code is in the 3.5 framework. i m using 2.0 framwork. so most of the code I have changed but not getting how to make changes for list.

Please help me to solve the Problem.

Thanks In Advance


Using a Port for WCF chat application

Hi All. I have a chat project using WCF over the internet. I will user TCPbinding for it. I will choose a port for connect from client. Anybody suggest me choose  the best port for me  ? Thanks so much!  

Windows Chat Application

hi i want to build one-to -one chat via server .what is best method to trasfer message using webservice or sockets. there are many users with simentanously have 1-to-1 chat please reply

Need of Chat application using wcf


Hi Everybody,

                I am new to this WCF and WCF forum. I need to develop a peer to peer chat application using wcf. I have gone through many chat application using wcf, it works fine for me in my LAN. But while i am trying to connect a Wan IP, i am getting some exception. so i need a chat application that works for me in wan ip also. Please provide any solution for this.



Need of Chat application using wcf


Hi Everybody,

                I am new to this WCF and WCF forum. I need to develop a peer to peer chat application using wcf. I have gone through many chat application using wcf, it works fine for me in my LAN. But while i am trying to connect a Wan IP, i am getting some exception. so i need a chat application that works for me in wan ip also. Please provide any solution for this.



While trying to connect a WAN IP, i am getting some error(WCF Chat Application)


Hi Everybody 

I am new to this WCF and WCF forum. I want to develop a chat application using wcf , so  i  have downloaded a chat application from "http://www.codeproject.com/KB/WCF/Chat_application_using_WC.aspx ". It works fine in my "LAN" but if i am trying to connect to a wan ip i am getting err ors. I have used "Port forwarding" also in that applicatiion. But still i am getting this error. I have mentioned the error code below. Please provide any solution for this. 

Error code:

System.InvalidOperationException: Could not find endpoint element with name 'ChatEndPoint' and Contract 'ChatClient.ICharService' in the ServiceModel client configuration section. This might be because no configuration file was found for your application, or because no endpoint element matching this name could be found in the client element. at System.servieModel.Description.ConfigLoader.LoadChannelBehaviours(ServiceEndPoint serviceEndpoints, String ConfigurationName)

at System.ServiceModel.ChannelFactory.ApplyConfiguration(String configurationName)

at System.ServiceModel.ChannelFactory.InitializeEndpoint(String confgurationName, Endpoint Address address)

at System.ServiceModel.DuplexChannelFactory '

chat application in asp.net


 I want to create small chat application between two users.

Users should Login if they are not logged in they should be registered.

plz tell the code


High performance chat application


Hi there. I want to create high-perfomance chat application compatible with mobile platforms.  (It is not actually chat, but architecture is pretty similar)

My biggest concerns are: I need to update messages for everybody every 1 second. Also I need to insert very often to database.

I'm just wondering whether there is a better way than doing trips every second to database?

And also, what are the best practices on creating this kind of applications?

Sample P2P Chat application using WCF which works over Internet


Can anyone please provide me a sample WCF Application for PeerToPeer Chat which works over Internet.

Thanks in advance,

Save MVC Chat Room Data in Application variable or DB, where is better ?


My application is MVC Web App Chat Room , it supports following features:

1.Create/Join/Close room
2.Send message in room (just live message, offline message might be supported in future)

I have done logic for application, but I'm considering where to save chat room data (message,room information, and users in room) ? I see there are 2 options:

1. Application variable
2. Using file or database

-What if I saved in Application variable:
In case of there are 2000 rooms and 10000 users online, mean I have to persistence in Application variable (actually in RAM memory) information of 2000 rooms, more than 10000 message (text), these numbers might be increased by second if there are more users online in real time. and what's next ? I don't know what will happen to server, crash ? or my web app will be terminated ? whatever I don't want both results !

-What if I saved in file or DB (i.e: SQL Server DB)
Because of web application, clients have to send request every 1 second to fetch data (messages and user list in room). So in case of there are 2000 rooms and 10000 users online, means they will make 10000 requests every 1 second to DB. I don't know what will happen to DB, there are a lot of connections and in EVERY 1 second, can

ASP.NET chat application using Reverse Ajax or MSMQ?



I wan to integrate any one-to-one chat web application in Microsoft CRM 4.0. Searched for few samples over the ent but all are of room chat functionality with no private/one-to-one chat option.

Can we use socket programming for web based cahts?

Moreover, is it possible using reverse ajax/comet technology to push back the content to the concerned person's browser client only? or it will send back the content to all browsers? If so, what choices we have to achieve the private/one-to-one chat functionality in web based chat apps? (like MSMQ).

If you have any sample regarding this in your knowlege please provide the link.

Thank you.



Duplex workflow service, chat, IM application


I need to create service that can handle clients connections and administrator connection.The clients that connects to service are handled by Durable duplex, so the service can send commands to clients in any time when client is connected. When some client connects, the service should add its callback to clients collection. Then when administrator connects to service he should be able to send some commands to clients. I have created a workflow that is on the image below. In that workflow there is a problem because any time when the new connection is initialized the client variable is reseted to its default value. How to create static/global variable, or solve a problem in some other way?


Gmail internal chat like message box

This article provides you with the multi-functional message box window through which the usability of the web-site or any web application increases.

.Configurable MessageBox window with AJAX Support
.can set maximum number of message boxes to be visible
.can define the auto reload time, for single message, for all messages or no reload
.can create messages through a single function call
.can define auto hide time for each messages

Microsoft's Collaborative Application Markup Language (CAML) Loop

discovered an interesting error recently while working with Microsoft's Collaborative Application Markup Language (CAML) that, surprisingly, had received no ink. Partly what surprises me about this is that the error may require you to rewrite large sections of your code if you haven't previously considered this SharePoint limitation. I'll start with some context, but first of all the error is:

Integrating a Legacy Web Application in SharePoint

This month we will continue with the theme of deploying Microsoft's SharePoint as a company intranet by describing a method for integrating a legacy Web application inside a SharePoint site.

In many companies the intranet site is not just a home page with announcements. It houses Web applications used by many different departments. In last month's article, I built a page to search the employee table in Northwind (the sample database included in Microsoft's SQL Server). This month, I will move the Web pages used to add/remove records from the table into the SharePoint intranet.

MVC architecture in ASP.Net using C# and Microsoft Data Access Application block

The Model-View-Controller (MVC) pattern separates the modeling of the domain, the presentation, and the actions based on user input into three separate classes [Burbeck92]:

Model. The model manages the behavior and data of the application domain, responds to requests for information about its state (usually from the view), and responds to instructions to change state (usually from the controller).

View. The view manages the display of information.

Controller. The controller interprets the mouse and keyboard inputs from the user, informing the model and/or the view to change as appropriate.

High-Performance .NET Application Development & Architecture

It has always been a goal of project architects to plan an effective strategy from the ground up in regards to an new application. All relevant factors are taken into consideration with respect to the application, from its design and layout to a functional website infrastructure. Pre-.NET strategies and design guidelines still effective now were developed with Microsoft's DNA (Distributed interNet Application) platform. This model successfully served the purpose of architecting N(any number of)-Tier (levels) applications. In its basic sense, as in most robust, distributed applications, you'll architect 3 main layers or Tiers: presentation, business rules and data access.
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend