This project is read-only.

Installation and Initialization (LCSK v2.0.5)

From NuGet

The easiest way to install LCSK is via the NuGet gallery, run the following command from the Package Manager window or browse the gallery for LCSK.

Install-Package LCSK

This will add the following items to your project

  1. A readme file on your App_ReadMe folder
  2. A static folder named LCSK
  3. A reference to Microsoft.AspNet.SignalR

You can remove the readme when you are done with them.

From the source code

If you've downloaded the source code version you can check the demo project. To integrate LCSK to your project from the source do the following:
  1. Copy the LCSK folder into your project.
  2. Add the Microsoft.AspNet.SignalR package

Configuration required

How to add the visitor chat box to your pages:

LCSK depend on SignalR. SingalR include a jquery javascript file normally in the Scripts folder.

1) SignalR needs a special route to be added before your main routing on your Global.asax.cs file:

protected void Application_Start()
    // SignalR hubs

2) On each pages where you want to add the visitor chat box you will have to add the following javascript tags:

  *** If you do not already have jQuery referenced
  <script src="//"></script>

  <script src="/Scripts/jquery.signalR-1.1.3.min.js" type="text/javascript"></script>
  <script src="/signalr/hubs" type="text/javascript"></script>
  <script src="/LCSK/chat.js" type="text/javascript"></script>

How to log in

- Navigate to the /lcsk/install.html page and assign the admin and agent passwords.

- You can now log in on /lcsk/agent.html using any name and either the admin or agent password.


- Make sure you have a reference to jQuery *before the SignalR and LCSK's script tags.

- Make sure the jquery-signalr-version.min.js matches with the version on your Scripts folder.

- Make sure you have write access to the App_Data folder, since the config file "lcsk.dat" will be saved there.

Last edited Sep 7, 2013 at 2:11 PM by dstpierre, version 4