Build app with MVC core signalR vs. Blazor signalR

2 posts, 0 answers
  1. Don
    Don avatar
    10 posts
    Member since:
    Apr 2018

    Posted 26 Sep Link to this post

    I have a new project that requires real-time data updates on a grid for a team of users to collaborate within the application.

    It seems SignalR is a good candidate for this project. I am new to programming with SignalR. Since I am familiar with .NET 4.x framework and MVC, I initially was thinking of implementing the project as an ASP.NET Core 3.0 MVC with Telerik.UI for Asp.Net Core since it has Grid Binding to SignalR.

    However, with the release of Blazor, I am considering using Blazor and Telerik.UI.for.Blazor. But I don't see any samples or documentations to use with SignalR in Telerik.UI. 

    My questions:

    1. Given that my project requires SignalR for real-time data updates, should I choose the stable approach of ASP.NET Core with MVC and the more-documented Telerik.UI for asp.net Core grid ? or is it possible to use Blazor / SignalR / Telerik.UI (if such thing exists) ? What are the pros vs. cons of those 2 choices?

    2. Where can I find tutorials on building:
    1) ASP.NET Core 3.0 MVC / SignalR / Telerik for ASP.NET Core;
    2) ASP.NET Core Blazor / SignalR / Telerik for Blazor

     

  2. Marin Bratanov
    Admin
    Marin Bratanov avatar
    4895 posts

    Posted 27 Sep Link to this post

    Hello Don,

    The Blazor grid can bind to observable data, so you can change it at will: https://demos.telerik.com/blazor-ui/grid/observable-data.

    Server-side Blazor already runs on top of a SignalR connection to the server, so if you have a service that raises the appropriate events, you can consume them in the razor components and update data.

    We don't have such an example at the ready because it depends too much on the server logic.

    As for ASP.NET Core and SignalR - we have a demo: https://demos.telerik.com/aspnet-core/grid/signalr.

    Which technology stack you will choose is something that you would need to decide as the application developer, considering all the pros and cons of both, and other factors specific to your situation (such as integration with other apps, data access layers, personal preferences and future plans).

     

    Regards,
    Marin Bratanov
    Progress Telerik

     UI for Blazor
Back to Top