connection.Start()
namespace SignalRServer { public class Program { static void Main(string[] args) { string url = "http://localhost:8080"; using (WebApp.Start<StartUp>(url)) { Console.WriteLine("Server running on {0}", url); Console.ReadLine(); } } } class StartUp { public void Configuration(IAppBuilder app) { app.MapSignalR(); } } }
var connection = new HubConnection("http://localhost:8080"); var my_hub = connection.CreateHubProxy("ChatHub"); connection.Start().Wait();
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)