How To


To Comment or Not to Comment

On VB columnist Joe Kunk explores the benefits and drawbacks of commenting source code, and finds that the answer is not as clear cut as many might think.

Measuring Test Effort Progress with EVM

An important part of a software testing -- or coding -- effort is the ability to measure progress. One way for doing this is a technique called Earned Value Management (EVM). Find out how easy it is to apply EVM to your own projects.

Using MEF to Expose Interfaces in Your Silverlight MVVM Apps

Managed Extensibility Framework (MEF) lets you expose interfaces and classes in your Silverlight apps without having to expose the real implementation. See how it works.

Silverlight, Windows Phone 7 and the Multi-Touch Thumb

For many Silverlight programmers, the most exciting news about Windows Phone 7 is its support for Silverlight as one of its two programming interfaces (the other is XNA).

Improving ASP.NET Security with Visual Studio 2010 Code Analysis

Anyone doing ASP.NET development probably admits, openly or not, to introducing or stumbling upon a security issue at some point during their career.

Integrating AJAX and a Client-Side Grid in ASP.NET MVC

Peter completes his series on integrating AJAX and a client-side control by implementing it in ASP.NET MVC. And he draws some conclusions on client-side development in ASP.NET, ASP.NET MVC, and in the world at large.

Multithreading in WinForms

The .NET Framework has full support for running multiple threads at once. In this article, Patrick Steele looks at how threads accomplish their task and why you need to be careful how you manage a WinForms application with multiple threads.

5 Traps to Avoid in Visual Basic

Visual Basic .NET possesses naturally expressive syntax that is almost always clear in its intent. Even so, there are still surprises in Visual Basic that can trip up even experienced VB developers.

JavaScript Controls with WCF and ASP.NET

Peter moves ahead with integrating a sophisticated client-side JavaScript control but this time, he's using WCF to implement his Web services. Along the way, though, he gets ASMX services to work.

Working With a Client-Side AJAX Control

If you're going to work with AJAX you should be, at least, considering using "pure" client-side code to create your UI. Peter looks at a popular (and free) JavaScript grid.

Visual Studio 2010 Tips: Debug WCF Services in Silverlight Apps

Learn how to create WCF services that are easier to troubleshoot and take advantage of the lightweight WCF configuration options offered in Visual Studio 2010.

Using Memory-Mapped Files in the .NET Framework 4

Find out how to use memory-mapped files to index and search the contents of document collections.

Visual Studio 2010 Tips: How to Use jQuery UI Controls in ASP.NET MVC 2

Dive a little deeper into how the jQuery script works and learn how to use the DatePicker control with ASP.NET MVC templates.

Unit Testing and ASP.NET MVC

ASP.NET MVC and test-driven development show the future of delivering reliable applications. While Visual Studio 2010 enables you to integrate server-side testing into ASP.NET development, client-side testing presents a challenge.

C#: The Good, Bad and Ugly

It's almost 2011. The Microsoft .NET Framework and C# have been publicly available for almost 10 years -- longer if you count the early betas.

Microsoft How-To: Scrum for Everyone

Working with the Microsoft Visual Studio Scrum 1.0 process template.

Fixing Bad Code from a Contractor

Brandon hired a software development contractor to create a Web portal using ASP.NET to complete a custom software solution for one of his company's Software as a Service customers.

Extending Enum

The Enum or enumeration is one of the fundamental constructs in the .NET Framework, serving as an easy-to-remember set of names for a series of fixed values that are logically related. It turns out that there is a surprising amount to know about the Enum construct.

5 C# Traps to Avoid

C# Corner columnist Patrick Steele offers a heads up on five gotchas that can trip up even veteran C# programmers.

Lab Management in Visual Studio2010

Visual Studio Lab Management promises to streamline thorny debug and test challenges by enabling an efficient, virtualized test environment.

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.

SQL Server 2008 R2 for the Developer

Microsoft extends its enterprise-capable database platform with powerful new management and scalability features -- and there's plenty in the latest rev for developers.

Visual Studio Debug Tips (Part 3): Disabled DataForm

Kathleen Dollard closes up her guidance on debugging code in Visual Studio with some troubleshooting of a disabled DataForm.

Visual Studio Debug Tips and Strategies (Part 1 of 3)

Improvements in the latest Microsoft IDE and underused features in Visual Studio 2008 support common debugging strategies to help you write better code. (Part 1 of 3)

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.

Subscribe on YouTube