How to deploy cross platform web applications on Cloud

Maleeha Khalid
3 min readDec 12, 2020
Photo by Glenn Carstens-Peters on Unsplash

Once you understand all the concepts and build a cross platform web application, the next step is to deploy this application.

In order to create a cross platform server side applications that run on Windows, Linux and Mac, we use .NET core. I am using .NET core 3.1. You can use .NET core 2.2 or higher version. First we will create a simple web application project. You can directly deploy your own application by just following the steps of deployment.

Create a new project and select ASP .NET Core Web Application from the list.

Configure your project name. Select MVC application and select .NET 3.1 from the dropdown menu.

Once the application is created, right click on the project and select publish. You will see a similar screen.

Click start and select Azure.

Select Azure App Service(Windows).

If you have not logged in to your Azure account from visual studio, you will be asked to enter your account information before you proceed. Select your subscription. If your are a student and want to learn Azure for free, you can register yourself here and you will get 100$ credit for free.

I have already created Azure App Service. You can create one by pressing the + icon next to ‘Create New Azure App Service’.

Name your application. Select your subscription. Create the resource group and hosting plan. You can select the free hosting plan size from dropdown menu and then press Create.

After that, select the App Service and press Finish.

Press publish and wait until the success message appears on output window.

And Voila!!! You have deployed your application successfully. You can see your application be going to the URL yourAppName.azurewebsites.net.

Conclusion:

We have created the basic ASP .NET MVC application and deployed it continuously on Microsoft Azure using Microsoft Azure App Services.

--

--

Maleeha Khalid

Computer Science Student from Lahore Pakistan, Machine learning enthusiast, Microsoft Learn Student Ambassador