是否可以在IIS中部署Microsoft bot应用程序以在没有Azure的情况下进行托管?

问题描述:

是否可以在没有Azure的情况下在IIS中部署Microsoft bot应用程序.

Is it possible to deploy Microsoft bot Application in IIS without Azure.

我们创建了一个示例机器人应用程序,并且可以在本地环境中与仿真器一起正常运行.

We have created a sample bot Application and running fine with the Emulator in local environment.

我们希望将应用程序移至生产环境,并且没有Azure帐户和详细信息.

We would like to move the application to the Production and don't have Azure account and details.

是否可以像部署Webservices或WCF Services一样在Windows Server 2012 R2中的IIS中部署bot应用程序?没有Azure可以在IIS中托管吗?

Can we deploy bot application in the IIS in Windows server 2012 R2 as how we deploy Webservices or WCF Services ? Is it Possible without to host in IIS without Azure ?

当然可以.您只需要将漫游器代码部署到IIS服务器,然后将API终结点的URL复制粘贴到dev.botframework.com的漫游器设置中即可.

Of course it is possible. You just need to deploy your bot code to your IIS server, and copy-paste the URL of your API endpoint into the bot settings on dev.botframework.com.

例如,URL可能如下所示:

For example, the URL could look like this:

https://yourserver.com/api/messages

一个警告是它必须使用HTTPS,因此您可能需要照顾好自己的SSL证书.

One caveat is that it must use HTTPS, so you may need to take care of your own SSL certificate.

另一方面,Azure帐户是免费的,根据我的经验,每天可以在免费配额内轻松处理数千名用户.

On the other hand, an Azure account is free and according to my experience, can easily handle thousands of users daily within the free quota.