V
Vagif Abilov
Hello,
We have a set of applications and assemblies that belong to one project.
Some of the configuration settings are supposed to be shared between various
assemblies on the same machine. After long discussions we finally decided
that the best alternative for us is to create a custom configuration file
<OutProject>.config and place it in a common directory. Then we can write
our own configuration parser that will return NameValueCollection settings.
There seems to be two good places to install such file:
<Windows>\Microsoft.NET\Framework\<CurrentVersion> and
<Windows>\Microsoft.NET\Framework\<CurrentVersion>\CONFIG. Both of them
contain several configuration files. My first impression was that the latter
one is the best (since it's called CONFIG), however it contains only system
specific configurations files like machine.config. All application-based
config files are located one level up, inside
<Windows>\Microsoft.NET\Framework\<CurrentVersion>.
Do you know what is the best practice?
Thanks
Vagif Abilov
Contopronto AS
Oslo Norway
We have a set of applications and assemblies that belong to one project.
Some of the configuration settings are supposed to be shared between various
assemblies on the same machine. After long discussions we finally decided
that the best alternative for us is to create a custom configuration file
<OutProject>.config and place it in a common directory. Then we can write
our own configuration parser that will return NameValueCollection settings.
There seems to be two good places to install such file:
<Windows>\Microsoft.NET\Framework\<CurrentVersion> and
<Windows>\Microsoft.NET\Framework\<CurrentVersion>\CONFIG. Both of them
contain several configuration files. My first impression was that the latter
one is the best (since it's called CONFIG), however it contains only system
specific configurations files like machine.config. All application-based
config files are located one level up, inside
<Windows>\Microsoft.NET\Framework\<CurrentVersion>.
Do you know what is the best practice?
Thanks
Vagif Abilov
Contopronto AS
Oslo Norway