I've set up a SignalR hub to communicate between the server and client. The hub server side code is stored in a class called Hooking.cs. What I want is to be able to call a method defined in Hooking.cs to allow me to broadcast messages to any con...
I'm using SignalR to transferring commands from client to server without refreshing the page. When the client enter some of my web pages, I'm starting a new hub connection. Like this:  var hub = $.connection.siteControllerHub; $.connection.hu...
I have a signalr hubclass in a classlibrary   and when i use that hubclass in my webapplication referencing that class library with below javascript code, it does not work,   $(function () {      var chat = $.connection.notificationHub;      chat.cli...
I have a small SignalR project that I've started that right now all it does is receives a string and echo it back to all connected users.  What I'm wondering is, since SignalR open websockets on my server - how can I connect to the service us...
I'm concerned about using Clients.All in my C# Signal R hub class   Clients.All.setConnectionStatus(profileId, true);   I'm calling it in both OnConnected() and OnDisconnected(bool stopCalled) to show the online status of my logged in users....
Let's say i have two or more hubs in my server application. My javascipt client (Angular SPA) initialy needs a connection to the first hub, and needs to subscribe to a method like this:  connection = $.hubConnection(appSettings.serverPath); first...
I am already googled about this but not found any solution.  My hub's methods are like this  public string Test(string hello) {     return hello; } public override System.Threading.Tasks.Task OnConnected() {     return base.OnConnected(); }   and...
I had taken the code below form this tutorial initially: SignalR Getting Started Application that will create a chat room. I've cleaned the html code a little bit to get only the part that I am going to need. I verified chat is still working:  &l...
I am working with a section of code in which I will be showing a popup(html) in my application to the logged in user whenever a message is received in his or her whatsapp account that is linked with my application. The backend portion is done with th...
I am trying to use signalr (externally loaded scripts) with angular 2 components but facing a wired issue. My functions are getting called in typescript with correct information that I am passing from WebAPI but inside those typescript functions I ca...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.