Setting up Bot Framework Environment

To create your first c# Bot you need to setup your environment you the Bot project template and the Bot framework channel emulator. They are not included in the standard VS installation package (at least not yet) so we have to fix it ourselves. Lets fix the project template first. You can download the project template from this link. After you download the template unzip the template and open this path “C:\Users\usernmae\Documents\Visual Studio 2017\Templates\ProjectTemplates\Visual C#” and paste you unzipped folder here. Once you have that you will be able to see the new Bot project template in your ‘Create New Project’ dialog.

bot new project

 

Once you have that you can just hit F5 to run but you will notice that it will only open your selected browser nothing else will happen. You need to communicate with your bot and for that you need an emulator. You can download the emulator from here. Once you have that you can run it and along with the hosted application. We will see the emulator in more detail in the next slide.

Bot Framework Channel Emulator

bot emulator empty