如何在Azure Web应用程序上部署Signal R自我托管服务器 [英] How to deploy a signal R self host server on azure web app

查看:72
本文介绍了如何在Azure Web应用程序上部署Signal R自我托管服务器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是天蓝色的新手,我有一个在Azure Web应用程序上运行的Web应用程序,并且我将我的signal-R自托管主机作为控制台应用程序.我想将signal r自托管conbsole应用程序部署到蔚蓝.我需要采取什么步骤?

I am new to azure and I have an web app running on Azure web app and I have my signal-R self host as an console application. I want to deploy the signal r self host conbsole app to azure. What are the steps I need to take?

推荐答案

@esther fang,

@esther fang,

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

please reference below tutorial, one thing need to be aware is, you will need to manually enable web socket for you site.

http://www.asp.净/信号器/概述/部署/使用具有蓝色网站的信号器

报价:

将SignalR Web应用部署到Azure应用服务

Deploying a SignalR Web App to Azure App Service

SignalR在部署将应用程序部署到Azure还是将其部署到本地服务器.一个使用SignalR的应用程序可以在没有任何托管的情况下托管在Azure中配置或其他设置的更改(尽管适用于WebSockets)支持,请参阅下面的在Azure App Service上启用WebSockets.)本教程中,您将部署在入门中创建的应用程序教程到Azure.

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.

这篇关于如何在Azure Web应用程序上部署Signal R自我托管服务器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆