Get an overview of Azure's Mobile Apps. Learn how to quickly deploy the Mobile Apps Quickstart template to get your Azure mobile app up and running.
- [Instructor] As you're mobile services enables you to build apps that are hosted in Azure, Azure mobile apps is a managed platform as a service offering and these mobile apps are highly scalable and globally available. We can build for a variety of platforms, including iOS, Android, and Windows phone, as well as Windows Store. We can store that data in the cloud, when that can be in the SQL databases, Table Storage, Blob Storage, or Mongo DB, we also can sync that, including an offline sync, and we'll talk about that later in the course.
We can authenticate using Facebook, Twitter, Microsoft, Google, or Azure Active Directory, and we can also push out notifications to our users and devices. The mobile Azure App Service features include autoscaling, staging environments, continuous deployments, virtual networking, and isolated and dedicated environments for your mobile apps, and you can build with a variety of SDKs, including Android Java, Apache Cordova, iOS Objective-C, iOS Swift, the Universal Windows Platform, Xamarin Forms, Xamarin Andriod, and finally Xamarin iOS.
Let's go ahead, pop into Azure, and I'll show you how fast and easy it is to create a mobile app. I've created a new resource group called Azure Mobile App and from here I'm going to go ahead and create a new mobile app. To do so, clicking on Add. I'm going to go ahead and filter on Mobile App and you'll notice that as soon as I start typing in Mobile, I have a couple of options available. I'm going to use the Mobile Apps Quickstart for this demonstration.
I'm going to go ahead and select that. A blade pops up, providing some information about this Quickstart deployment. I'm going to go ahead and click Create. I'm going to provide a name for our app and you'll notice that it will need to be unique as it is using the dot as your website's dot net. Select your subscription, your resource group, and then you're service plan. This has gone ahead and created a service plan for me, I could also go ahead and create a new one. I'm going to use the one that was provided and I'm not going to turn on application insights, simply click Create.
After a few minutes, you're mobile app will have been created. I'm going to go ahead and close our Quickstart blade, and then I'm going to go ahead and close our Everything blade. And I'm going to go ahead and refresh our resource group and here we can see our mobile app has been created, as well as the service plan. I'm going to go ahead and open up the blade for our mobile app and our next step in the deployment is to click on Quickstart. Here we can go ahead and choose our development platform.
For our example today, I'm going to go ahead and use Windows, and the first thing we need to do is connect to database. Now it states I already have a data connection, but this is SQL Lite and it is not recommended for production use. So let's go ahead and create an Azure SQL database. To do so, click here, where it states Click Here and next click Add. You're going to choose your type, for us it will be a SQL database, but there is an option here for storage. Next we're going to go ahead and configure our SQL database.
Now, you'll notice I already have a couple SQL databases available to me, I could go ahead and use on of these, but for our purposes, I'd like to show you how you create a new one. You're going to go ahead and enter in the database name. You're going to go ahead and configure your server, entering your target server, provide your server admin log in and password. And then enter your location. I do not want to put mine is West Europe, I believe my resource group has been created in South Central US, so I'll pop it there.
I'm going to click Select, and next you can go ahead and choose your pricing tier. Now you'll notice that one was repopulated for us, and that happened to be the standard version, and this is the one that we typically use for most of our production workloads. I'm going to go ahead and leave that as is, and the collation I'm going to leave as default. Next, click Select. Now select a Connection string, and I'm going to leave the default name. I'm going to click OK, and OK again.
Once your data connection is complete, you can go ahead and start closing some blades. Next we're going to go ahead and create a table API. Now this Quickstart template includes a to do item table. Go ahead and select your backend language, for our example I'm going to go ahead and pick a Node.js. Then you must acknowledge that this will override all site contents and then you'll go ahead and create the to do item table and this will take several minutes. After several minutes, your to do item table will have been created.
Now you can go ahead and configure your client application. You can create a new app or connect to an existing app. For our demonstration, we're going to go ahead and create a new app. I'm going to go ahead and download the zip file and then we can open up our mobile app within Visual Studio. How quick and easy was that? We created a mobile app in a couple clicks of our mouse within Azure, and now we can go ahead and work in that application within Visual Studio.
Learn the intermediate-level skills needed to design Azure web and mobile apps for any organization, using the Azure Web Apps and Mobile Apps services. Instructor Sharon Bennett, a Microsoft Certified Solutions Expert, covers securing mobile and web apps with Azure Active Directory, creating WebJobs to script tasks such as queue processing and file maintenance, and extending mobile apps with custom code. Plus, learn how to update, back up, and restore your Azure apps.
As an intermediate-level course, an existing understanding of the Azure platform is required. After completing the training, IT professionals will also be better prepared for Azure certification.
- Create Azure web apps
- Create WebJobs
- Using Traffic Manager
- Adding a CDN to web apps
- Updating, backing up, and restoring Azure Web Apps
- Deploying Azure mobile apps