将 BOT 与 ASP.Net 应用程序集成

Integrating BOT with ASP.Net Application

我已经使用 Microsoft BOT Framework 构建了一个工作正常的 BOT,我已经从 BOT 模拟器进行了测试,现在我想将它与 ASP.Net 应用程序集成。我试图弄清楚如何从 Web 应用程序做到这一点,但我找不到任何教程来了解如何传递参数。你能给我一些解释这个的教程吗?

整个BOT Framework SDK is open-source and up on github. There are plenty of examples of how to do this in the CSharp/Samples or Node/examples目录。它与您要进行的任何其他 Web API 调用一样简单,它是一个 HttpPost,正文是对象服务器能够反序列化。