Setup Xamarin CRM Azure Mobile App Service for product catalog data - xamarin/demo-xamarincrm GitHub Wiki
###1. Create a .NET-backed Azure Mobile App Service (formerly Azure Mobile Service)
This task is beyond the scope of this instruction document. You may find more information here: http://azure.microsoft.com/en-us/updates/general-availability-mobile-services-net-backend/
The basic overview is:
- Create a .NET-backed service instance via Azure's web portal.
- Connect to your Azure account from Visual Studio, and select the Azure Mobile App Service that you just created via the web interface.
- Publish the Azure Mobile App Service to your selected Azure service instance via Visual Studio.
Find more information in Microsoft's documentation about Azure Mobile App Services.
###2. Publish the service
In the solution named XamarinCRMv2CatalogDataService, there is an identically named XamarinCRMv2CatalogDataService project. Right-click and select "Publish".
images/XamarinCRMv2CatalogDataService_publish.png
This will prompt you to login to your Azure account, and will then present a wizard-type dialog that will allow you to publish the .NET-backed service to Azure.
images/XamarinCRMv2CatalogDataService_PublishDialog.png
###3. Update service URL in app code
In order for the Xamarin CRM app to use your Azure service instance instead of the default one maintained by Xamarin, you must update the URL in the config.xml:
images/XamarinCRMv2CatalogDataService_URL.png
###4. Update API key in app code
In order for the Xamarin CRM app to use your Azure service instance instead of the default one maintained by Xamarin, you must update the API key in the config-sensitive.xml: