add SignalR services into the pipeline

This commit is contained in:
chsakell
2016-09-25 10:15:09 +03:00
parent f8d805419f
commit f1dc366e34

View File

@@ -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();
}
}
}