gpt4 book ai didi

c# - 从 Azure 门户创建机器人与从 Bot 框架创建机器人有什么区别?

转载 作者:行者123 更新时间:2023-12-02 07:11:13 25 4
gpt4 key购买 nike

我可以看到我可以创建机器人服务并直接从 Azure 门户将其与机器人框架连接?据我所知,它创建了一个项目,与我的 Visual Studio 中的 C# 机器人项目有点不同。然后它为我提供了将其与远程存储库持续集成的方法,这到底是什么以及有何不同在 Studio 中创建一个项目,在 Bot 框架网站中创建一个机器人,然后从 VS 发布它?它说它将创建“一些开始的文件”,但尽管我选择 C# 作为语言,但我绝对没有看到创建基于 C# 的项目。 test微软对此主题的支持非常非常差..

最佳答案

它实际上是一个基于 C# 的项目。请参阅Debugging C# bots built using the Azure Bot Service on Windows

The C# environment in Azure Bot Service has more in common with Node.js than a typical C# app because it requires a runtime host, much like the Node engine. In Azure, the runtime is part of the hosting environment in the cloud, but you’ll need to replicate that environment locally on your desktop.

First, you need to set up your environment. You’ll need:

  1. A local copy of your Azure Bot Service code (see Setting up Continuous Integration )
  2. The Bot Framework Emulator
  3. The Azure Functions CLI
  4. DotNet CLI

and if you want breakpoint debugging in Visual Studio 15:

  1. Visual Studio 15—the Community Edition will work fine
  2. The Command Task Runner Visual Studio Extension

这些也是要求:

Azure 2.9.6 .NET SDK
Visual Studio Tools for Azure Functions

关于c# - 从 Azure 门户创建机器人与从 Bot 框架创建机器人有什么区别?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42994587/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com