Forum Discussion
Getting Started with BOT Framework
The Microsoft Bot Framework (preview), framework enables organizations to build intelligent agents, known as Bots.
The Framework provides developers with a developer portal and SDK to build Bots, a Bot Connector service to connect to social channels such as Twitter and Slack, and a Bot Directory to discover and use existing bots.
Bots (or conversation agents) are rapidly becoming an integral part of your digital experience.
Getting Started with BOT
Firstly, you have to download and extract the Bot template,
System Requirements
- Visual Studio 2015 Update 1 or Visual Studio 2017.
- Bot Emulator (Downloaded from the Website).
You can download from the following links
- Bot Template — http://aka.ms/bf-bc-vstemplate:
- Bot Emulator — http://emulator.botframework.com/
- Visual Studio — https://www.visualstudio.com/downloads/
Once Bot Template downloaded copy the Zip file to following location
The Visual Studio 2017 project templates directory is typically located here:
%USERPROFILE%\Documents\Visual Studio 2017\Templates\ProjectTemplates\Visual C#\
Open Bot Template
As usual open New Project in Visual Studio and go to Templates >> Visual C#
In the bottom you can find the template named Bot Application
Give a meaningful name and click on OK
Interface of Bot
Bot Interface is not like other interfaces it won’t show anything until you open something
In the Solution Explorer bar you can see some kind of files
Installing Bot Emulator
Once bot emulator is downloaded from the web just double clicked on it, it will start installing
Bot Emulator will looks like this
Until we developed a error free program we won’t be able to see anything here
Configuring Dev.Bot
Once everything finished locally if you are trying to upload your bot and connect with the channels you have to configure the web site also
Direct to https://dev.botframework.com/ and sign in with your Microsoft account, once done Click on Create Bot
It will direct to the following site https://dev.botframework.com/bots/new
Display Name — Your Bot Name
Handle — Used in the URL for your bot. Alphanumeric and underscore only. Cannot be changed once registered.
If you are trying to develop for your web site Message Endpoint URL will be there
And Microsoft App ID and Password is necessary to use this app globally if you are debugging locally it’s not necessary to get those.
Generate Microsoft App ID & Password
App Name — Meaningful Name of your Bot
App ID- Automatically generated by Microsoft
Click on the Generate App password to continue
New Password will be generated online.
Click on OK
Once all finished click on Agree and Register you Bot
Thanking you, Happy Coding