Startup.cs 509 B

123456789101112131415161718192021
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Web;
  5. using Microsoft.Owin;
  6. using Owin;
  7. [assembly: OwinStartup(typeof(PMS.WebUI.App_Start.Startup))]
  8. namespace PMS.WebUI.App_Start
  9. {
  10. public class Startup
  11. {
  12. public void Configuration(IAppBuilder app)
  13. {
  14. // 有关如何配置应用程序的详细信息,请访问 http://go.microsoft.com/fwlink/?LinkID=316888
  15. //注册SignalR连接
  16. app.MapSignalR();
  17. }
  18. }
  19. }