
Debug.Assert in ASP.NET 2.0
January 14, 2006Finally, 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!
If you and your team want to learn more about how to write maintainable unit tests and get the most out of TDD practices, make sure to have look at our trainings and workshops or checkout the books section. Feel free to reach out at info. @ principal-it .be

Jan Van Ryswyck
Thank you for visiting my blog. I’m a professional software developer since Y2K. A blogger since Y2K+5. Provider of training and coaching in XP practices. 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


Writing Maintainable
Unit Tests
Watch The Videos
Latest articles
-
Avoid Inheritance For Test Classes
January 6, 2021
-
How To Write Unit Tests For Logging
November 11, 2020
-
Prevent Domain Knowledge From Sneaking Into Solitary Tests
September 30, 2020
-
Why Solitary Tests Should Be Easy To Read
September 9, 2020
-
Tales Of TDD - Stressed And Always In A Hurry
August 19, 2020
Tags
- .NET
- ALT.NET
- ASP.NET
- Agile
- Announcement
- Architecture
- Behavior-Driven Development
- C++
- CQRS
- Clojure
- CoffeeScript
- Community
- Concurrent Programming
- Conferences
- Continuous Integration
- Core Skills
- CouchDB
- Database
- Design Patterns
- Domain-Driven Design
- Event Sourcing
- F#
- Fluent Interfaces
- Functional Programming
- Hacking
- Humor
- Java
- JavaScript
- Linux
- Microsoft
- NHibernate
- NoSQL
- Node.js
- Object-Relational Mapping
- Open Source
- Reading
- Ruby
- Software Design
- SourceControl
- Test-Driven Development
- Tools
- Visual Studio
- Web
- Windows
Disclaimer
The opinions expressed on this blog are my own personal opinions. These do NOT represent anyone else’s view on the world in any way whatsoever.
About
Thank you for visiting my website. I’m a professional software developer since Y2K. A blogger since Y2K+5. Author of written words. Provider of training and coaching in XP practices. 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.
Latest articles
Avoid Inheritance For Test Classes
How To Write Unit Tests For Logging
Prevent Domain Knowledge From Sneaking Into Solitary Tests
Why Solitary Tests Should Be Easy To Read
Contact information
(+32) 496 38 00 82
info @ principal-it .be