SignalR 入門案例-1
參考官方的文件 https://blogs.msdn.microsoft.com/msdntaiwan/2013/09/09/signalr-web-web/ 。已經有些過時。暫時還沒有其它入門案例,先由這裡開始 使用工具VS2005 開啟新的Web專案(Net 4以上) 使用NuGet取得 Microsoft.AspNet.SignalR.Sample 試執行,果然有些歷史了 要調整的地方有二方面 SignalR初始啟動設置 新增class,用於加入初始啟動 using System; using System.Collections.Generic; using System.Linq; using System.Web; using Microsoft.Owin; using Owin; [assembly: OwinStartup(typeof(demo_csharp_singleR.SingleRStart), "Configuration")] namespace demo_csharp_singleR { public class SingleRStart { public void Configuration(IAppBuilder app) { Microsoft.AspNet.SignalR. StockTicker.Startup.ConfigureSignalR(app); } } } 前台js引用 StockTicker.html...