• .Net

    Improving WPF Rendering performance (Part 2)

    by  • October 12, 2012 • .Net, Journal, Programming • 0 Comments

    This article is part of a series of articles I have written covering WPF; improving its performance, its quirks and associated workarounds, as well as porting it to WUA Applications: Improving WPF Rendering Performance (Part 1) Improving WPF Rendering performance (Part 2) Improving WPF Rendering performance (Part 3) Troubleshooting Video Playback in WPF Writing...

    Read more →

    The dark side of the Hosting Process (vshost.exe)

    by  • September 4, 2012 • .Net, Programming • 2 Comments

    By default Visual Studio wraps managed projects around a Hosting Process to improve the performance when debugging and to enable a subset of features that would not be possible via direct debugging. However just like most things, there are trade-offs to be had, and can introduce new bugs into your application. The end goal...

    Read more →

    64bit HKLM Registry Gotcha

    by  • August 23, 2012 • .Net, Programming • 0 Comments

    I’ve recently ran into some interesting problems when trying to access the registry on a 64bit machine via C#. Now most people should know that writing (and sometimes even reading) from certain sections of the registry results in either an exception or would return null; indicating the registry key is empty or does not...

    Read more →

    Raspberry Pi OS Image Downloader

    by  • June 15, 2012 • .Net, Journal, Programming • 16 Comments

    When I first started out playing around with the Raspberry Pi I used the pre-made SD Card images available on the website, however I soon noticed these were out of date, and then found it a challenge to find up to date (usually nightly builds) of some of the Operating Systems. So I decided...

    Read more →

    How to build your own Static Code Analyser for C Sharp

    by  • June 10, 2012 • .Net, Journal • 0 Comments

    Static Code Analysis is the process of scanning the source code (or bytecode) of an application without actually running it. SCA can be used to determine a whole host of programmatic errors or just not conforming with a coding guideline. My first look into SCA was at university; during the ‘Theoretical Computation’ and ‘Mathematics of Computer...

    Read more →

    Split Ticketing Part 2

    by  • June 10, 2012 • .Net, Journal • 0 Comments

    Its been a while but I have been tinkering away with the Split Ticketing library that I have been working on – the majority of the work has been converting it from a hacktastic proof of concept to a usuable library. Some of the main functionality I wanted to exported was to expose the...

    Read more →

    C# 5 …carry on awaiting

    by  • May 4, 2012 • .Net, Journal, Programming • 0 Comments

    This made me chuckle when I saw this. .Net 4 has the awesome Task.Factory.StartNew and .Net 4.5 added the syntactic sugar of Task.Run, but if you combine it with some of the functionality in C#5 the following code:   When unwrapped becomes:   Yes you are seeing right, you are awaiting the await… Task.Factory.StartNew is...

    Read more →