How to Properly Pull NLog DB ConnectionString from appsettings.json (stackoverflow.com)stack
10 points by Bmoe in stackoverflow.com · 5y ago · stack comments
I have my nlog.config file setup with a database target and want to read connectionstring from appsettings.json (and for anyone interested, the value in appsettings is actually stored in Azure KeyVault). What is the proper way to do this? I have ASP.NET core 3.1 application. nlo…