I have to implement .net assembly that would be put into GAC. It relies on RDBMS connection string and some additional params – what is the best place I should put it? Machine.config, registry or something more appropriate?
Such information should be placed into application configuration file (app.config/web.config) that uses component (as noticed Marek Grzenkowicz), but what if application config is untouchable for some reasons?
Thank you in advance!
You should put such information into
app.config/web.configfile of application that uses the assembly. This way it will be possible to specify different settings for each such application.