question

SethIsaacks-9226 avatar image
0 Votes"
SethIsaacks-9226 asked ryanchill edited

How to create, link and deploy mobile web app

I need some help, I am a beginner to Azure and this is exponentially confusing. I watched a video James Montemagno did last year for creating mobile web app, adding sql server and deploying. However NOTHING is the same now. I have no idea how to do this and I cannot find a definitive tutorial online anywhere as to how to do this. Can someone please help or point me in a direction that I can find some understanding as of how to do this.

I tried to do it all from visual studio but that failed miserably. I was able to create everything, but when I clicked on the published link there was always an issue and nothing seemed to be linked.

dotnet-xamarinazure-webapps-content-deploymentazure-mobile-app
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Grmacjon-MSFT avatar image
0 Votes"
Grmacjon-MSFT answered SethIsaacks-9226 commented

Hi @SethIsaacks-9226 ,

Thanks for using Azure. Apologies for the difficulties you've faced while trying to learn more about creating a mobile web app in Azure.

Here are a few documentation (*last updated in 2019) that can help you with your learning journey:

About Mobile Apps in Azure App Service: https://docs.microsoft.com/en-us/previous-versions/azure/app-service-mobile/app-service-mobile-value-prop

Create an iOS app: https://docs.microsoft.com/en-us/previous-versions/azure/app-service-mobile/app-service-mobile-ios-get-started

Create an Android app: https://docs.microsoft.com/en-us/previous-versions/azure/app-service-mobile/app-service-mobile-android-get-started

Hope that helps. Please let us know if you have further questions

Best,
Grace



· 5
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@Grmacjon-MSFT I have been over these links a dozen times and I am still super confused. The first link describes a way to add a web app and db. The IOS link describes another way. The Android describes another way. I have created and Xamarin cross platform app. I watched quite a few videos with James Montemagno and it seemed very simple....but Azure has changed since his video and it seems cumbersome now. I am still lost at how I tie all this together.

0 Votes 0 ·

Hi @SethIsaacks-9226 ,


Thanks for your patience. I was able to reach out to the engineering team and they gave me a link to an updated tutorial. You can view it here: https://azure.github.io/azure-mobile-apps/quickstarts/uwp/


Please let us know if this fits your learning needs.

Best,
Grace

0 Votes 0 ·

@grmacjson I finally figured out the issue. I guess I misunderstood the documentation.

"You can use the familiar tools in Visual Studio to update your database and app in Azure. In this step, you use Code First Migrations in Entity Framework to make a change to your database schema and publish it to Azure."

I took that as I did not need to run this the first time...but you do....that was my issue all along.

0 Votes 0 ·
Show more comments
SethIsaacks-9226 avatar image
0 Votes"
SethIsaacks-9226 answered

@Grmacjon-MSFT I followed this tutorial verbatim and I still cannot get my tables to show up in Azure Sql Server

https://docs.microsoft.com/en-us/azure/app-service/app-service-web-tutorial-dotnet-sqldatabase

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

SethIsaacks-9226 avatar image
0 Votes"
SethIsaacks-9226 answered Grmacjon-MSFT commented

@Grmacjon-MSFT I deleted everything and started over. Again I get the same exact result. The data saves locally but will not save on the server. I can add data on the server and it not retrieved. I have no idea what I have done wrong. I followed this to a T. I can't believe how frustrating this is.

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @SethIsaacks-9226 ,

just checking to see if you were able to deploy your mobile web app with the new tutorial I mentioned below.

Thanks,
-Grace

0 Votes 0 ·
Grmacjon-MSFT avatar image
0 Votes"
Grmacjon-MSFT answered

Hi @SethIsaacks-9226 ,

Thank you for the update. Apologies for the delay in response and any frustration caused by the old mobile web app tutorial. The tutorial you mentioned you were using earlier (https://docs.microsoft.com/en-us/azure/app-service/app-service-web-tutorial-dotnet-sqldatabase) is outdated. This is why you're running into those issues.

As I mentioned in my comment above there a new tutorial that addresses some of the issues you were facing you can find it here.

This tutorial shows you how to add a cloud-based backend service to a cross-platform mobile app by using Xamarin.Forms and an Azure mobile app backend. You will create both a new mobile app backend and a simple Todo list app that stores app data in Azure.

If you run into issues completing the new tutorial please let me know so I can share your feedback with the engineering team.



5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

SethIsaacks-4659 avatar image
0 Votes"
SethIsaacks-4659 answered Grmacjon-MSFT commented

@Grmacjon-MSFT I actually spoke with one of the head people dealing with Azure.
He told me that its currently going through a revamp and that is why I am having all the issues.
I am probably going to go another route

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Thank you for the update. We appreciate your patience and any feedback you have as we work to revamp Azure Mobile Apps.

Best,
Grace

0 Votes 0 ·