Welcome to Pete Brown's 10rem.net

First time here? If you are a developer or are interested in Microsoft tools and technology, please consider subscribing to the latest posts.

You may also be interested in my blog archives, the articles section, or some of my lab projects such as the C64 emulator written in Silverlight.

(hide this)

Monthly Archives:

  • Crappy Image Resizing in WPF? Try RenderOptions.BitmapScalingMode

    A WPF enthusiast on twitter is building an application. They noticed that the images they were using looked like crap in the toolbar. We checked, and it wasn't an issue of SnapToDevicePixels or UseLayoutRounding. Nope, this was something else. So I asked him to send me the whole project. Turns out the tiny toolbar images are actually 512x512 32 bit PNGs. While resizing those should d...

  • Quick Tip: Enable Telnet under Windows 7

    Telnet can be a nice easy way to debug DNS and see the raw result of a web request. There are lots of other tools that do this, but I keep returning to Telnet; maybe because at one point in my career, Telnet was the internet. Enabling Telnet Open the control panel, and go to Programs and Features. Select "Turn Windows features on or off" Next, select the Telnet Client. Don...