没有Azure的Bot框架可能吗? [英] Bot Framework without Azure possible?

查看:84
本文介绍了没有Azure的Bot框架可能吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果我使用Microsoft Bot Framework构建机器人,是否需要将机器人部署到Azure才能注册我的机器人

If i'm building a bot with the Microsoft Bot Framework, do i need to deploy my bot to Azure in order to register my bot HERE in order to configure the channels for the bot? Or can i simply deploy my bot to a normal (for example) IIS Server?

我找不到有关此主题的任何信息,并且我不想使用Azure.

I couldnt find any information on this toppic and i dont want to use Azure.

推荐答案

是的,应该可以在IIS或任何其他托管服务(包括Azure以外的云托管)中运行您的机器人,如

Yes, it should be possible to run your bot on IIS or in any other hosting service (including cloud hostings besides Azure) as explained here. You will have to make sure that your bot has an internet-accessible endpoint and a valid HTTPS cert.

关于HTTPS证书的要求,我正在复制此线程供您参考:

Regarding the requirements for the HTTPS cert, I'm copying the info for this thread for your reference:

Bot Framework要求通过以下方式公开x.509v3证书: 您的端点是最新且有效的.大多数检查当前 和有效"是服务器证书的标准检查:CN必须与 主机名,不能过期,不能在CRL中列出, 必须具有一组正确的EKU等.

The Bot Framework requires that the x.509v3 certificate exposed by your endpoint be current and valid. Most of the checks for "current and valid" are standard checks for server certs: the CN must match the hostname, it must not be expired, it must not be listed in a CRL, it must have the correct set of EKUs, etc.

最重要的是,您的证书必须链接到根证书颁发机构 受Microsoft信任.这些CA的最新列表可用

Most importantly, your cert must chain to a root certificate authority trusted by Microsoft. The latest list of these CAs is available here.

此外,您可以注册您的漫游器,甚至启用渠道,而无需部署到Azure或任何其他托管.您可以临时使用 ngrok创建安全隧道到您的本地主机环境,并在将其暴露给其他用户之前在您的电子邮件渠道中对其进行测试.顺便说一句,您不需要在BotFramework门户中发布您的机器人,只需注册它即可.发布仅适用于希望出现在 Bot目录中的那些机器人.

Also, you can register your bot and even enable the channels without deploying to Azure or any other hosting. You can temporarily use ngrok to create a secure tunnel to your localhost environment and test the bot in your email channel before exposing it to other users. BTW, you don't need to Publish your bot in the BotFramework portal, just register it. Publishing is just for those bots that would like to appear in the Bot Directory.

这篇关于没有Azure的Bot框架可能吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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