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.



Add Magic to Forms With Wizards

Take advantage of ASP.NET 2.0's new Wizard control to build wizard-based UIs with less code and a better experience for your users.

Let Users Save From ASP.NET

Export the content of your ASP.NET pages to standard Office document types to avoid having to create separate reports.

Build Your First .NET Windows Service

Once limited to the domain of C++ and MFC programmers, Windows Services can now be a key part of your .NET applications' infrastructure. Learn how to create a Windows Service application to provide monitoring for your .NET apps.

Create Self-Validating Controls

Learn everything you need to know to write self-validating Windows Forms controls using regular expressions and inheritance.

Increase .NET Performance Using Threads

Increase your users' perceived performance of your .NET application by using multithreading.

Books: Develop Network Programs in .NET

Network Programming in .NET: With C# and Visual Basic .NET shows you how to accomplish network-based programming in .NET using well-known protocols or ones you create yourself.

Make the Best of .NET Resource Files

Drill down on some under-documented techniques for using resource files in your .NET apps, and learn to customize these files for different customers.

Debug Partially Trusted .NET Apps

Learn how to debug applications running on the Internet, embed resources in the assembly manifest, and use regular expressions to filter out duplicates.

Share Controls Between WinForms

Pass a user control from Windows Form to Windows Form to rearrange your graphical user interface (GUI) layout without needing to reinitialize the shared user control and more.

Parse Text Files With Regular Expressions

Learn to parse fixed-length files and delimited text files, detect when a key combination is pressed, and change the style of the Web control that has the input focus.

Sort in .NET

Sorting provides users with logical views of information. Learn how to implement and customize the sorting features your collections provide.

Spice Up Your Windows Forms

Users expect to find popup-style windows, irregularly shaped forms, and collapsible and dockable controls in a robust application. Learn how to implement the three features that can make or break your next Windows Forms app's UI.

Access Web Data Programmatically

Use the power of the DHTML Document Object Model to access elements of your Web Browser documents and automate data gathering.

Sneak Peek at the Future of Visual Studio .NET

S. "Soma" Somasegar, corporate vice president of the Developer Division at Microsoft, speaks to VSM about the future of Visual Studio, including the lifecycle-management tools.

Design Reusable Custom Controls

Build custom controls that can inherit from existing .NET controls, add custom properties to inherited controls, and support reuse in any app that needs them.

Subscribe on YouTube