Creating our first bot
To develop a bot, perform the following steps:
- Build a bot using the C# SDK.
- Test it using the Bot Framework emulator.
Building a bot using the C# SDK
Let's go through the steps to create a bot application using the Bot Framework Connector SDK .NET template. They are as follows:
- Open Visual Studio and navigate to
File
|New
|Project...
and selectVisual C#
from the left sideTemplates
category. Then, from theTemplates
section, you will see theBot Application
template:

Figure 2: Creating a new project in Visual Studio IDE
- Select the
Bot Application
template, name the projectHello World
, and then click onOK
:

Figure 3: Selecting the Bot Application template and naming the project
A solution gets created with the Hello World
project.
Let's go through the default files that were created by this Bot Application
template in Visual Studio.
When we create a bot using the Bot Application
template, it basically creates an ASP.NET Web API project, which contains all the Bot Framework...