如何将 bot 框架 c# 代码发布到 windows 服务器 2012 r2?

how to publish bot framework c# code to windows server 2012 r2?

我需要将 bot framework c# 代码发布到 windows server 2012 r2,但是我应该将 "Server" 、 "Site name" 和 Destination URL 设置到什么?

将 bot 部署到 IIS 与部署任何网站相同。

这里有一个在 Windows Server 2012 R2 上安装 Web Deploy 的很好的演练:http://www.developerhandbook.com/visual-studio/publish-website-to-iis-using-web-deploy/ and another one here: http://www.sherweb.com/blog/how-to-install-webdeploy-on-windows-server-2012/

安装和配置 Web Deploy 后,您可以将部署配置文件导入 visual studio,服务器、站点名称和目标 url 将被填充正确。

Server=YourServerName
SiteName=YourBotWebSiteName
DestinationUrl=WebDeploymentUrl