Isham Mohamed
Isham Mohamed

Reputation: 2789

Migrate Azure website to local PC VIsual Studio

I have created a Nopcommerce CMS website via Azure websites gallery. Now I need to migrate the .sln file and databases to my PC to give the whole package for a friend. How to do this.

Upvotes: 0

Views: 74

Answers (1)

Rick Rainey
Rick Rainey

Reputation: 11246

There are a couple of ways to do this.

  1. You could just connect to your web site using an FTP Client (ie: FileZilla) and just pull the files down that way, or

  2. Use Site Control Management ("Kudu") to download a .zip of your web site.

I prefer #2. It's fast and easy.

Here are the steps for #2:

1). Navigate to your website using your browser.

2). Replace the URL in the browser to reference the Kudu companion site for your web site. For example, if your site is contoso.azurewebsites.net, change the URL to contoso.scm.azurewebsites.net. If prompted to authenticate, sign-in using your Azure Subscription credentials.

3). From the Kudu menu, select the Debug Console -> CMD option.

enter image description here

4). Click the download link for the site folder. This will package the site up into a .zip file and start the download.

enter image description here

5). Extract the .zip on your local hard drive and you're on your way.

Upvotes: 4

Related Questions