Building Azure Mobile Service App: Part 1

Hi Friends.

In this segment we'll talk about creating a mobile service in the cloud and then using it in our App. During the course we'll use a variety of technologies. We'll talk about these technologies individually once we progress along the path. So, without wasting time let's go ahead and create a mobile service in Azure. As you can see I'm in the Azure Portal.

l

Wherein I currently do not have a mobile service created. I'll go ahead and create this link as shown below and create a new mobile service.









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





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.



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





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



Now, let's open the SQL Server Management Studio and connect to the database that we created in Azure. However, when connecting to the Azure Portal via SSMS the firewall may obstruct the connection as shown below.



To fix it, you can go back to the Azure Portal and click on Manage Server and include your IP in the trusted IP List.



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



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



You can also login into the online SSL management portal.




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



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