C#C
C#3y ago
luluxyooj

❔ NLog write Json file to server

I am able to create an xml file with nlog.config. However the configuration doesn't seem to work for json. I saw there is another way to generate a json file through appsettings.json but it uses a main() in Program.cs. The application I am working on does not have a main() in Program.cs. Does anyone have a successful way to generate a json file with NLog?
Was this page helpful?