升级到SignalR 2.0后,我收到以下错误消息
[TypeLoadException: Could not load type 'Microsoft.AspNet.SignalR.Hosting.IWebSocketRequest' from assembly 'Microsoft.AspNet.SignalR.Core, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.]
Microsoft.AspNet.SignalR.Owin.CallHandler.Invoke(IDictionary`2 environment) +0
Microsoft.AspNet.SignalR.Owin.Handlers.HubDispatcherHandler.Invoke(IDictionary`2 environment) +369
Microsoft.Owin.Host.SystemWeb.OwinCallContext.Execute() +333
Microsoft.Owin.Host.SystemWeb.OwinHttpHandler.BeginProcessRequest(HttpContextBase httpContext, AsyncCallback callback, Object extraData) +713
System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +32
Microsoft.Owin.Host.SystemWeb.Infrastructure.ErrorState.Rethrow() +62
Microsoft.Owin.Host.SystemWeb.CallContextAsyncResult.End(IAsyncResult result) +271
Microsoft.Owin.Host.SystemWeb.OwinHttpHandler.EndProcessRequest(IAsyncResult result) +45
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +606
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +288
我在组件exdplorer中深入研究,实际上IWebSocketRequest已经不存在了。看起来我需要替换一些绑定处理程序,但我不知道从哪里开始。
答案 0 :(得分:0)