I finally had a chance this evening to sit down and play with Rust again – something I have been excited to try since it has finally reached a stable v1.0! Unfortunately, my upgrade did not go as smoothly as I had hoped. I could compile files manually using rustc, but if I tried to […]
ASP.NET MVC, Permanent Redirects and HTTP 301 Moved Permanently
This one stumped me for an embarrassingly long time. I have several pages that I am in the process of moving permanently to a new domain. The site is written using ASP.NET MVC and I wanted my controller to return a 301 Moved Permanently status (along with the location header) if the page in question […]
How to Disable Previewing the Solution Explorer’s Selected File in Visual Studio
If you are like me, you despise the automatic “preview†feature that comes enabled by default in Visual Studio 2013. It seems like a good idea: select a file in the Solution Explorer and it is automatically opened in a special preview tab. Unless it is already open in a tab, in which case that […]
Save and Load Selected Items in a WP8 ListView
I’ve been working on the fit and polish of my new WP8 app and wanted to preserve the selected items of a ListView across page navigations. This allows the user to navigate to a new page to perform some action and return to the same state they left. The first step to preserving and restoring […]
Docking Controls to the Top or Bottom of the Screen in a Windows Phone App
This is actually super easy to do in XAML, but for whatever reason it caused me some trouble. I wanted a page to have a scrollable list of items that filled the screen, with a bottom row of buttons always visible. I could have used a StackPanel and set the height of the ListView so […]