[Azure Stack] Deploy a custom WebApp

February 16, 2016 at 7:00 am in Azure Stack, Microsoft, TP1 by Florent

During my test of Azure Stack, I tried to deploy a custom Web App directly with Visual Studio. With Azure and Visual Studio, you have the option to connect to your account, and choose your subscription.

At this moment, with Visual Studio, you can’t do this directly on Azure Stack, because if you connect with your tenant account, you will have no subscription. To deploy your custom web app, start by creating a new Web App in Azure Stack:

image

Now, you need to get the publish settings file, by clicking on Get publish profile. It will download a file:

image

image

On the ClientVM, open your project in Visual Studio. Click on Build > Publish WebApp:

image

On the new window, click on Import:

image

Choose the publish settings file downloaded previously:

image

It will fill each text box. Click on Validate Connection to be sure that the connection is OK:

image

If you want to open the website after the deployment, copy the url from the web app and modify the Destination URL in Visual Studio:

image

image

Click on Publish. Your empty Web App is now with your custom Web site Sourire

image