Summary

Conditional compiling is extremely easy to implement, with tremendously powerful results. This chapter looked at two different ways to accomplish a similar task: through preprocessor directives and via function attributes. The key difference here is that by using the Conditional function attribute, the debug code is compiled into the application; ...

Get Debugging ASP.NET now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.