How to use console output in an ASP.NET environment?
asp.net, c#, console
Solution
Use `Debug.Write()` and and watch the results come out through the debugger output window in the IDE.
Alternatively, use the ASP.NET trace feature, which is quite powerful. Once you have enabled tracing, you can navigate to the trace.axd page in your web app's root directory. This page will show the trace messages for your app.
Problem
I would like to print some traces during the requests processing. But when I make Console.WriteLine("something") in this environment, nothing is shown. What is missing, what do I need to do in order to use console to print these traces?