What's the best practices of passing configurations to the layer it utilizes?
For example, dealing with connection strings or app.settings in case of several services eventually reaching the same DAL. Or if I want to write to the same log file independently of the class that's calling it.
Is there any common practices/patterns of passing the name of connection string/log file name/etc. down the application layers?
Aucun commentaire:
Enregistrer un commentaire