MSDN Magazine > Issues and Downloads > 2004 >  MSDN Magazine April 2004
April2004 April 2004
Testing: Perform Code Coverage Analysis with .NET to Ensure Thorough Application Testing
When running your tests how do you know which parts of your product code are actually executed and tested? This article presents a complete system called Fundamental Function code coverage that operates at the method level. The author gives an overview of the system so you can understand code coverage principles, explains the key parts of the underlying code, and discusses how code coverage fits into the overall product development cycle. After reading this article you will be able to perform code coverage analysis on any .NET software system. James McCaffrey
Test-Driven C#: Improve the Design and Flexibility of Your Project with Extreme Programming Techniques
Test-driven development (TDD) should be on every developer's radar screen because a comprehensive set of tests makes for maintainable code and frees you from having to create a perfect design up-front. This article explains how to perform TDD and takes you step-by-step through a number examples to get you started. Will Stott and James Newkirk
Instrumentation: Powerful Instrumentation Options in .NET Let You Build Manageable Apps with Confidence
As systems grow and become more heterogeneous, so their complexity increases. The more code you write, the more that can go wrong. The more that can go wrong, the more you need a good instrumentation policy. In this article, the author looks at the various technologies available in the .NET Framework, such as tracing, logging, WMI, EIF, which are designed to help you. He will also look at the pitfalls you should avoid and provide you with the fundamentals from both a technical and managerial perspective so that you can instrument your code effectively. Jon Fancey
Stress Testing: Custom LoadGenerator Tool Identifies the Issues Your Application Faces Under Stress
It's easy to postpone stress testing when developing an application, and it's easy to forgo it altogether. Having an easy-to-use framework at your fingertips to conduct these tests can make the task far less painful. This article walks you through an application that eases the task of generating load for a variety of layers within an application. Brian Otto
Mobility: Add Keyboard Support to Compact Framework Apps by Trapping Windows Messages
The Compact Framework Control class doesn't provide direct access to Windows messages. However, with P/Invoke, a few lines of native code, and the Compact Framework MessageWindow class, it's still possible to access underlying Windows messages. This can be used to work around any .NET Framework features, including keyboard support, that are not included in the Compact Framework. Alan Pulliam
Code Download (492 KB)
.Chm Files

Columns
Editor's Note: Testing, Testing 1 2 3
Each month dozens of readers turn to this page for the latest news on what the editors of MSDN Magazine are thinking. And we do our best to oblige with our hard-hitting yet pithy observations on the state of the world around us, the latest in XML fashions, what's coming up in the current issue, and more.
New Stuff: Resources for Your Developer Toolbox
Infragistics is shipping NetAdvantage 2004 Volume 1, a toolset for developing commercial-quality user interfaces for the Microsoft® . NET Framework, ASP. NET, Tablet PC, and COM. NetAdvantage 2004 Volume 1 features Windows® Forms and ASP. Theresa W. Carey
Web Q&A: JScript Leaks, Getting the XmlDataDocument, and ASPX Includes
Edited by Nancy Michell
Data Points: Creating Audit Tables, Invoking COM Objects, and More
Dealing with error handling between T-SQL and a calling application, evaluating when a field's value has changed, and creating auditing tables in SQL Server™ are all common issues that developers must tackle. John Papa
Cutting Edge: Image Generation Service for ASP.NET 1.1
Dino Esposito
The XML Files: All About Blogs and RSS
Aaron Skonnard
Advanced Basics: Synchronizing Multiple Windows Forms
Ken Spencer
.NET Matters: Const in C#, Exception Filters, IWin32Window, and More
Welcome to . NET Matters. This new column will delve into the ins and outs of the Microsoft® . NET Framework, answering readers' questions on various topics related to its extensive libraries, languages, and the common language runtime. Stephen Toub
Security Briefs: Beware of Fully Trusted Code
The vast majority of managed applications run with full trust, but based on my experience teaching . NET security to developers with a broad range of experience, most really don't understand the implications of fully trusted code. Keith Brown
Bugslayer: .NET Internationalization Utilities
As you saw in last month's column, . NET internationalization support is excellent and allows you to move your application to a world audience quite easily. Before you jump into this month's discussion, you may want to go back and read the March column. John Robbins
C++ Q&A: CD Burning and Device Discovery with IMAPI
Paul DiLascia
Talking To…: Robert Green Talks About Communities for Visual Basic .NET
MSDN Magazine recently talked to Robert Green, the Community Lead Program Manager for Visual Basic, about what to expect in the next version and how the Visual Basic team hopes to work more closely with the Visual Basic community.
Page view tracker