[Web API series tutorial] 3.10-practice: process data (publish an App to Azure App Service)
In the last section, you will release the application to Azure. In Solution Explorer, right-click the project and select Publish.
Click Publish to open the Publish Web dialog box. If you select HZ runtime when creating a project? Http://www.bkjia.com/kf/ware/vc/ "target =" _ blank "class =" keylink "> memory + m/9 s/memory + Memory + u4 + Memory + DQo8cD48aW1nIGFsdD0 =" here write picture description "src = "http://www.bkjia.com/uploads/allimg/160301/0421403304-1.png" title = "\"/>
To deploy the application, click Publish. You can view the publishing process in the Web Publish Activity window. (In the View directory, select Other Windows and then select Web Publish Activity .)
When Visual Studio completes app deployment, the default browser will automatically open the URL of the website to be deployed, and the application you created will now run on the cloud. The URL in the browser's address bar shows the site and is loaded from the network.
Deploy to new site
If you do not select Host in Cloud when creating a project, you need to configure a new web application. In Solution Explorer, right-click the project and select Publish. Select the Profile panel and click Microsoft Azure Websites. If you have not logged on to Azure, log on first.
In the Existing Websites dialog box, click New.
Enter the site name. Select your Azure subscription and region. Under Database server, select Create New Server or an existing server. Click Create.
Click the Settings panel and select "Execute Code First Migrations ". Click Publish.