Home Network Guide

Lately I’ve been working on improving my home network, so I’ve decided to write up some posts on my experience. Most of them will probably be pretty short and reference other sites and tutorials, but I plan on pointing out some of the issues, tips and tricks I’ve discovered along the way.

Continue reading Home Network Guide

How Not To Restart A ClickOnce Application

Normally if you need to restart a WPF application programatically, you would use the following code:

private void Restart() 
{
    System.Diagnostics.Process.Start(
        Application.ResourceAssembly.Location); 
    Application.Current.Shutdown(); 
}

If you have a ClickOnce WPF application, you do not want to do this. In order to understand why, you need to understand how a ClickOnce application is normally launched.

Continue reading How Not To Restart A ClickOnce Application

Borderless WPF Window

I’ve put together a very simple borderless WPF window that complements Microsoft’s Metro style quite well. I won’t go into a lot of detail here, since the code does most of the talking, but I will go over the important parts here. If you want to skip right to the source code, you can find it over at GitHub: http://bit.ly/N7afKQ Continue reading Borderless WPF Window

Diving Into World Construction Kit

In the game that I’ve been working on recently I’ve been using this amazing little library called World Construction Kit (WCK). This framework has saved me tons of time and made setting up Box2D worlds and bodies really easy. Emanuele Feronato wrote up a nice getting started tutorial and there are 2 very useful pages on the GitHub Wiki:

Continue reading Diving Into World Construction Kit