This is a migrated thread and some comments may be shown as answers.

Running the Grid SignalR Sample Locally

4 Answers 199 Views
Grid
This is a migrated thread and some comments may be shown as answers.
kencox
Top achievements
Rank 1
kencox asked on 02 Feb 2016, 03:28 AM

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

4 Answers, 1 is accepted

Sort by
0
Venelin
Telerik team
answered on 02 Feb 2016, 09:11 AM
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
0
kencox
Top achievements
Rank 1
answered on 02 Feb 2016, 03:49 PM

Perfect!

 Thanks,

 

Ken

0
Orit
Top achievements
Rank 2
answered on 30 Apr 2019, 06:56 PM

I have issues binding my Kendo UI grid to SignalR in my MVC demo app.

Do you guys have a tutorial for this ?

Thanks ,

Orit.

0
Konstantin Dikov
Telerik team
answered on 02 May 2019, 06:59 AM
Hello Orit,

You can refer to the following online demo and help article for binding the Grid to SignalR:

Best Regards,
Konstantin Dikov
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
Grid
Asked by
kencox
Top achievements
Rank 1
Answers by
Venelin
Telerik team
kencox
Top achievements
Rank 1
Orit
Top achievements
Rank 2
Konstantin Dikov
Telerik team
Share this question
or