Building Azure Mobile Service App – 1st Part

Hi Friends,

In this segment we’ll talk about creating mobile service in the cloud and then using the same in our App. During the course we’ll use bunch of different kinds of technologies. We’ll talk about these technologies individually once we progress along the path. So, without wasting time 1st let’s go ahead and create Mobile service in Azure. As you can see I’m in the Azure portal

8th

where in currently i am not having any mobile service created. I’ll go ahead and create this link as shown below and create new mobile service.

9th

10th

11th

12th

Now, let’s go ahead and explore the service. So, here a framework has been installed on the IIS server hosted on windows azure which connects to the backend server. This provided REST based endpoints which means by using this REST endpoint we can perform some operation. As you can see below in the screen shot, our service is created and with manage keys option i can go ahead and off-course and associate key with this service.

13th

14th

Now, let’s have a look at the dashboard for the service. This is essentially a very usual dashboard we have used earlier with Azure.

15th

we’ll be exploring more this dashboard later. But, for now let’s look at the DB section which is also created with this service.

16th

17th

Now, let’s look at the dashboard of the db server. Here, you can get all the performance related parameters and also connection string for connecting to the database.

18th

Now, let’s open SQL Server management studio and connect to the database what we created in Azure. However, while connecting to the azure portal via SSMS; firewall may obstruct connection to happen as shown below.

21th

In order to fix the same, you can go back to the azure portal click on manage server and include your IP in the trusted IP List.

22nd

Once that is done, you can go ahead and login via SSMS as shown below

20th

As you can see below in the screen shot, currently no table is created here.

23rd

you can also login online SSL management portal.

24th

25th

Now, let’s go to mobile service dashboard and click on windows project as shown below and then download the starter app.

26th

With this i would like to wrap this session. In the next session, we’ll explore the app which we have downloaded from Azure and will do some really cool stuff with that. Till then stay tuned and Happy Coding.

Thanks,
Rahul Sahay
Happy Coding

2 thoughts on “Building Azure Mobile Service App – 1st Part”

    • Ideally these mobile services are nothing but REST-based APIs only. Now, why i create on Azure as Microsoft out of the box provides very secure access to these APIs. I really don’t mess my head around to create and manage any kind of security like token or cert based authentication. 2nd thing is again multitude of devices can be covered easily means i can use same API for my conventional website or App. 3rd thing again is scalability; based on my usage my allocated machines can be increased or decreased. 4th thing i would say, i have a choice of language like either i select conventional model C# to build my app; here i can get bootstrap code based on my services. I can also choose Javascript as my coding environment and download the skeleton code with all infrastructure in there and then do the customization. 5th thing is publishing the app on windows store will be a cake walk if you have everything set under one umbrella.Last but not the least if you are thinking commercially, then you can easily track on dashboard how well your app is doing. Thanks 🙂

Comments are closed.

Thanks, Rahul Happy Coding