Share via


Azure: How to deploy your websites or web apps

Azure is a comprehensive set of cloud services that developers and IT professionals use to build, deploy, and manage applications through our global network of data centers. Integrated tools, DevOps, and a marketplace support you in efficiently building anything from simple mobile apps to internet-scale solutions.

If we want to deploy your application or websites to Microsoft Azure. This is the right place to get our ultimate cloud solution and manage our apps or websites.

Follow the steps to deploy websites or web apps:

We need to have Visual Studio Community. For the project go to File-> New-> Project

https://jurisma1992.files.wordpress.com/2017/11/screenshot-2.png?w=720

Click the C# section and select web, then select ASP.NET web application. We can choose your directory where we want to save our document. Click OK.

https://jurisma1992.files.wordpress.com/2017/11/screenshot-3.png?w=720

Select an empty application and click OK.

https://jurisma1992.files.wordpress.com/2017/11/screenshot-4.png?w=720

We will see our ASP.NET application page. We can add more sections and design our page. We can add HTML, JavaScript and other languages supported by websites. If we want to add more we need to right-click on the solution explorer and click Add.

Now we are going to deploy. Right-click your project File-> Publish

https://jurisma1992.files.wordpress.com/2017/11/screenshot-6.png?w=720

A window will open. Then click Microsoft Azure App service. Now we need our Azure subscription. Visual Studio Enterprise subscription is used here. If we do not have a subscription, then we can get a free trial subscription from azure.com.

A resource group was already created. We can create a new one if needed by clicking New.

https://jurisma1992.files.wordpress.com/2017/11/screenshot-8.png?w=720

Click OK.

https://jurisma1992.files.wordpress.com/2017/11/screenshot-9.png?w=720

Now click Publish. It will automatically continue and publish our websites.

If you go to the Azure Portal we will see the section Hello Test1. We can manage everything from there.

https://jurisma1992.files.wordpress.com/2017/11/screenshot-10.png?w=720

For more information. Please have a look: https://azure.microsoft.com/en-us/pricing/details/app-service/windows/