To be able to easily work with LUIS, we will want to add the NuGet client package. In the smart-house application, go to the NuGet package manager and find the Microsoft.Cognitive.LUIS package. Install this to the project.
We will need to add a new class called Luis. Place the file under the Model folder. This class will be in charge of calling the endpoint and processing the result.
As we will need to test this class, we will need to add a View and a ViewModel. Add the files called LuisView.xaml to the View folder, and LuisViewModel.cs to the ViewModel folder.
The View should be rather simple. It should contain two TextBox elements, one for inputting requests and the other for displaying results. ...