Deploy the project
- To create the deployment package, in MS Visual Studio, open the context menu of the Windows Azure project, which you created in Prepare the project for deployment » Step 4, and click Package.
Your deployment package and configuration file is generated and Visual Studio opens in Windows Explorer folder Publish that contains the two files.
NOTE: If you use an older version of the Windows Azure SDK and tools, in the context menu there is only option Publish. There is no package option. In this case, click Publish, select Create Service Package Only radio button at the top, and click OK to generate the deployment package and configuration file.
- Deploy the package.
- Go to the Management Portal.
- In the ribbon, select the hosted service you created in Setup the cloud environment and click New Staging » Production Deployment, depending on which deployment environment will be used for the deployment.
- Enter a name for the deployment.
- In Package location, click Browse Locally… and select the *.cspkg file from the Publish folder.
- In Configuration file, click Browse Locally… and select the *.cscfg file from the Publish folder.
- Click OK.
NOTE: If the role has been configured to run with only one instance, a warning message appears. You must confirm the message.
NOTE: The deployment is complete when the status of all role instances, the role itself, and the deployment is Ready.
- Navigate to the deployed application.
In the Management Portal, select the deployment and click on the DNS name link in the Properties pane on the right.
Your home page is loaded successfully.
Related topics:
Feedback