I need some technical difficulties solved concerning a chat in ASP.NET.
You can see a mock-up of the chat at:
[login to view URL]
It’s in Danish but I hope you can understand the concept of it. It’s a role chat, meaning that the users will select a predefined role e.g. Bo’l and will then receive the chat name Bo’l_01, Bo’l_02 etc. When the user have selected a role they find themselves standing on “Mødestedet?? which means “Meeting place??, a place for a general chat where it’s possible to send private messages. If you navigate with the blue Flash bar placed over the chat board you’ll see a list of chat rooms you can enter. In the chat rooms you can’t send private messages.
Furthermore the users can invite each other into chat rooms.
As said the chat site will be implemented in ASP.NET and the assignment is as follows:
The users chat boards must only be updated when a new message is posted (no timers which updates the board every 3 seconds).
If a private message is sent, only the user the message is addressed to will receive the update call.
If a invitation is sent, only the user who is being invited will receive the invitation.
When an invitation is accepted/declined the sender of the invitation will be notified of the response.
## Deliverables
We need an implementation of the observer pattern in ASP.NET. We need to know how to make the server send a message to a specific browser so it will request the server of a GUI update. Also how to broadcast a similar message to all connected users.
This differs from normal web development because it’s is the server who tells the clients when to update and not the client it selves. I’m sure you are familiar with the observer pattern so I wont go into further details about this.
We only need the technical solution for the observer pattern and not the finished site.
## Platform
The source code must be readable with Visual [login to view URL] Enterprise Architect 2003.
.NET Framework 1.1
Windows Server 2000
IE 5.5+
Mozilla 1.3+