我有一个ASP.Net核心(2.1版) web应用程序,如果相同的用户使用signalr集线器登录到另一个浏览器(会话),我需要强制用户自动注销。我重写了服务器中的Onconnected事件以获取用户列表,并从客户端启动了连接集线器。}
} 来自客户端的代码: var connection = new signalR.HubConnectio
我在安卓系统上使用signalR,asp.net内核为2.2。当我在我的安卓客户端上调用hub hubConnection.send("Send", message);时,它在iis (VisualStudio2019)上运行得很好。但是,当我在iis 10 (windows 2019)上部署asp.net核心时,我有以下错误消息:
Cannot send data if the connection is not in the &
我正在尝试在一个现有的使用SignalR for DI的ASP.Net MVC4项目中设置SignalR,但是每当我尝试访问SignalR默认路由(我已经确认它在路由表中)时,我就会抛出以下异常:
ExceptionIControllerFactory 'Infrastructure.NinjectControllerFactory' did not return a controller for the name 'signalr