public WelcomePage() { this.InitializeComponent(); try { connection = SignalRConnection.Instance; } catch { // @TODO: Do some proper logging. } }
public MainPage() { this.InitializeComponent(); try { connection = SignalRConnection.Instance; lbl_Status.Text = "connected"; this.DataContext = connection; } catch { // @TODO: Do some proper logging. } }