Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to enable trace.axd in ASP.NET core?

Our app is based on ASP.NET Core 2.0. It works fine in development environment but we see an oauth error when published to production.

All the documentation on asp.net core seems to point to using ILoggingxxx interfaces. The examples I found typically call logging.AddConsole() method so that the log lines can be viewed in VIsual Studio debug window. I am wondering if the good old trace.axd is still available under asp.net core. If so, I would appreciate the steps to enable tracing. Regards.

like image 818
Peter Avatar asked Sep 08 '25 13:09

Peter


1 Answers

trace.axd is exclusive to applications based on .NET Framework and ASP.NET 4.x. It is not available in ASP.NET Core applications at all.

like image 69
Eilon Avatar answered Sep 10 '25 06:09

Eilon