Step 1: Create a new mobile service
Log into the Management Portal. At the bottom of the navigation pane, click +NEW. Expand Compute and Mobile Service, then click Create.
Step 2: Create a Mobile service
Step 3: Specify database settings
In Name, type the name of the new database, then type Login name, which is the administrator login name for the new SQL Database server, type and confirm the password, and click the check button to complete the process.
Step 4. Create a new table technologies
Using the Azure Management portal create a new table. In the Data tab of Mobile Services click on create to create a new table. Here we have named our table technologies. You can also set insert, update, delete and read permissions for the table.
Step 4: Create Windows Phone App
Follow these steps to create a new Windows Phone 8.1 WinRT project.
- Open Visual Studio 2013
- Select Visual C# -> Windows Store->Windows Phone Apps
- Select Blank App (XAML)
Step 5: Add a reference of the Windows Azure Mobile Services Managed Client to the project
Step 6: You need the key and application URL to work with Windows Azure Mobile Services.
Step 7: Then copy and paste the above code into your App.xaml.cs file
Step 8: Create an entity class as in the following
Step 9: Create global variables
Add global variables in MainPage.xaml.cs
Step 10: XAML Design Code
Step 11: Design in Phone Emulator
Step 13: Now write the following code to the Button_Click event
Step 14: Run the Program then Insert Value
Click save button. You may now check if the data was successfully inserted using your Azure portal.