Book Image

Building Bots with Microsoft Bot Framework

By : Kishore Gaddam
Book Image

Building Bots with Microsoft Bot Framework

By: Kishore Gaddam

Overview of this book

Bots help users to use the language as a UI and interact with the applications from any platform. This book teaches you how to develop real-world bots using Microsoft Bot Framework. The book starts with setting up the Microsoft Bot Framework development environment and emulator, and moves on to building the first bot using Connector and Builder SDK. Explore how to register, connect, test, and publish your bot to the Slack, Skype, and Facebook Messenger platforms. Throughout this book, you will build different types of bots from simple to complex, such as a weather bot, a natural speech and intent processing bot, an Interactive Voice Response (IVR) bot for a bank, a facial expression recognition bot, and more from scratch. These bots were designed and developed to teach you concepts such as text detection, implementing LUIS dialogs, Cortana Intelligence Services, third-party authentication, Rich Text format, Bot State Service, and microServices so you can practice working with the standard development tools such as Visual Studio, Bot Emulator, and Azure.
Table of Contents (10 chapters)

How to deploy and run the bot application in the Bot Framework emulator locally

To test and debug the bot application locally, we have the Bot Framework emulator, which will provide all the rich functionalities of the Bot Framework SDK.

Download the emulator and install it from https://emulator.botframework.com/. Now, go to Visual Studio and press F5 to run and deploy the Hello World bot application locally in your browser. You will see the welcome page Default.htm of your bot as shown here:

Figure 9: Your bot default page in the browser

Now, open the bot emulator that you installed in the first step. By default, the emulator sets the bot URL to localhost. Make sure that the bot application localhost port and the URL port in the emulator are the same. To check that, go to the browser where your bot application is running and open, and check the port number after the localhost word in that URL:

Figure 10: Your...