Link to home
Start Free TrialLog in
Avatar of mSchmidt
mSchmidt

asked on

Configuration Pattern - .NET Application - Config database

Hi

I have a setup table in my database which i used for configuration of an old VB6 application.
In that application i just created a lot variables for each different configuration.

However i was wondering if there is any pattern i could follow to make my new Configuration class more clever, easier to maintain and so on.
ASKER CERTIFIED SOLUTION
Avatar of HarryNS
HarryNS

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
i will take the approach suggested by Harry above as it will keep the things simple and easy to maintain
It totally depends on the requirements of the project at hand in which way we need to build the configuration reading mechanism in the application
in some applications if the configuration is not changing rapidly and dynamically then reading at the beginning of the application is best else the confuguration can be brought back from the database on the need to know basis but it will just include more database load and more round trips and a little more of processing and coding effort and will increase the maintenance of the project