3
votes

I'm following the procedure to create a Xamarin app with a mobile app backend in Azure.

https://azure.microsoft.com/en-us/documentation/articles/app-service-mobile-dotnet-backend-xamarin-android-get-started-preview/

I've create the mobile app in the portal and downloaded the backend runtime and xamarin solutions. When I try to publish the backend runtime, the instructions indicate that the one I just created should show up 'Existing Web Apps'. Mine shows nothing.

My questions are: 1) How can I troubleshoot what shows up in the 'Existing Web Apps'? 2) Is it reasonable to just create a new web app from the VS Publish dialog? 3) If not, where should I place the publish profile that I can download from the azure portal?

Regards, Rajesh

2
There's a bug in the Azure SDK 2.7.1 where it is excluding Mobile Apps, and it will be fixed in the next Azure SDK. In the meantime, use the Publish Profile instructions in the accepted answer.lindydonna
Thank you for taking the time to answer this. It's appreciated! I'll be looking for to the next Azure SDK.Rajesh

2 Answers

5
votes

1.a. Ensure you're using the right azure suscription from VS

Review Azure subscriptions

1.b. Logout and add your subscription login again

Review Azure Account live Id

  1. Yes it's reasonable
  2. You can put it wherever you want. From VS website project goto publish settings

project publish options 4. Then select import

enter image description here 5.And Finally browse the publish settings file

enter image description here

0
votes

I have had issues with Visual Studio finding the existing apps. I tend to download the publish settings and use that instead. This works fine.

Alternatively, create a git repository and check the code into the git repository. Check out this article for instructions: https://azure.microsoft.com/en-us/documentation/articles/web-sites-publish-source-control/

Personally, I post my code to a branch of my git repository on GitHub and link the continuous deployment option of the Azure App Service to that. You can find my blog about this topic here: http://shellmonger.com/2015/08/29/continuous-deployment-nodejs-and-microsoft-azure/ - it's for NodeJS but the concept and methodology is the same.