I would like to store some parts of the Nlog configurations (like DB connection string) at appsettings.json (production data are coming from the azure key vault) To do that I have to put something like that:
NLog.Extensions.Logging.ConfigSettingLayoutRenderer.DefaultConfiguration = configuration;
Assuming that I'm using the Blazor Server side app, where is the best place to put that line?