c# - 如何在azure web应用程序上部署信号R自托管服务器

标签 c# azure signalr

我是 Azure 新手,我有一个在 Azure Web 应用程序上运行的 Web 应用程序,并且我有我的 signal-R 自主机作为控制台应用程序。我想将 signal r self host conbsole 应用程序部署到 azure。我需要采取哪些步骤?

最佳答案

@esther方,

请引用下面的教程,需要注意的一件事是,您需要手动为您的站点启用 Web 套接字。

http://www.asp.net/signalr/overview/deployment/using-signalr-with-azure-web-sites

引用:

Deploying a SignalR Web App to Azure App Service

SignalR doesn't add any particular complications to deploying an application to Azure versus deploying to an on-premises server. An application that uses SignalR can be hosted in Azure without any changes in configuration or other settings (though for WebSockets support, see Enabling WebSockets on Azure App Service below.) For this tutorial, you'll deploy the application created in the Getting Started Tutorial to Azure.

关于c# - 如何在azure web应用程序上部署信号R自托管服务器,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38274534/

相关文章:

c# - Winforms 中的所有者表单

c# - 计算数据集中的行数

azure - Azure 上的 Terraform - 我正在尝试在一个资源中调用另一个资源中的 for_each block 的结果

python - 使用 python 连接 sql server 时,此版本的 SQL Server 不支持 Azure Windows 登录

c# - 在 azure windows VM (C#/.NET5.0) 上托管服务时,无法将 websocket 与 SignalR 结合使用

c# - 使用 Redis 的 SignalR 横向扩展 - 不支持 SSL

signalr - 从通用集线器继承

c# - 将字符串转换为 DateTime

c# - Resharper 将类型 T 的字段重构为 Lazy<T>

c# - 通过在 Azure Function 上使用输出 blob 绑定(bind)进行简化