Winforms: improving rendering performances with BackgroundImage and BackgroundImageLayout

Even after years you always have something to learn...this time I had a windows forms application with a lot of graphics in it: big and heavy background images, graphic buttons with transparent background, mixed bitmaps, Jpegs and PNGs...the whole th


Optimizing WMI query performances - avoid the nasty ‘select *’

These days I’m working to improve the startup time of an application my company develop, using some profiling tool you can easily isolate that functions that are eating up more time during the application startup. Aside the database connection...


Missing .NET Performance Counters: how to solve it

Today I’ve started to profile my applications to try to see if I have some memory leaks and performances bottlenecks. I just started the inspection trying to look at some performance counters (especially to check if the memory allocated by my ...