예제 #1
0
        public override void WindowDidLoad ()
        {
            base.WindowDidLoad ();

            if (SIGNALR_DEMO_SERVER == "http://YOUR-SERVER-INSTANCE-HERE") {
                textLog.Value = "You need to configure the app to point to your own SignalR Demo service.  Please see the Getting Started Guide for more information!";
                return;
            }

            var traceWriter = new TextViewWriter (SynchronizationContext.Current, textLog);

            var client = new CommonClient(traceWriter);
            client.RunAsync(SIGNALR_DEMO_SERVER);
        }
예제 #2
0
        public override void WindowDidLoad()
        {
            base.WindowDidLoad();

            if (SIGNALR_DEMO_SERVER == "http://YOUR-SERVER-INSTANCE-HERE")
            {
                textLog.Value = "You need to configure the app to point to your own SignalR Demo service.  Please see the Getting Started Guide for more information!";
                return;
            }

            var traceWriter = new TextViewWriter(SynchronizationContext.Current, textLog);

            var client = new CommonClient(traceWriter);

            client.RunAsync(SIGNALR_DEMO_SERVER);
        }