Real Time chat application using SingalR, ASP.Net MVC and Angular JS

Chat View

SignalR provides a simple API for creating server-to-client remote procedure calls (RPC) that call JavaScript functions in client browsers (and other client platforms) from server-side .NET code. SignalR also includes API for connection management (for instance, connect and disconnect events), and grouping connections

Angular JS automatically synchronizes data from your UI (view) with your JavaScript objects (model) through 2-way data binding.It helps with server-side communication, taming async callbacks with promises and deferreds.

 

Building the Sample

You need Visual Studio 2013 to run/build this application

  • Add MVC 5 project
  • Install Signalr and Angular Js to your project using below command in nuget package manager.

 

PowerShell

 

  • Build the project, it will automaticaly resolves all its package dependancies for nuget.
  • Create database and run the database script from “App_data” folder.
  • Configure you connection string in webconfig file to map your database.

Description

This is a basic sample that creates a Real-time chat applixation using powers of SignalR and angularJs. It includes various features of signalR and Angular Js.

 

you can find code at :Code

 

7 Comments

Add a Comment

Your email address will not be published. Required fields are marked *

Skip to toolbar