Code

The following articles come with code downloads. To get the code downloads, click on the article titles, then click on the Code Download button.



How to Validate Forms with ASP.NET MVC 2 Data Annotations

Simplify the task of validating Web form input by using attributes. If standard validators don't meet your needs, you can create custom data annotations for richer validations.

Visual Studio Debug Tips (Part 2): Beat the No Repro Problem

In the second installment of her series of tips and strategies for debugging code in Visual Studio, Kathleen Dollard looks into valuable resources like the TraceSource class.

Working with Windows 7 Thumbnails

In the second of two Windows 7-themed columns, Patrick Steele looks at how to get the most out of thumbnails with the Windows API CodePack.

How to Get Oriented with a New Database

On VB author Joe Kunk shows how you can quickly discover the orientation of an unknown database using dynamic queries.

Getting the Jump on Jump Lists

Windows 7 contains a number of UI improvements to the classic taskbar. One very useful feature for quickly launching an application with its associated files is Jump Lists. In this issue, we'll look at how you can utilize Jump Lists in your own Windows 7 applications.

Passing Data Between Pages Using the ASP.NET MenuItem

Sometimes, when the user clicks on a menu choice, you want to pass some data based on the page's content. Here's how to dynamically alter a menu control based on the data on the page.

When Hexadecimal is Just Not Enough

Joe Kunk looks at how to manage a numeric system that extends to the entire alphabet.

Load Testing with Visual Studio 2010

In part 2 of his series on Web performance testing and load testing in Visual Studio 2010 Ultimate, Ben Day explains how to set up a load test rig to determine how well your application performs with multiple users.

Calling WCF Services in Silverlight 4

We explore the WCF service boundary after upgrading sample applications to Visual Studio 2010 and Silverlight 4.

Memory Mapped Files

Patrick Steele shows how you can realize major performance gains when working with large images by using memory-mapped files.

Web Performance Testing with Visual Studio 2010

Performance testing and debugging is a major focus of Visual Studio 2010 Ultimate.

Retrieving and Displaying a Single Object with dataView and WCF

Continuing his investigation of what works and doesn't work with the AJAX library and .NET 4, Peter Vogel continues to explore how to retrieve data from the client... and discovers that it can be very easily done.

Use Microsoft Word as a Report Writer from Silverlight 4

On VB columnist Joe Kunk shows you how to use the power of Silverlight 4 COM automation and local file system access to turn Microsoft Word into a report writer for Silverlight.

How-to Q&A: Can I Store History Information Locally for a Sandboxed Silverlight App?

Learn how you can store history information for the user on the local client PC in a sandboxed Silverlight 3 application.

How-To Q&A: How do I Display Data of Complex Bound Criteria in Horizontal Lists in Silverlight?

Kathleen Dollard shows how to display a list of complex bound criteria, including data, child data and photos for each item, in Silverlight.