This is a migrated thread and some comments may be shown as answers.

Question regarding config files

1 Answer 51 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Schmidty
Top achievements
Rank 2
Schmidty asked on 19 Aug 2009, 04:12 AM
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.

Thanks!

1 Answer, 1 is accepted

Sort by
0
PetarP
Telerik team
answered on 24 Aug 2009, 11:55 AM
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,
Petar
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.
Tags
General Discussions
Asked by
Schmidty
Top achievements
Rank 2
Answers by
PetarP
Telerik team
Share this question
or