Re: System.Console.WriteLine question
From: Thomas P. Skinner [MVP] (tom_at_bu.edu)
Date: 11/24/04
- Next message: Andrew S. Giles: "Re: C# C++ Event question"
- Previous message: Thomas P. Skinner [MVP]: "Re: C# C++ Event question"
- In reply to: newsgroupie: "System.Console.WriteLine question"
- Next in thread: Benjamin: "Re: System.Console.WriteLine question"
- Reply: Benjamin: "Re: System.Console.WriteLine question"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 24 Nov 2004 16:06:19 -0500
Unfortunately I don't think you can use Console. Apparently standard input
and standard output are not mapped to the console for an ASP.NET
application. I would suggest opening a file and writing to the file for
logging purposes. I ran into this issue some time ago. You are not missing
anything.
Thomas P. Skinner [MVP]
"newsgroupie" <newsgroupie@nospam.com> wrote in message
news:QRXH9uBbLPpBdwVa@rjmeltd.demon.co.uk...
> Hi Newsgroupies,
>
> I'm writing a Web Forms program using C# (VS.NET 2003) and trying to
> monitor it whilst running using "System.Console.WriteLine(<params>)" but
> can't for the life of me find where it outputs too.
>
> Am I thick or just unlucky?
>
> Please help!
>
> Lost & Bewildered, UK
>
> Ps: Back in the good old days we had something called "TRACE" ;-)
- Next message: Andrew S. Giles: "Re: C# C++ Event question"
- Previous message: Thomas P. Skinner [MVP]: "Re: C# C++ Event question"
- In reply to: newsgroupie: "System.Console.WriteLine question"
- Next in thread: Benjamin: "Re: System.Console.WriteLine question"
- Reply: Benjamin: "Re: System.Console.WriteLine question"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|