Migrating e-Business Classic (CMS) to Azure App Service

To begin with the migration of e-Business Classic (CMS) to Azure App Service, follow the below instructions:

  1. Log in to the on-premises environment where you have e-Business Classic (CMS) installed and configured.

  2. Take a backup of the Sitefinity database (also referred as “cms“).

  3. Take the backup of e-Business Classic (CMS) site hosted on IIS.

  4. Upload the backup of Sitefinity database on the Azure Blob storage and restore it on the SQL managed instance. Refer to Migrating Aptify Database on Azure SQL Managed Instance document to learn about migrating database to Azure.

  5. Go to Kudu services and click Tools->Zip Push Deploy, delete all the folders and drag-and-drop the backup of e-Business Classic CMS site for the app service.

  6. Once the site contents have been uploaded on Kudu, open the web.config file and make the following changes:

    1. Under <configSections>, add the following to declare the exceptionManagement section.

      <section name="exceptionManagement" type="Aptify.Framework.ExceptionManagement.ExceptionManagerSectionHandler,AptifyExceptionManagement" />
    2. Below the end of <configSections>, add the following to enable exception logging in the APTIFY database (ERRORLOG table).

      <exceptionManagement mode="on" defaultseverity="0"> <publisher mode="on" assembly="AptifyExceptionManagement" type="Aptify.Framework.ExceptionManagement.DatabasePublisher"/> </exceptionManagement>
    3. Update the value of the key, “Aptify.Framework.ObjectRepository.AptifyObjectRepository.DefaultObjectCachePath“, to the path of the site contents “bin“ folder on Kudu.

    4. Update the values of “AptifyDBServer“, “AptifyEBusinessSQLLogin“, “AptifyEBusinessSQLPWD“ and “AptifyEBusinessSQLIsTrusted“, according to the SQL Managed Instance on Azure.

  7. Open the DataConfig.config file present in the location: - “App_Data > Sitefinity > Configuration” and make the following changes.

    1. Under <connectionStrings>, edit the following:

      1. source” property with the SQL managed instance server name

      2. UID“ with the Aptify user’s ID

      3. PWD“ with the password

      4. catalog” with the name of the Sitefinity database migrated in step 3.

      5. “dbType“ with “SqlAzure

  8. Run the application using the URL of the app service.