Skip to content
/ lcsk Public
forked from dstpierre/lcsk

ASP.NET C# Live Support / Live Help chat app built on top of SignalR to offer support to website visitors.

License

Notifications You must be signed in to change notification settings

jhermiz/lcsk

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

LCSK (LiveChat Starter Kit)

LCSK is a simple, lightweight live chat / live support ASP.NET C# app. It uses SignalR for the communication channel between the website visitors and the agent(s). No database are required.

I just moved the project over to GitHub, it was previoulsy hosted on CodePlex.

What can it be used for?

If you have a website and want to offer live support to the visitors, you can do this easily with LCSK.

Get it on NuGet

Install-Package LCSK

Manual installation

You will need an ASP.NET 4 web application to start. Since LCSK depend on SignalR, you'll need to add this from Nuget.

Install-Package Microsoft.AspNet.SignalR

You can copy the LCSK folder into your project. You might want to change the namespacing of the .cs file, when using NuGet this is done automatically.

Startup.cs issues

If you already have a Startup.cs file, please copy the app.MapSignalR() to your existing Startup.cs file and delete the one supplied in LCSK/Startup.cs.

Adding the visitor chat box to your pages

Please note that I've included the SignalR and jQuery javascript files into the LCSK/js for quick references. Feel free to remove those .js files and use the one that came with the SignalR package instead or use whatever file structure you like.

*** If you do not already have jQuery referenced
<script src="/lcsk/assets/js/jquery-2.1.1.min.js" type="text/javascript"></script>
***
<script src="/lcsk/assets/js/jquery.signalR-2.1.1.min.js" type="text/javascript"></script>
<script src="/signalr/hubs" type="text/javascript"></script>
<script src="/lcsk/chat.js" type="text/javascript"></script>

Login in to the agent panel

To login you'll first have to set an admin and agent password. Simply go to /lcsk/install.html to set both passwords.

Return to /lcsk/agent.html and login with the following credentials:

  • username:* anything (i.e: Dominic)
  • password:* either the admin or agent password.

You can have an unlimited number of agent, they'll all have the same password and uses different names.

View a demo

There is a Demo project in the src folder. It's an ASP.NET MVC 4 web app. You can run LCSK in a web forms application as well.

Videos

You can watch a video on how to add LCSK to an existing project.

How to add LCSK to your project

Project Status

I'm continuously improving this project. Contribution is very welcome. I've started the project in 2007.

About

ASP.NET C# Live Support / Live Help chat app built on top of SignalR to offer support to website visitors.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 61.8%
  • PowerShell 24.1%
  • C# 5.5%
  • HTML 5.0%
  • Pascal 3.4%
  • CSS 0.2%