Deploy the project

  1. 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.

  2. Deploy the package.
    1. Go to the Management Portal.
    2. In the ribbon, select the Cloud Services.
    3. 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.
    4. Enter a name for the deployment.
    5. In Package location, click Browse Locally… and select the *.cspkg file from the Publish  folder.
    6. In Configuration file, click Browse Locally… and select the *.cscfg file from the Publish folder.
    7. 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.

  3. 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.

Want to learn more?

Sign up for our free beginner training. Boost your credentials through advanced courses and certification.
Register for Sitefinity training and certification.

Was this article helpful?