Search Results for

      Show / Hide Table of Contents

      How to add application.properties entries

      To add an entry to the application.properties file, override the your template's BeforeTemplateExecution() method (if not done already) and call the .ApplyApplicationProperty(<name>, <value>) extension method:

      public override void BeforeTemplateExecution()
      {
          base.BeforeTemplateExecution();
          this.ApplyApplicationProperty("Name", "Value");
      }
      
      • Edit this page
      ☀
      ☾
      In this article
      Back to top Copyright © 2017-, Intent Architect Holdings Ltd