Sitefinity Part 4 — Turning on Redis in Sitefinity in Azure

This is the fourth part of the Sitefinity series. For your convenience you can find other parts in the table of contents in Sitefinity Part 1 — Capturing logs

Last time we saw how to change database connection string for Sitefinity which can be useful if we need to extract it in runtime. In the same manner we can enable Redis which is required when running Sitefinity in Azure (and is not needed on developer machine). First, add code to AssemblyInfo.cs:

And now modify file SystemConfig.config with Redis settings:

Tested with Sitefinity version: 10.0.6411.0.