Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Simon Timms 16 posts 36 karma points
    Jan 27, 2010 @ 18:34
    Simon Timms
    0

    Appropriate place for package config info

    I'm just extending the excellent Open ID package for umbraco and I need to add some configuration capabilities to it.  What is the appropriate location in which to store the config?  The Web.config?  A file in the umbraco/config directory?

  • Thomas Höhler 1237 posts 1709 karma points MVP
    Jan 28, 2010 @ 08:43
    Thomas Höhler
    0

    In my opinion there are three options:

    1. the web.config
    2. own config in config folder
    3. own config in the package folder

    I would prefer 2. or 3. but it depends on the security settings you need. Read/write access or so. If you could create a folder for the package you can propably be sure that you can write also a file to the folder. Also think about the users: if the user has to edit the file the user has to find it in an easy way => option 2.

    hth, Thomas

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies