I built a bot several weeks ago. But when I open and ran the bot emulator today, I saw a notification like this: Then I followed the instruction and installed the new version of bot framework emulator. What happed then was then the bot application didn't work anymore. When I typed message in the emulator, it just returned an exception. After visiting Bot Framework offical site, I realized that Microsoft had just released a new version of Bot Framework: V3. On this page, we can see the majoy change made for V3. But in order to convert our v1 bot to V3 bot, here are some things we need to look at: In the new Bot Framework version, "BotBuilder and Connector are now one SDK". We need to first remove the Bot Connector package reference and update the Microsoft.Bot.Builder package to latest version. Another big change is that Message object has been replaced by a new object called Activity. So the MessageController will be different. You can download the new Bot Application template from this link to create a V3 Hello World Application and see the new MessageController.
I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too.
Stay tuned to my blog, twitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.
Stay tuned to my blog, twitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.
This article is related to
Better code,Microsoft Bot Framework
Better code,Microsoft Bot Framework
No comments:
Post a Comment