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:
![](https://static.packt-cdn.com/products/9781789612080/graphics/assets/0cf7ea47-84d2-4b94-92ce-71b354455810.png)
The initial application is created with two XAML files: App.xaml and MainPage.xaml:
![](https://static.packt-cdn.com/products/9781789612080/graphics/assets/cd80dc50-dc2b-44d3-ac32-a3797e36d979.png)
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.