How To


Maximize Comparison Accuracy

Learn how to minimize inherent inaccuracies with Singles and Doubles when performing comparisons; learn how to use extensions, a .NET 3.5 feature, when targeting .NET 2.0 apps; and learn why you should avoid using Names that are used in a type you are extending.

Connect Apps with WCF

Learn when and how to utilize Windows Communication Foundation to develop and maintain your communications layer when creating a loosely coupled, scalable, interoperable services-oriented application.

Capture Variables with Closures

Learn to pass anonymous types outside the method in which they're created; take advantage of closures when working with lambda expressions; drilldown on overloading; initialize static fields properly; and see where KeyedCollections improve performance.

Bugs, Workarounds, And Gotchas in VS 2008

Kathleen discovers a bug in the Visual Basic 9.0 compiler. Also, resolving recursion problems; binding properties in the Workflow designer; some guidelines on using extension methods; moving to .NET 3.5, and more.

A Guide To VB 2008

VB 2008 includes some terrific new XML functionality that will make you both more effective and more productive when working with XML in your applications.

Exploring C# 3.0

The latest iteration of C# introduces a host of new language features, most of which were created to enable functionality that you see in the .NET Framework 3.5's LINQ.

Simplify Your Code with Reflection

Take advantage of generics and reflection to determine whether a user has changed any data on a given form.

Initialize Objects Properly

Developers are accustomed to thinking of an object as either existing or not, but the truth is the initialization process is complex enough that this isn't always so. Learn how to initialize objects properly and avoid small missteps that can lead to big problems when creating and initializing objects.

Create Rich Web Apps with AJAX

AJAX has caught on tremendously as a method for building dynamic and interactive Web sites. Learn what AJAX is, what its benefits are, and how you can implement the technology in your own applications.

Share Resources Between Projects

Learn how to share resources among several projects across project boundaries in Visual Studio 2005 and VS 2008. Also, learn about Microsoft's inclusion of IDataErrorInfo in the .NET 3.5 additions to WPF and drill down on how to handle non-standard searches in dictionary classes.

Customize the VB IDE

The VB IDE is a terrifically productive development environment out of the box. But it can be a lot better still. Learn how to customize the IDE for better productivity and performance.

Simplify Application Instancing

Take advantage of the new PipeStream classes and XML features in .NET 3.5 and VB9 to resolve the age-old problem of creating a single-instance application.

Banish UAC Issues

User Account Control (UAC) issues usually result from improperly allowing administrator-level access in your applications. Learn how UAC works and make such problems a thing of the past.

Design Apps for Future Flexibility

You can't predict change, but you can prepare for it. Learn how to avoid cases where you need to remove work and rework too much of what you've already done.

Understanding Silverlight's CreateObject and CreateObjectEx Methods

Dan walks you through the properties and sample code for each, plus why you might want to use one over the other.

T-SQL | COMBINE UPDATE AND INSERT STATEMENTS

Listing 5. This procedure demonstrates a technique for combining an Insert statement and an Update statement into a single stored procedure.

Drill Down on Anonymous Types

Learn the details on the new anonymous types and nullable type features in VB 9 (VB 2008).

Beat SharePoint Into Shape

Visual Studio 2005 extensions for Windows SharePoint Services 3.0 simplify the process of incorporating SharePoint into your Visual Studio applications.

Getting Started with Silverlight

Dan starts a new series of columns on Silverlight 1.0 by walking you through the fundamentals.

Express Your Designs Clearly

Your code is the expression of your design intent -- make sure you communicate clearly.

Enable the Application Framework in VB

Learn what enabling the application framework in VB actually does and what an invariant culture is and how you take advantage of it.

Using Microsoft's Silverlight Control in a Web Site

Dan Wahlin walks you through the steps and code for creating a Silverlight application from scratch.

WPF Goes to Work

Windows Presentation Foundation has been greatly underserved by Microsoft’s emphasis on glitz and glamour; learn how to take advantage of WPF in your everyday Windows business apps.

Simplify Background Threads

It requires a lot of plumbing to create, manage, and communicate with background threads. The System.ComponentModel.BackgroundWorker class already contains the functionality you need to follow best practices.

REPLACE WITH NEW ID# 1787

Use the declarative programming model to enable type-safe data access in ADO.NET.

Subscribe on YouTube