Menu Sidebar

Alex Hardwicke

I'm the author of this blog. I'm a dad, husband and programmer, in roughly that order. Read more about me here.


Moving Surge.Core from C# to F#

As I’ve mentioned before, learning F# has been one of my goals for a while. During Christmas (2014), I decided to use the free time to start on this, and it’s gone very well. I went through various tutorials and books, and then went in the deep end and rewrote the entire back-end of Surge […]

Windows 8.1 Universal Apps (Part 4: XAML)

XAML As mentioned in the previous post in this series, by default App.xaml will be in the Shared folder, but you’ll have a unique MainPage.xaml for Windows and Windows Phone. You may have wondered that, as you can clearly share App.xaml between projects, if you can share other XAML. The answer is yes: you can […]

Windows 8.1 Universal Apps (Part 2: Not Perfect)

Minor Problems I said earlier that code can be shared between Universal Apps. This is true, but there are a few exceptions. For the most part, you can think of WinPRT as a subset of WinRT. There are several methods that WinRT has that will throw a NotImplementedException if you call them from WinPRT. Mostly, […]

Windows 8.1 Universal Apps (Part 1: The Basics)

What are Universal Apps for Windows 8.1? Universal Apps are Microsoft’s current solution to the problem of multiple devices. When you create a Universal App, you have one solution that will run on both Windows 8.1 and Windows Phone 8.1 devices. This works because Windows Phone 8.1’s runtime (WinPRT) is, generally speaking, completely compatible with […]

Link: Exception.StackTraceEx

So, not long after I finally blog about Little Watson, Lucian Wischik releases a tool that could really help with it! He’s created a fantastic tool called Exception.StackTraceEx. He explains it better than I could, but essentially it provides a way to have exceptions in async calls provide much more information, including filenames and line […]

WinRT Flyout Performance

I’ve been having problems with the files flyout in Surge for some time. The performance was pretty terrible: for normal torrents with at most hundreds of files, performance was almost acceptable on my desktop but terrible on my Surface RT. However, with torrents with thousands of files, even my desktop took more than thirty seconds […]

Alex Hardwicke

A programming blog, focused on Xamarin & F#.