问题
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?
回答1:
Deploying a bot to IIS is the same as deploying any website.
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/
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
来源:https://stackoverflow.com/questions/44234788/how-to-publish-bot-framework-c-sharp-code-to-windows-server-2012-r2