SignalR and Kanban

Is there a sample somewhere showing SignalR client side with UWP?

Thank you,
Matt

5 Replies

RA Rachel A Syncfusion Team November 27, 2017 09:17 AM UTC

Hi Mathew, 
 
Thanks for contacting Syncfusion Support. 
 
We have prepared the sample to add the cards dynamically to the Kanban using SignalR. Please find the demo sample in the below location. 
 
 
In the provided sample the message is converted to Kanban Model. The message can be given as like “TaskID-Title-Status”(For example: 213-Analysis-Open).  
 
Thanks, 
Rachel. A 



DI Dickson September 25, 2022 08:53 PM UTC

Hi,

The demo seems not to be working.


We can get a UWP demo for signal R client with kanban ?



SS SaiGanesh Sakthivel Syncfusion Team September 26, 2022 01:35 PM UTC

Hi Matthew,


Currently, we are checking the reported query from our end. We will update you on further details on September 28, 2022. We appreciate the patience until then.


Regards,
SaiGanesh Sakthivel



SS SaiGanesh Sakthivel Syncfusion Team September 28, 2022 12:40 PM UTC

Hi Dickson,


Currently, we are preparing the sample demo about ‘How to get the details from SignalR to Kanban’ from our end. We will update you on the further details on September 30, 2022. We appreciate the patience until then.


Regards,
SaiGanesh Sakthivel



SS SaiGanesh Sakthivel Syncfusion Team September 30, 2022 09:33 AM UTC

Hi Dickson,


#Regarding SignalR for Kanaban UWP

Your requirement of getting the details of the SignalR client to the UWP platform can be achieved with the help of Microsoft.AspNet.SignalR.Client nuget packages. Please refer to the following steps for your reference.


Step1: Create the SignalR setup in the Asp.NET Web Application

Please refer to the following link about ‘How to create the SignalR setup in the Asp.Net Web Application’.

Link: https://learn.microsoft.com/en-us/aspnet/core/tutorials/signalr?view=aspnetcore-6.0&tabs=visual-studio
KB: https://www.syncfusion.com/kb/9518/set-up-the-signalr-in-the-kanban-control


Step2: How to receive the SignalR client details in the UWP application

Install the Microsoft.AspNet.SignalR.Client nuget packages and configure the HubConnection to get the signalR client details in the UWP application and you can use the details to the kanban viewmodel to display in the view. Please refer to the following code snippet for your reference.


Code snippet

private async void GetHubCollection()

{

    //// - create the hub connection to recieve the signalR details

    var hubConnection = new HubConnection("http://localhost:57491/");

    var hubProxy = hubConnection.CreateHubProxy("SignalHub");

    hubProxy.On<string, string, kanbanDTO>("modify", GetCollection);

           

    //// - start the connection

    await hubConnection.Start();

}

 

 

private async void GetCollection(string s, string s1, kanbanDTO collection)

{

    //// - get the details from SignalR to given to the Kanban collection

    await Dispatcher.RunAsync(CoreDispatcherPriority.High, () => b = collection);

 

  //// - set the itemsource for the kanban

  SfKanban.ItemsSource = KanbanCollection;

}


Please let us know if you have any concerns.


Regards,
SaiGanesh Sakthivel


Loader.
Up arrow icon