Once you have your database deployed in Azure SQL Database, the next step is to have your website files deployed to Azure App Service. The process is facilitated in Visual Studio. Follow these steps:
AdminApp
Configuration
~/App_Data/Sitefinity/Configuration
~/App_Data/Sitefinity/Sitefinity.lic
ResourcePackages
NOTE: If you already have an active App Service that you want to use for deploying your website, skip this step and choose the Select Existing option.
Click on OK.
sf-env:ConnectionStringParams:defaultConnection
data source=tcp:{your_server_name}.database.windows.net,1433;User ID={server admin name};Password={your_password}
<appSettings>
<add key="sf-env:ConnectionStringName" value="defaultConnection" />
<add key="sf-env:ConnectionStringParams:defaultConnection" value="" />
These entries instruct Sitefinity to read the server name and admin user credentials from the App Service application settings. Additionally, the last entry enables configures the Sitefinity Health Check endpoint.
<connectionString>
<connectionStrings> <add connectionString="initial catalog={your_azure_db_name};Persist Security Info=False;MultipleActiveResultSets=False;Encrypt=True;TrustServerCertificate=False;Connection Timeout=30;Backend=SqlAzure;" name="defaultConnection" /> </connectionStrings>
Save the web.config file
Sign up for our free beginner training. Boost your credentials through advanced courses and certification. Register for Sitefinity training and certification.
To submit feedback, please update your cookie settings and allow the usage of Functional cookies.
Your feedback about this content is important