本文介绍了如何将Bot Framework C#代码发布到Windows Server 2012 R2?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要将bot框架c#代码发布到Windows Server 2012 R2,但是如何将服务器",站点名称"和目标URL设置为什么?

I need to publish bot framework c# code to windows server 2012 r2 but what do I set "Server" , "Site name" , and Destination URL to?

推荐答案

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

Deploying a bot to IIS is the same as deploying any website.

有一个很好的演练,可以在Windows Server 2012 R2上安装 Web部署: http://www.developerhandbook.com/visual-studio/publish-website-to-iis-using-web-deploy/和另一个此处一个: http://www. sherweb.com/blog/how-to-install-webdeploy-on-windows-server-2012/

There's a nice walkthrough of installing Web Deploy on Windows Server 2012 R2 here: 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部署,您就可以将部署配置文件导入Visual Studio,并且服务器,站点名称和目标URL将被正确填充.

Once Web Deploy is installed and configured, you can import the deployment profile into visual studio and the server, sitename and destination url will be populated correctly.

Server=YourServerName
SiteName=YourBotWebSiteName
DestinationUrl=WebDeploymentUrl

这篇关于如何将Bot Framework C#代码发布到Windows Server 2012 R2?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

11-03 09:05