Azure Hosted .Net Core Application

In this article, I will be explaining how to publish your .Net Core application using Azure Service plan.

How to host your database with Azure?
What is the Azure Service Plan?

According to Microsoft, "In App Service, an app runs in an App Service plan. An App Service plan defines a set of compute resources for a web app to run. These compute resources are analogous to the server farm in conventional web hosting. One or more apps can be configured to run on the same computing resources (or in the same App Service plan)." Read more about Azure Service Plan here.

Why would I host my application with Azure Service Plan? 
How to do it?

First, let's set up our Azure Service Plan:

Azure
 
Azure
 
It takes a while until it's successfully set up by Azure, when it is ready you are going to see something like this,
 
Azure  
 
When ready, download your "Publish Profile":

Azure

Now, it's time to configure your Visual Studio:

Right click in your project, click on "Publish",

Azure

Import your profile (downloaded before from Azure portal) here,

Azure  

And here we have our application running hosted with Azure Service Plan,

Azure

Congratulations, you have successfully published your application using Azure Service Plan!