
By Adam Grocholski | Article Rating: |
|
October 8, 2013 11:00 AM EDT | Reads: |
1,230 |

In my previous post (http://thinkfirstcodelater.com/blog/?p=3192) I showed you how to get a list of locations where you can deploy Windows Azure Mobile Services using the Windows Azure cross platform command line tools. In this post I’ll show you how to use the command line tools to create a new Windows Azure mobil service.
Once again, just a reminder that I’m using the command line tools on a MacBook Air with OSX (Mountain Lion) installed, and I’m using Google Chrome as my default browser. However, the experience should be identical on Windows and Linux as well.
Open an instance of your command line (Terminal, Bash, Command Prompt, etc.) and type the following:
azure mobile create -h
As you can see, this is the command we’ll use to create a new Windows Azure mobile service. There are a number of options available to us, but for this exercise we’ll only need to specify the following:
- -l, –location. The location where we’ll deploy our Windows Azure mobile service.
- servicename. The name of our Windows Azure mobile service.
- sqlAdminUsername. The SQL admin username for our SQL server and database.
- sqlAdminPassword. The SQL admin password for our SQL server and database.
Next, enter the following into your CLI, substituting where appropriate:
azure mobile create -l “[YOUR LOCATION]” “[YOUR SERVICE NAME]” “[YOUR SQL ADMIN USERNAME]” “[YOUR SQL ADMIN PASSWORD]“
In my case I entered:
azure mobile create -l “West US” “zumo101″ “adam” “[MY SQL ADMIN PASSWORD]“
Trivia: Zumo was the code name of Windows Azure mobile services. It comes from aZUre MObile.
You can now go to the MOBILE SERVICES portion of the Windows Azure management portal to see your provisioned service.
You can also go to the SQL DATABASES portion of the Windows Azure management portal to see the database that was created as part of the mobile service provisioning process.
That’s it. You just created your first Windows Azure mobile service. One of the great benefits of Windows Azure mobile services is that you can use one database for multiple mobile services. In my next post I’ll show you how to create a mobile service that uses an existing database.
Did you know you can try Windows Azure for free for 30 days? Just go to http://aka.ms/thecloud and sign up.
Read the original blog entry...
Published October 8, 2013 Reads 1,230
Copyright © 2013 SYS-CON Media, Inc. — All Rights Reserved.
Syndicated stories and blog feeds, all rights reserved by the author.
More Stories By Adam Grocholski
Hey there! My name is Adam Grocholski, and I'm a Technical Evangelist at Microsoft where I spend time focusing on Windows, Windows Phone, and Windows Azure. I live in the frozen tundra of Minnesota and run thinkfirstcodelater.com. You can also follow me on twitter at @codel8r.
![]() Oct. 18, 2016 08:00 AM EDT Reads: 10,789 |
By Elizabeth White ![]() Oct. 18, 2016 08:00 AM EDT Reads: 5,482 |
By Yeshim Deniz ![]() Oct. 18, 2016 07:45 AM EDT Reads: 626 |
By Yeshim Deniz ![]() Oct. 18, 2016 07:00 AM EDT Reads: 608 |
By Liz McMillan ![]() Oct. 18, 2016 06:30 AM EDT Reads: 3,135 |
By Liz McMillan ![]() Oct. 18, 2016 06:00 AM EDT Reads: 1,294 |
By Liz McMillan ![]() Oct. 18, 2016 05:30 AM EDT Reads: 597 |
By Elizabeth White ![]() Oct. 18, 2016 05:30 AM EDT Reads: 4,396 |
By Yeshim Deniz ![]() Oct. 18, 2016 05:15 AM EDT Reads: 596 |
By Elizabeth White ![]() Oct. 18, 2016 05:00 AM EDT Reads: 2,175 |
By Elizabeth White ![]() Oct. 18, 2016 04:30 AM EDT Reads: 1,070 |
By Liz McMillan ![]() Oct. 18, 2016 03:45 AM EDT Reads: 3,605 |
By Pat Romanski ![]() Oct. 18, 2016 03:45 AM EDT Reads: 1,116 |
By Liz McMillan ![]() Oct. 18, 2016 03:00 AM EDT Reads: 506 |
By Elizabeth White ![]() Oct. 18, 2016 02:30 AM EDT Reads: 1,580 |
By Carmen Gonzalez ![]() Oct. 18, 2016 02:30 AM EDT Reads: 9,385 |
By Elizabeth White ![]() Oct. 18, 2016 02:15 AM EDT Reads: 515 |
By Pat Romanski ![]() Oct. 18, 2016 02:00 AM EDT Reads: 1,551 |
By Elizabeth White ![]() Oct. 18, 2016 01:45 AM EDT Reads: 3,789 |
By Pat Romanski ![]() Oct. 18, 2016 01:30 AM EDT Reads: 552 |