DEV Community

Cover image for Host a web application with Azure App Service
John Essien
John Essien

Posted on

Host a web application with Azure App Service

Hi guys!! Lets have some fun in today's article. Lets build a web app using Azure.

What is an Azure App Service? An Azure App Service is a fully managed web application hosting platform. This platform as a service (PaaS) offered by Azure allows you to focus on designing and building your app while Azure takes care of the infrastructure to run and scale your applications.

Having said that, lets head to the cloud.


  • On the Azure portal, search for and select app service

Search for app service

  • Click the + Create button and select web app from the app service available

plus create

  • Create a new resource group. Give your web app a name. For the purpose of this article, we will be selecting code as to container. Select .Net as your runtime stack and choose windows as the operating system and select your _region.

Select runtime stack

  • Select the type of pricing plan. Take all other default settings and review and create. Note that the free and shared plan are for experimental purposes and not production.

Pricing plan

  • Wait for the resource to deploy

Wait deployment

  • Once the resource group has been deployed, click on go to resource

Go to resource

  • On the web app page, click on the default domain.

Select Domain

  • This domain URL takes you to another tab on your browser which shows that the web app is live, but no content yet

Up and running

  • On the web app page, search for and select advanced tools. Click on Go

Advanced tool

  • Once in the Kudu tool, click on debug console and select CMD
    Debug and CMD

  • Select the cite file
    Cite file

  • Select the wwwroot file
    wwwroot file

  • On the hostingstart file select the edit icon

hostingstart

  • Delete the initial code found and paste your code. Click on save

Delete initial code

Your code

  • Retry the default domain again. This time your web app should be ready

Domain URL
Web app


That was super fun!!! Right?? We are still building that cloud muscle. Join me as we head to the clouds in the next article.

COMMENT, LIKE AND SHARE

Top comments (0)