【问题标题】:Blazor problem in IIS Windows Server 2012 - "An error has occurred. This application may no longer respond until reloaded."IIS Windows Server 2012 中的 Blazor 问题 - “发生错误。此应用程序在重新加载之前可能不再响应。”
【发布时间】:2021-08-09 01:55:18
【问题描述】:

在与应用程序建立 signalR 连接时,首次登录到 blazor 服务器端应用程序时遇到问题。

应用程序托管在 IIS Windows server 2012(生产服务器)上。

IIS Experss Visual Studio 中调试应用程序时,我执行相同的情况并且没有发生错误,在 IIS Express 中一切正常。

IIS Windows Server 2012 和 IIS Experess 在 SignalR 方法中是否有任何区别?

【问题讨论】:

标签: iis blazor iis-express blazor-server-side


【解决方案1】:

您必须为 SignalR 启用 Websocket:

【讨论】:

    猜你喜欢
    • 2021-11-29
    • 1970-01-01
    • 1970-01-01
    • 2014-02-05
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多