Welsh Watson
Welsh Watson

Reputation: 31

How do I create a Live Support chat application in C#?

I'm attempting to build a live support chat application in C# using a WCF microservice and after endless searches I still can't find the answer, hopefully someone here can point me in the right direction.

My problem is that rather than a typical chat room a where users broadcast messages to all connected clients, I need the application to be more like a Live Support app found on websites such as Amazon or eBay.

Ideally multiple customer support agents will have a pre installed WinForms chat application on their machines, when a customer opens a chat window (aspx page) it will connect to a server/service and the server/service will then call all connected customer support agents until one answers. At this point the customer and agent will be connected in a private chat window.

Could somebody please give me some insight or ideas on how to do this?

Thanks,

Owen

Upvotes: 1

Views: 6542

Answers (3)

Alexander Christov
Alexander Christov

Reputation: 10045

These are my findings, not checked though:

Live Support Chat using SignalR

Parle

A tutorial from ASP.NET team:

Real-time chat with SignalR 2

The first one looks very early development stage, Parle is somewhat more promising.

Anyway, since I continue my research on the topic maybe I'd need to augment my answer. Until then the links could be a good starting point.

Upvotes: 0

Sebastian 506563
Sebastian 506563

Reputation: 7238

The first resoult in google

A WCF-WPF Chat Application

Video tutorial

WCF Chat Application

ASP.NET Chatting using WCF Services and JSon

A simple peer to peer chat application using WCF netPeerTcpBinding

usefull lectures HTML 5 Web Sockets

Always first ask google, above you have few ready to use projects that you can copy to your solution

EDIT:

Also as tip I can recommend bi-directional message queues at application level, then make index for messages with session and users identifier. Next step would be WCF with pop and push logic based on wait objects. At low cost you will need to lock queue. WCF will do heavy job. Also problems can occure inside app with proxy management and message sending so dedicated proxy for chat would be great and safest idea. And read about Duplex Services that can be usefull here DUPLEX SERVICE

Upvotes: 1

Samrat Alamgir
Samrat Alamgir

Reputation: 362

You can use ASP.NET SignalR which is a library for ASP.NET developers that makes developing real-time web functionality easy. SignalR allows bi-directional communication between server and client. Servers can now push content to connected clients instantly as it becomes available.

Here you can find more details and many tutorials about SignalR.

Upvotes: 1

Related Questions