Development of WeatherBot code
We have completed setting up LUIS. Now let's develop a bot for knowing the weather of a given geography. We will also see how LUIS can help us in identifying the geography of a given sentence.
This guide is for C# using the Bot Framework Connector SDK .NET template:
- Open Visual Studio and navigate to
New|Project:

- Select
Visual C#from the left-hand side template category. From the templates section, you will see theBot Applicationtemplate:

- Select the
Bot Applicationtemplate, name the projectWeatherBot, and then click onOK:

- Select the
MessagesController.csfile, which is located under theControllersfolder:

- Update the
Postmethod to call theDialogs. For that, add a class calledWeatherDialog.csin to your solution and extend it withIDialog. For that, you have to right-click on your project and selectAdd|Class...:

Extend the class with
IDialog, implement its interface method,StartAsync(), and also decorate the class with aSerializableannotation:

The core...