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.

Increase your Sitefinity skills by signing up for our free trainings. Get Sitefinity-certified at Progress Education Community to boost your credentials.

Get started with Integration Hub | Sitefinity Cloud | Sitefinity SaaS

This free lesson teaches administrators, marketers, and other business professionals how to use the Integration hub service to create automated workflows between Sitefinity and other business systems.

Web Security for Sitefinity Administrators

This free lesson teaches administrators the basics about protecting yor Sitefinity instance and its sites from external threats. Configure HTTPS, SSL, allow lists for trusted sites, and cookie security, among others.

Foundations of Sitefinity ASP.NET Core Development

The free on-demand video course teaches developers how to use Sitefinity .NET Core and leverage its decoupled architecture and new way of coding against the platform.

Was this article helpful?