• .Net

    Improving WPF Rendering Performance

    by  • May 3, 2013 • .Net, Journal, Programming • 0 Comments

    I have posted quite a few times previously covering WPF, its quirks and workarounds as well as ways to improve its overall perceived performance to end users. In this article I will summarise them all, add in lots more tips and tricks and tell you some big gotchas. Versioning WPF and Windows have come...

    Read more →

    Plugin Architecture in Azure

    by  • May 2, 2013 • .Net, Journal, Programming • 0 Comments

    Trade-offs have to be made when moving to Cloud platforms, that’s a fact, the question is how much of a comprise do you have to make. Performance and flexibility are two such entities that are intertwined. In this article I want to talk about how you can build a plugin based architecture in Azure...

    Read more →

    Currying Function C#

    by  • April 7, 2013 • .Net, Journal, Programming • 0 Comments

    A while ago I did a post about Lambda calculus in C#, mainly focusing on how you can implement the concept of Y combinators. Y combinators are one of the simplest fixed point combinators in Lambda calculus, and was discovered by a Mr Curry. One of the other interesting concepts of Lambda calculus is...

    Read more →

    Up in the air with Cloud Development

    by  • February 10, 2013 • .Net, Programming • 0 Comments

    cloud-shelf-1

    The Cloud seems to be the buzz word of the modern generation, such as HTML5, Ruby on Rails and AJAX were before it. Everyone is scrambling to use it, some bash out an idea or two after a few days tinkering but its only a few that actually understand the technologies. So what does...

    Read more →

    Troubleshooting Video Playback in WPF

    by  • January 11, 2013 • .Net, Journal, Programming • 0 Comments

    wpf-video-playback-problems3

    For a long time Microsoft has offered an OCX or COM componentised version of the Windows Media player for inclusion into C# applications. With the introduction of WPF a few years back Microsoft required enhanced video support in end user applications. What we ended up with was the MediaElement control, which I think most...

    Read more →

    XML Stringbuilder Gotcha

    by  • October 24, 2012 • .Net, Programming • 0 Comments

    Ran into another annoying gotcha earlier today, it has to do with the encoding format that XML uses when writing out using various methods. If you look at the following code segment for an XmlWriterSetting class, you will straight away notice the encoding property being assigned, and thus be thinking ‘well it must output...

    Read more →

    Writing HLSL Pixel Shaders for WPF

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

    gpu-stock-photo

    One of the limiting factors of WPF used to be the availability of hardware accelerated effects for graphics and video. This has all changed with the inclusion of Pixel Shaders in WPF 3.5 onwards. A Pixel Shader is a routine that gets applied as you may guess, to the individual pixels, however it is...

    Read more →

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

    by  • September 4, 2012 • .Net, Programming • 0 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 →