Perf, Text Renderering and Designer hosting

There are three great articles from the Windows Forms team to read in the March issue of MSDN Magazine:

Winning Forms: Practical Tips For Boosting The Performance Of Windows Forms Apps
Milena Salman

Text Rendering: Build World-Ready Apps Using Complex Scripts In Windows Forms Controls
Miguel A. Lacouture

The Perfect Host: Create And Host Custom Designers With The .NET Framework 2.0
Dinesh Chandnani

Here's the overview of the tips from the performance article:

  • Load fewer modules at startup
  • Precompile assemblies using NGen
  • Place strong-named assemblies in the GAC
  • Avoid base address collisions
  • Avoid blocking on the UI thread
  • Perform lazy processing
  • Populate controls more quickly
  • Exercise more control over data binding
  • Reduce repainting
  • Use double buffering
  • Manage memory usage
  • Use reflection wisely