using System; using System.Collections.Generic; using System.Linq; using System.Web; using Microsoft.Owin; using Owin; [assembly: OwinStartup(typeof(PMS.WebUI.App_Start.Startup))] namespace PMS.WebUI.App_Start { public class Startup { public void Configuration(IAppBuilder app) { // 有关如何配置应用程序的详细信息,请访问 http://go.microsoft.com/fwlink/?LinkID=316888 //注册SignalR连接 app.MapSignalR(); } } }