Hi,
The demo seems not to be working.
We can get a UWP demo for signal R client with kanban ?
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
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
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