Question regarding config files

Thread is closed for posting
2 posts, 0 answers
  1. Schmidty
    Schmidty avatar
    22 posts
    Member since:
    Jan 2007

    Posted 18 Aug 2009 Link to this post

    I have a few questions on how I should manage my various OA config files.

    My solution is currently broken down into these class libraries:
    - Model
    - Persistence (depends on model)
    - Business layer (depends on both model & persistence)

    Currently all 3 have config files which are embedded, and I also had to add settings one to my web.config to get it to work.

    My questions are these:

    1) Is there a more efficient method where I could perhaps share connection settings among the 3?

    2) Also, which config file should I have the Backend settings for the cache and such. Or does this need to be replicated in each config file.

    All help is greatly appreciated.

  2. PetarP
    PetarP avatar
    754 posts

    Posted 24 Aug 2009 Link to this post

    Hello Schmidty,

    Basically you should take advantage of the references tag in the app,config file. There all referenced assemblies can be specified. More detailed information and examples on how to achieve similar to your scenario (where 3 assemblies share the same backend configuration) can be found here.
    Kind regards,
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
Back to Top