sppc42
sppc42

Reputation: 3272

Visual Studio - deploy existing website/webAPI to Azure

In my VS(2015) solution, I have a ASP.Net website and a WebAPI project. For normal development, I want to use IIS on local machine for dev/test. However, I also want the option to be able to deploy the same sites to Azure on demand.

I know I can 'Convert' an existing project to Azure project from VS. But then it'll become a cloud project only. I don't want to convert it to cloud project.

Is there a way I can use my existing projects in VS and deploy/publish them to Azure?

Thanks

Upvotes: 0

Views: 681

Answers (1)

Andy Sinclair
Andy Sinclair

Reputation: 2293

You don't need to "convert" your project to an Azure project, you can simply create a publishing profile in Visual Studio and push the build to Azure.

The Microsoft documentation explains how to do this, follow the steps from the "Publish to Azure" section onwards.

Upvotes: 2

Related Questions