简体   繁体   English

部署 Bot 服务 v4

[英]Deploying Bot service v4

Seems like it's suppose to be a simple trivial process given the very few resources on this topic but I can't seem to understand it.鉴于有关此主题的资源很少,似乎这应该是一个简单的琐碎过程,但我似乎无法理解。 The official documentation has one page that uses default deployment templates: https://docs.microsoft.com/en-us/azure/bot-service/bot-builder-deploy-az-cli?view=azure-bot-service-4.0&tabs=csharp官方文档有一页使用默认部署模板: https://docs.microsoft.com/en-us/azure/bot-service/bot-builder-deploy-az-cli?view=azure-bot-service- 4.0&tabs=csharp

But I can't get it to work or understand what it's doing.但我无法让它工作或理解它在做什么。

I tried creating my own app service, and bot channel registration (with app id/secret).我尝试创建自己的应用程序服务和机器人频道注册(使用应用程序 ID/秘密)。 I've made a build pipeline that puts the code into the app service but now I'm stuck.我已经制作了一个将代码放入应用服务的构建管道,但现在我被卡住了。 How exactly is the app service supposed to connect to the bot registration?应用程序服务应该如何连接到机器人注册? The appsettings file has "MicrosoftAppId" and "MicrosoftAppPassword" but it doesn't seem to be used anywhere in the solution. appsettings 文件具有“MicrosoftAppId”和“MicrosoftAppPassword”,但似乎并未在解决方案中的任何地方使用。

Ok, finally got it working following this guide: http://blog.aterentiev.com/2019/07/step-by-step-configure-bot-to-work-in.html好的,终于按照本指南工作了: http://blog.aterentiev.com/2019/07/step-by-step-configure-bot-to-work-in.html

Just a note, if you create an app registration and choose "Accounts in this organizational directory only" then the web chat test will not respond请注意,如果您创建应用注册并选择“仅此组织目录中的帐户”,则 web 聊天测试将不会响应

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM