Update: SignalR 2.0.3 Migration; Noticeboards
Migrate all SignalR 1.x Persistent Connections to SignalR 2.x Hubs. Abstracts ScheduledTaskStatus with core interface and adds a Mock for optional status reporting. Noticeboards rewritten (with new theme) to be more resilient and accurate.
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
using Microsoft.AspNet.SignalR;
|
||||
using Microsoft.Owin;
|
||||
using Owin;
|
||||
|
||||
[assembly: OwinStartup(typeof(Disco.Web.OwinStartupConfig))]
|
||||
|
||||
namespace Disco.Web
|
||||
{
|
||||
public class OwinStartupConfig
|
||||
{
|
||||
public void Configuration(IAppBuilder app)
|
||||
{
|
||||
var hubConfig = new HubConfiguration()
|
||||
{
|
||||
EnableJavaScriptProxies = false
|
||||
};
|
||||
|
||||
app.MapSignalR("/API/Signalling", hubConfig);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user