Rules for creating custom configuration files

If you need to create a custom configuration file that will be stored on the file system, make sure:

  • The configuration is related to the system setup and does not need to be changed runtime
  • It contains configurations that need to have different values on the different environments. For example, SMTP settings need to be different on the Test and the Live environments, in order not to spam your customer’s accounts with test data.
  • The configuration is not bound to the database in anyway.
    For example, it does not contain any GUIDs. This is because your Development and Live environments use different databases.

IMPORTANT: Custom configuration files must be stored on the file system and not in the database.

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?