+1-888-365-2779
Try Now
More in this section

Forums / Developing with Sitefinity / Custom Configuration File

Custom Configuration File

2 posts, 0 answered
  1. Xian
    Xian avatar
    18 posts
    Registered:
    03 Oct 2014
    13 Jan 2015
    Link to this post

    What is the best practice for creating a custom configuration file (not persisted to the database) with no UX?  I've been scouring the documentation, but it's not very clear if any of the paths I'm taking are correct.

    My specific needs will be creating a configuration file within a custom module, where I can pull settings but not expose them to administrators.

    Note:  My default  (.NET) thought would be to toss an app config in the module and manage it through the normal setting manager, but I want to learn the "Sitefinity way" for these things whenever possible.

    Thanks!

  2. Craig
    Craig avatar
    45 posts
    Registered:
    28 Sep 2008
    13 Jan 2015 in reply to Xian
    Link to this post

    Christian,

    I wrote a blog post about configuration files in Sitefinity.  See if this helps.

    http://codeengage.com/blog/craig-holdheide/2014/11/03/getting-started-with-sitefinity-basic-settings-and-configurations

    Let me know if this helps.

     

    Craig

     

2 posts, 0 answered