Click here to Skip to main content
15,922,533 members
Articles / Programming Languages / C#
Article

Simple chat application using .NET remoting

Rate me:
Please Sign up or sign in to vote.
2.38/5 (10 votes)
27 Nov 2006 31.1K   4.1K   18   2
This is a simple and powerful chat application for the intranet using .NET remoting.

Introduction

The article contains simple and powerful chat application using .NET remoting. The application has common room for chatting all available users. Show the list of online users. Private chat using separate message window and many more. I faced problem when I tried delegates to convey the messages. But found out solution by surfing many techie sites like msdn, egghead, expertexchange, codeproject, codeguru.  

You can see following concepts used in the code.

  1. Interfaces
  2. Delegates
  3. Events
  4. Collection classes
  5. OOPs
  6. Remoting fundamentals with some advanced features.

This application can be used over intranet. I faced lot of problem while establishing communication between client and server using .NET 1.1. But in .NET 2.0, it works very smooth.

I have tried to do things very simple.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
Software Developer (Senior) Symantec Services, Pune
India India
Dear Friends,
I'm from Pune and currently working with Symantec. I'm having 7+ yrs of software development experience and I'm working on .NET since 6+ years.
I'm a Brainbench Certified Software Engineer in C#, ASP.NET, .NET Framework and ADO.NET.

Comments and Discussions

 
GeneralI found a problem after i was running the chat application Pin
woaichiputao14-Nov-08 14:04
woaichiputao14-Nov-08 14:04 
Generali found there is a bug after i was running the chat application Pin
woaichiputao14-Nov-08 13:52
woaichiputao14-Nov-08 13:52 
The problem is: when one user send a private message to another,the privatechat window of another is showed,but cannot receive the private message that first user send.when another send a private message back to the first user who send a private message to him,the first user can receive the private message.after that,the communication between tow users come back to normal.
For example,user A send a private message to user B,B cannot receive the message,actually,B would nerver receive the message from
A before itself send a message back to A.After that,the communication
between A and B come back to normal.
Anyone who worked out the problem could share the solution?thanks.

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.