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:
![](https://static.packt-cdn.com/products/9781786463104/graphics/assets/image_03_028.png)
- Select Visual C# from the left-hand side template category. From the templates section, you will see the Bot Application template:
![](https://static.packt-cdn.com/products/9781786463104/graphics/assets/image_03_029.png)
- Select the Bot Application template, name the project WeatherBot, and then click on OK:
![](https://static.packt-cdn.com/products/9781786463104/graphics/assets/image_03_030.png)
- Select the MessagesController.cs file, which is located under the Controllers folder:
![](https://static.packt-cdn.com/products/9781786463104/graphics/assets/image_03_031.png)
- Update the Post method to call the Dialogs. For that, add a class called WeatherDialog.cs in to your solution and extend it with IDialog. For that, you have to right-click on your project and select Add | Class...:
![](https://static.packt-cdn.com/products/9781786463104/graphics/assets/image_03_032.png)
-
Extend the class with IDialog, implement...