using Microsoft.AspNet.SignalR; using Microsoft.Owin; using Microsoft.Owin.Cors; using Owin; using System; using System.Collections.Generic; using System.Linq; using System.Web; [assembly: OwinStartup(typeof(Tango.MachineService.Startup))] namespace Tango.MachineService { public class Startup { public void Configuration(IAppBuilder app) { app.UseCors(CorsOptions.AllowAll); app.MapSignalR(); GlobalHost.Configuration.MaxIncomingWebSocketMessageSize = null; // For more information on how to configure your application, visit https://go.microsoft.com/fwlink/?LinkID=316888 } } }