The Wayback Machine - https://web.archive.org/web/20110121194628/http://www.codeguru.com:80/csharp/.net/net_general/tipstricks/

    Tips & Tricks

    Safe Covariance and Contravariance in .NET 4.0

    .NET Developers may not recognize the terms invariance, covariance, and contravariance, it is likely they have been impacted by them and left wondering. This article will explain the concepts and the changes being introduced as part of .NET Framework 4.0.

    Creating Windows 7 Jump Lists With The API Code Pack and Visual Studio 2008

    One of the most clearly visible new features in Windows 7 is the new taskbar. Read on to learn how you can use jump lists from your C# applications with help from the Windows API Code Pack.

    Declaring Namespaces with Micro Focus for COBOL.NET

    In this article we will see how to use the ILUSING directive to declare namespaces in your COBOL.NET programs using Micro Focus.

    Building a Twitter Application in .NET / C#

    Learn to build a Twitter Application with .NET C#.

    Introducing the Entity Framework

    The Entity Framework provides a .NET class-based model of a data store, letting you query the model with LINQ, while the model do the background grunt work of contacting the data store to add, update, or delete data.

    Using Team Build to Build Database Projects

    Customize the Team Build project file to automatically deploy the database build script to a target database.

    Install Dummy SSL certificate

    If you need an SSL certificate in a testing environment only for testing purposes and not actual verification and authentication, then this article will show you how to create a dummy cert

    Creating Flexible Constant Fields

    Discover how to use constant fields without having to hard code the values into the class.

    TIP: Closing your WCF Connections properly

    This tip looks at properly closing a WCF connection from your application - whether you're using the proxy classes or a ChannelFactory.

    .NET Tip: Avoiding Boolean Overload

    Reduce your boolean logic to keep you program readable.

    TIP: Using Proxies and ChannelFactory in WCF

    Look at the two methods of talking to WCF services and when to use them. Also see sample code to use the ChannelFactory in C#.

    C# Tips and Tricks

    Learn some tips and tricks with the C# 3.0 language features along with exploring some productivity gains with the Visual Studio IDE.

    .NET Tip: It's 2:00 a.m. Do You Know What Your Processes Are Doing?

    Monitor the health of the processes running on your system.

    .NET Tip: Using a Nullable Value Type

    Discover how to use nullable types when retrieving data from your database.

    .NET Tip: Take a Byte out of Strings

    Convert a string to an array of bytes and back again.

    Adding Attachments to Excel 2007 Email Hyperlinks

    Learn to add attachments to hyperlinks that contain email addresses by using a little bit of VBA.

    .NET Tip: String Literals Without Escape Characters

    Use @-quoted strings to avoid escape characters in your string literals.

    .NET Tip: Filling Lists with Enums

    Most applications developers build have lists or dropdowns that need to be filled with values for the user to select. This tip will show you how to use an enumeration to populate your lists.

    .NET Tip: Display All Fields and Properties of an Object

    Learn how to display all of the fields and properties of any object. By using a little reflection, you can expose the internals of your objects.

    Build a Windows Event Log Watcher Service Process to Export Event Log Entries as an RSS Feed

    Build a Windows Event Log Watcher Service Process to Export Event Log Entries as an RSS feed using System.Diagnostics.EventLog, EntryWritten, and EnableRaisingEvents.

    FreeDOM (Programming)

    Learn about FreeDOM (Free Document Object Model), a web development technique used to create event-driven web applications. FreeDOM is designed to overcome the limitations of stateless HyperText Transfer Protocol (HTTP) transmissions.

    .NET Tip: Passing a Variable Number of Arguments to a Method

    Have you ever not known how many parameters a method would need to accept? The C# params keyword lets you pass a variable number of arguments to a method.

    .NET Tip: Type Casting and Comparison Using "as" and "is"

    Use some of the language's lesser known features for safe type casting and comparison.

    [Updated] Programatically Add Exceptions to a Windows Firewall Using C#

    Learn how to programatically add exceptions to a Windows Firewall using C#.

    Speeding Up .NET

    .NET programmers can become a little lazy when it comes to performance optimization. Discover a few easy tips to keep performance at a peak!