0
我正在使用基于教程http://www.codeproject.com/Articles/617611/Using-WebSocket-in-NET-4-5-Part-1的ASP.NET MVC 4和Websockets的简单聊天应用程序。当我尝试执行应用程序时,出现以下错误。ASP.NET MVC 4和WebSockets
WebSocket连接到 'WS://本地主机:19239 /的WebSockets/API/MvcWebSockets' 失败:意外的响应代码:404
我的应用程序的命名空间:WebSockets的 控制器的名称包含的代码用于处理websockets服务器端是:MvcWebSockets
该代码与上述链接中提供的代码完全相同。请帮我理解这个错误?
您使用的是Windows 8吗? http://stackoverflow.com/questions/12073455/net-4-5-websocket-server-running-on-windows-7 – Steve
是的。对不起,我以前没有提过。 – user3172301