【发布时间】:2015-04-24 17:45:58
【问题描述】:
我正在尝试在网站中使用 VS2012 Web 使用 signalR 创建聊天应用程序。 但它向我展示了这样的错误:
Failed to load resource: the server responded with a status of 404 (Not Found)
http://localhost:50780/WebApplication1/WebApplication1/signalr/hubs
Uncaught TypeError: Cannot read property 'client' of undefined
我已将RouteTable.Routes.MapHubs(); 添加到 Global.asax
但是为什么它在打开其他系统时会显示这个错误。
【问题讨论】:
-
看看这个答案是否有帮助stackoverflow.com/questions/15485804/…
标签: asp.net signalr signalr-hub