Blog

Debug.Assert in ASP.NET 2.0

January 14, 2006

Finally, finally, finally, … Debug.Assert now works with ASP.NET 2.0. You have to love those little improvements they did for .NET 2.0. When using version 1.1 of the .NET framework, the assert information was only visible in the output window of Visual Studio. Now a full blown assert window is shown as with regular Windows applications.

For those of you who are still programming .NET 1.1 (like me), I found this trace listener that can be used to achieve the same behavior as with .NET 2.0. I’m going to start using it for my .NET 1.1 applications.

I finish this post by quoting John ‘The bugslayer’ Robbins:

Without assertions you might as well not program at all!

Right on!

Profile picture of Jan Van Ryswyck

Jan Van Ryswyck

Thank you for visiting my blog. I’m a professional software developer since Y2K. A blogger since Y2K+5. Curator of the Awesome Talks list. Past organizer of the European Virtual ALT.NET meetings. Thinking and learning about all kinds of technologies since forever.

Comments

About

Thank you for visiting my website. I’m a professional software developer since Y2K. A blogger since Y2K+5. Curator of the Awesome Talks list. Past organizer of the European Virtual ALT.NET meetings. Thinking and learning about all kinds of technologies since forever.

Contact information

(+32) 496 38 00 82

infonull@nullprincipal-itnull.be