Deploy the project
- To create the deployment package, in MS Visual Studio, open the context menu of the Microsoft 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 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 Cloud Services.
- Click New Staging » Production Deployment, depending on which deployment environment will be used for the deployment or Create a new Cloud Service manually through the Azure Management Portal.
- 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.
IMPORTANT: When you add a Sitefinity CMS project as a web role and built, some NuGet packages are added to it. This overrides the
Newtonsoft.JSON version with the older version 8. Before you built and deploy the app, you must update the version to 9.