Our UWP application will be very simple. We'll create a single screen that allows us to enter a message, and then a log whereby the user can see the bot's response, along with their own chat history. Firstly, let's create a new UWP application:
The initial application is created with two XAML files: App.xaml and MainPage.xaml:
The main structure of the program is actually in the code-behind for App.xaml: App.xaml.cs. If you have a look at that file, you'll see code that handles when the application is launched and suspended, and when navigation within the app fails.