Upgrade Bot Framework V1 to V3 - Online Free Computer Tutorials.

'Software Development, Games Development, Mobile Development, iOS Development, Android Development, Window Phone Development. Dot Net, Window Services,WCF Services, Web Services, MVC, MySQL, SQL Server and Oracle Tutorials, Articles and their Resources

Friday, July 6, 2018

Upgrade Bot Framework V1 to V3

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 blogtwitter 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

No comments:

Post a Comment