Setup Xamarin CRM Azure Mobile Service for backend data - xamarin/app-crm GitHub Wiki
####These instructions assume that:
- You have Visual Studio 2015 installed
- You have a Microsoft Azure account
- You have setup a new Azure Mobile Service instance via the Azure web portal.
-
Open the "XamarinCRMv2DataService" solution, and right click on the "XamarinCRMv2DataService" project node. Select "Publish". images/XamarinCRM_AMS_Publish_Menu.png
-
In the Publish Web dialog, select Microsoft Azure Mobile Services as the publishing target: images/XamarinCRM_AMS_Publish_Dialog_001.png
-
If prompted, login to your Microsoft Azure account: images/XamarinCRM_AMS_Publish_Dialog_002.png
-
After you're logged in, select the service that you'd like to publish to: images/XamarinCRM_AMS_Publish_Dialog_003.png
-
On the Connection tab (on the left), you'll see that the publishing settings have been downloaded and entered for you from your Azure account. If you wish, you can click "Validate Connection" to ensure that you can connect to Azure. images/XamarinCRM_AMS_Publish_Dialog_004.png
-
On the Settings tab, you can set choose your build configuration, as well as some common ASP.NET settings. If you intend to later debug by attaching Visual Studio to the remote Azure Mobile Service debugger, make sure that you select Debug as the configuration. images/XamarinCRM_AMS_Publish_Dialog_005.png
-
In the Preview tab, you can preview what files will be pushed to the Azure Mobile Service instance; only updated files will be pushed. Clicking the "Start Preview" button will initiate a build of the project and display files that will be pushed. You an also skip previewing altogether and just click "Publish" to initiate the publish action. images/XamarinCRM_AMS_Publish_Dialog_006.png
-
When the publish is complete, a web browser will open and navigate to the service's URL. This web page tells you that the service is up and running, and also allows you to test the service right in the browser. images/XamarinCRM_WebInterface_001.png
-
You've successfully published your service! You may now use the Xamarin CRM mobile app with this service. If you like, you may also click the "try it out" link on the page to interact with your service for testing and troubleshooting. Follow the related link below for more details.
###Next Steps:
####Update the service URL and app key in your Xamarin mobile app project
####Learn more about using the provided web interface to interact with your service