Click here to Skip to main content
15,886,835 members
Articles / Hosted Services / Azure

Building Azure Mobile Service App – Part I

Rate me:
Please Sign up or sign in to vote.
0.00/5 (No votes)
18 May 2015CPOL2 min read 5.8K  
How to build Azure Mobile Service app

This article is an entry in our Microsoft Azure IoT Contest. Articles in this section are not required to be full articles so care should be taken when voting.

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 a bunch of different kinds of technologies. We’ll talk about these technologies individually once we progress along the path. So, without wasting time, first 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 of-course 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 about 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 to the 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 do some really cool stuff with that. Till then, stay tuned and happy coding!

This article was originally posted at http://myview.rahulnivi.net?p=1819

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Architect Publicis Sapient
India India
Hey there, it's Rahul Sahay! I'm thrilled to be a platform specialist at Publicis Sapient, where I get to work on some exciting projects. I've been honing my skills in various aspects of the software development life cycle for more than 15 years, with a primary focus on web stack development. I've been fortunate to have contributed to numerous software development initiatives, ranging from client applications to web services and websites. Additionally, I enjoy crafting application architecture from scratch, and I've spent most of my time writing platform agnostic and cloud agnostic code. As a self-proclaimed code junkie, software development is more than just a job to me; it's a passion! And I consider myself lucky to have worked with an array of cutting-edge technologies, from .NetCore to SpringBoot 3, from Angular to React, and from Azure to AWS and many more cousin technologies...

- 🔭 I’m currently working @ below tech stacks
- Microservices,
- Distributed Systems,
- Spring Boot
- Spring Cloud
- System Design,
- Docker,
- Kubernetes,
- Message Queues,
- ELK Stack
- DotNetCore,
- Angular,
- Azure

- 💬 Ask me anything about my articles [My View](https://myview.rahulnivi.net/)
- 📫 How to reach me: [@rahulsahay19](https://twitter.com/rahulsahay19)
- 📫 Github: [@rahulsahay19](https://github.com/rahulsahay19)

Comments and Discussions

 
-- There are no messages in this forum --