Running the Grid SignalR Sample Locally

3 posts, 0 answers
  1. Ken Cox
    Ken Cox avatar
    100 posts
    Member since:
    Oct 2002

    Posted 01 Feb Link to this post

    Hi folks,

    I'm running the Grid SignalR example (found here http://demos.telerik.com/aspnet-mvc/grid/signalr) locally.

    Even though it is running locally, the sample still fetches data from the Web, instead of my local machine as in:

     var hubUrl = "http://demos.telerik.com/kendo-ui/service/signalr/hubs";

    I want to run this entirely locally. I'm getting data from the local backend data service by running the code found here on my machine:

    https://github.com/telerik/kendo-ui-demos-service

    However, I'm stuck at what route on my local system replaces http://demos.telerik.com/kendo-ui/service/signalr/hubs

    Would the local route be

    var hubUrl = http://localhost:42471/hubs;

    How do I set the route?

    Thanks,

    Ken

  2. Venelin
    Admin
    Venelin avatar
    352 posts

    Posted 02 Feb Link to this post

    Hi Ken,

    Here you can find a runnable example of the same demo https://github.com/telerik/ui-for-aspnet-mvc-examples/tree/master/grid/signalR-bound-grid. As for the hubs.js file, it is dynamically generated by the Framework, you should just reference it as demonstrated in the project. More about this you can find on Microsoft's official site: http://www.asp.net/signalr/overview/getting-started/tutorial-getting-started-with-signalr

    Regards,
    Venelin
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  3. UI for ASP.NET MVC is VS 2017 Ready
  4. Ken Cox
    Ken Cox avatar
    100 posts
    Member since:
    Oct 2002

    Posted 02 Feb in reply to Venelin Link to this post

    Perfect!

     Thanks,

     

    Ken

Back to Top