This document provides steps for using Azure Mobile Services with Xamarin.Forms:
1. Create an Azure Mobile App backend by specifying a name and resource group.
2. Connect the mobile app backend to an Azure SQL database by creating a new database and server.
3. Generate a table API for the mobile app backend by selecting a backend language and creating a table.
4. Test the mobile app backend by running apps in UWP and Android emulators.
3. Select New, then SelectWeb + Mobile and then Mobile
App.
1
In the Mobile App accountTab,
specify the desired configuration
for the Mobile App account (Name,
& Resource Group). Click Create
button at the bottom of the screen
to create the Mobile App.
2
6/3/2016 Prepared by Eng Soon Cheah
5. In the SettingsTab for the new Mobile App backend,
click Quick start > your client app
platform (Xamarin.Forms) > Connect a database,
6/3/2016 Prepared by Eng Soon Cheah
7. In the Add data connectionTab, click SQL Database, then create a new database,
type the database Name, choose a pricing tier and then clickServer and New
server blade, type a unique server name in the Server name field, provide a
secure Server admin login and password.
6/3/2016 Prepared by Eng Soon Cheah
8. Step 1: Back in the Mobile App backend
settings, click Quick start > your client
platform (Xamarin.Forms).
Step 2: Under Create a table API, select
your Backend language, either C# or
Node.js.
6/3/2016 Prepared by Eng Soon Cheah
9. This is your result running in
UWP
&
You also can test in Android
Emulator
6/3/2016 Prepared by Eng Soon Cheah
10. References
• Getting Started with Azure Mobile Services
https://components.xamarin.com/gettingstarted/azure-mobile-services
• MicrosoftVirtual Academy (MVA)
https://mva.microsoft.com/colleges/xamarin
6/3/2016 Prepared by Eng Soon Cheah