Your crew on Mars has lost contact with Earth and as a result is lacking some essential functions for the mission. Your team has some satellite phones running Android, but the communcation tablets are running Windows.
Your crew has just found an alien bot on Mars that understands English, but we need to deploy it in order for us to connect. We also need to use an interface to interact with the bot. As we need a tool that works across all the team's devices, we will be deploying a bot and building an application in Xamarin.
Go through this document to ensure that your Xamarin has been installed and setup correctly.
In this repository there is a blank Xamarin.Forms shared project that has been pre-configured with the right nugets for you. You can find it above under MarsBuddyBlank
.
The main nugets installed in this project are:
These nugets allow us to communicate with the bot using pre-defined methods and classes, without the need for manually writing HTTP calls.
Click on the MarsBuddyBlank
submodule in this repository to download the starting project.
Xamarin allows you to write your code base once in C#/.NET and have it deployed across the 3 popular mobile platforms, iOS, Android and Windows Phone.
This HOL will bring you through deploying a simple bot using the Microsoft Bot Framework, setting up a DirectLine (REST API) connection and building a Xamarin app to work with it:
- Publishing a bot and getting DirectLine
- Connecting to a bot
- Making an interface to interact with the bot
- Retrieving from a database with Azure Mobile Apps
If you've finished the missions, there are some challenges for you to complete to and win some prizes.
You can see the final completions for both the missions and challenges in the CompletedScreenshots
folder.
You can also find the completed project in the submodule above under MarsBuddyComplete
.
Feel free to fork this repository for your own use, or make a pull request and contribute to this repository if you have any suggestions.