运行Razor组件模板

时间:2019-04-01 16:01:37

标签: razor components

已使用模板创建了一个剃刀组件项目。击F5。它引发以下异常:

失败:Microsoft.AspNetCore.SignalR.Internal.DefaultHubDispatcher [8] RazorComponentsPrac.Server>未能调用集线器方法“ StartCircuit”。 RazorComponentsPrac.Server> System.TypeLoadException:来自程序集“ Microsoft.AspNetCore.Components.Server”中类型“ Microsoft.AspNetCore.Components.Browser.Rendering.RemoteRenderer”中的方法“ HandleException”,版本= 3.0.0.0,文化=中性,PublicKeyToken = adb9793829ddae60'没有实现。 Microsoft.AspNetCore.Components.Server.Circuits.DefaultCircuitFactory.CreateCircuitHost(HttpContext httpContext,IClientProxy客户端)上的RazorComponentsPrac.Server> Microsoft.AspNetCore.Components.Server.ComponentsHub.StartCircuit(String uriAbsolute,String baseUriAbsolute)上的RazorComponentsPrac.Server> Microsoft.AspNetCore.SignalR.Internal.DefaultHubDispatcher 1.ExecuteHubMethod(ObjectMethodExecutor methodExecutor, THub hub, Object[] arguments) RazorComponentsPrac.Server> at Microsoft.AspNetCore.SignalR.Internal.DefaultHubDispatcher 1.Invoke上的RazorComponentsPrac.Server>(HubMethodDescriptor描述符,HubConnectionContext连接,HubMethodInvocationMessage hubMethodInvocationMessage,布尔值isStreamResponse,布尔值isStreamCall) RazorComponentsPrac.Server>请求已结束:http://localhost:52444/_blazor?id=AJY7T4689pqymuLsvxTLMw,HTTP状态为101.0

0 个答案:

没有答案