Question : Tracing from WCF service running in IIS

Hi!

I have a WCF service hosted inside of IIS7. The service loads an assembly, lets call SuperService. SuperService includes some Trace.Writeline statements.
I've setup a ConsoleTraceListener to output the trace. Tracing to a textfile works fine, but not to console. The weird part is that I initially got output to the console. (Not a 100% on that but I have a colleague that says I did :D) and now there is nothing. I'm using DebugView to get console output.

I've read on some forums that you cannot do this? (console out from within IIS), but why not?

Any ideas?
Code Snippet:
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:

			 
				 
 
				
 
				
			
		

Answer : Tracing from WCF service running in IIS

ASP.NET web applications have tracing functionality controlled in the web.config but it's a limited feature set.  Are you familiar with it?  It's not a console window it's simply adding output to the bottom of the page or stored to be accessed in another trace page.

IIS doesn't have a console trace window.
Random Solutions  
 
programming4us programming4us