From f1dc366e347bd80844ea90462b8e57d1a4ffeb76 Mon Sep 17 00:00:00 2001 From: chsakell Date: Sun, 25 Sep 2016 10:15:09 +0300 Subject: [PATCH] add SignalR services into the pipeline --- Startup.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Startup.cs b/Startup.cs index 5ffd128..902658b 100644 --- a/Startup.cs +++ b/Startup.cs @@ -29,6 +29,8 @@ namespace LiveGameFeed { // Add framework services. services.AddMvc(); + + services.AddSignalR(options => options.Hubs.EnableDetailedErrors = true); } // This method gets called by the runtime. Use this method to configure the HTTP request pipeline. @@ -38,6 +40,7 @@ namespace LiveGameFeed loggerFactory.AddDebug(); app.UseMvc(); + app.UseSignalR(); } } }