If you are new to Microsoft Azure, I will recommend to first go through my article on “Deep Dive Into Microsoft Azure”.
In this article, we will look at building web applications and APIs with Microsoft Azure. We will see how we can use Azure as a platform for our applications, and we will see the different options for creating and deploying an application.
Let’s see three different scenarios for building and hosting an application.
The below image shows a clear distinction between On-Premise, IaaS (Infrastructure as a Service), and PaaS (Platform as a Service) models along with the information of what we are responsible for and what Azure is responsible for in each model.

In On-premises solution, we have to purchase the physical servers and then host the application there. In this scenario, we are responsible for not only building the application, but also for acquiring, installing, and configuring the servers, operating system etc.
The second scenario i.e. IaaS could be achieved using Azure. With IaaS also, we are responsible for building our applications, and we need to configure the operating system. However, the hardware is taken care of by Azure.
The third scenario i.e. PaaS allows us not to think about the hardware or operating system. We don’t need to configure the operating system and we don’t need to apply patches or clean up temporary files or setup software backups. All of this is taken care of by Azure only. We have to just focus on building the application.
In this article, I am going to show the App Service platform.
Microsoft Azure App Services is the main thing if we want to build an application or API that runs on a platform in the cloud. Mentioned below are the various tasks that we can perform with Azure App Services -
- We can write traditional Web Applications and server HTML to a browser.
- We can write the application in ASP.NET or Node.js or PHP etc.
- We can build an API Application and can server data over the internet.
- We can build Logic Applications, which integrated with other backend systems and implement a business workflow, or an application, which needs to collect data from external sites like Twitter etc.
- We can build Mobile Applications

Now, we will see how to build a web application up and running in App Services.
For creating App Services, go to Azure Portal and click on App Services on left-hand side and then click on Add. There are many templates available that Azure provides. (There are pre-configured App Services available, e.g. – WordPress blog).

I selected the “ASP.NET Starter Web App”, as shown below and click on Create.

Once you click on Create, a form will be displayed which will ask the information like App Name, Subscription, App Service Plan etc. The point to note here is that “App Name” needs to be unique because we are creating an app that will be hosted on azurewebsites.net and it might be possible that someone already has registered that name.















Join the conversation! Your thoughts help the community grow.