Real Time Web using SignalR
Hi Guys, This time I made a shopping site which works real time. Yes, you heard it right. It is real time. If two users ave connected and one buys something, the other person gets the update without him making any interaction to the Server. Surely the potential of this real time web is limitless. Before you Start, 1) Visual Studio with .NET Framework 4 or higher Step One : The Solution Create a Web application project. Then Right Click on Solution -> Manage NuGet Packages For Solution Then Search for SignalR, Json2 and jquery as shown and then install them. Then make Solution as shown Then Open UpdateStock.js paste the following code. /// <reference path="../Scripts/jquery-1.6.4.min.js" /> /// <reference path="../Scripts/jquery.signalR-2.0.0.js" /> /// <reference path="../Scripts/jquery-ui-1.10.3.js" /> $(function () { //Instance of the Hub var hub =...