Hello,
I have a simple site I have created in asp.net core 2 mvc , after publish i'm getting error 500 , I added logs/stdput folder to my httpdocs folder ,& changed web config to : stdoutLogEnabled="true" but the logs remain empty ,
my program.cs is as default is there any preparation I should do before publish ? thanks .
public static void Main(string[] args) { BuildWebHost(args).Run(); } public static IWebHost BuildWebHost(string[] args) => WebHost.CreateDefaultBuilder(args) .UseStartup<Startup>() .Build();