Neat, Quick Debug to Console Output

B3y steven 10/26/2008 4:18:00 PM

A very easy wayt to get Debug output for your debugging purposes:

 


  • Add the 'System.Diagnostics' using statement to the class.
  • use the 'Debug.WriteLine("Batman is totally kick butt");' syntax to send debug signals to any listeners
  • Add a Debug listener to your tester app; 
TextWriterTraceListener myWriter = new TextWriterTraceListener(System.Console.Out);
Debug.Listeners.Add(myWriter);

By the way, the syntax handling in BlogEngine is for crap. Its a total friggin' joke.

Enjoy!

 

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags:

OpenID, Anyone?

B3y steven 10/15/2008 8:23:00 AM

So I am playing around with OpenID, anyone else? Seems basically like another Passport (er, excuse me its "LiveID" now, *ahem*) type service just not MS centric. I will have to get it worked into my new project, DVDCrate.com.

Found this c# library for using authenticating users against the OpenID framework. Nifty.

Enjoy!

My OpenID Badge

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags:

Powered By BlogEngine Enhanced with Snapshots

About the author

Steven Hildreth Steven Hildreth
Proof that anyone can setup a blog.

E-mail me LinkedIn Profile

Send mail Sign in

Recent posts