Last post Oct 26, 2020 01:15 PM by mehmoodahmed...
Oct 23, 2020 04:34 AM|mehmoodahmed...|LINK
I'm using ASP.NET MVC5 and ASP.NET MVC4 applications with Vimeo dotnet API.
I am using SignalR in my application.
What is the best recommended way to develop a mechanism for multiple video files as well as for multiple users simultaneously.
Oct 26, 2020 10:55 AM|Sean Fang|LINK
Hi Mehmood ahmed,
Could you please specify what the mechanism means here?
If you want to implement the progress bar, then you could refer to below code. (I assume that you will get the similar returned value from the upload server).
Regarding the multiple hubs, SignalR 2.0 was updated to handle multiple hubs over one signlar connection with no lost in performance.
Official docs: http://www.asp.net/signalr/overview/signalr-20/hubs-api/hubs-api-guide-server#multiplehubs
Oct 26, 2020 01:15 PM|mehmoodahmed...|LINK
Thank you Sean,
I have already implemented the logic through the same approach.
If you can guide then please suggest me that how can I share the progress to the specific client/user not all clients ?
I am calling the following code from outside the hub class.
Is there any way to call it using ?
IHubContext hubContext = GlobalHost.ConnectionManager.GetHubContext<MyHub>();
Or is there any trick just share for one client/user ?