Skip to main content

Microsoft Bot in steps

· One min read

First thing first

Steps
1. Install Visual Studio 2015 Update 2 or higher.

2. Download the project template zip from here
Save the file to %USERPROFILE%\Documents\Visual Studio 2015\Templates\ProjectTemplates\Visual C#.

3. Install the BotFrameworks which gives the Bot Emulator
here

4. Build the project and launch on the browser

5. Open emulator and add the your url http://localhost:3978/api/messages port number 3978 may vary based on the the endpoint launch and leave the MicrosoftAppId field and MicrosoftAppPassword field empty

6. To check the bot is working
In emulator bottom Text Box enter a message say hello, this message will be echoed back to you, like below
You sent hello which was 5 characters

Reference:
Microsoft documentation