public override bool OnStart() { ServicePointManager.DefaultConnectionLimit = 12; // create the server server = new Server( new TableStorageSiteUrlRepository(), new WorkerRoleHubConfiguration() ); // run the server thread = new Thread(new ThreadStart(() => server.Run())); thread.Start(); return base.OnStart(); }