I just moved from .net core 2 to .net core 3.1 We am facing issues finding the appropriate way to writing and using Nlog in my startup.cs file.
I have my program file as: