• About Paul Kiddie

    .NET developer at thetrainline.com, previously web developer at MRM Meteorite. Awarded a PhD in misbehaviour detection in wireless ad-hoc networks. A keen C# ASP.net developer bridging the gap with APIs and JavaScript frameworks, one web app at a time.


    Why you should reconsider using the wget alias in Powershell scripts if you’re running them on auto-provisioned VMs

    by  • November 2, 2014 • .net, powershell • 0 Comments

    The other day I was looking for a Powershell one-liner to get the content of a URL and came across this superuser post, which suggested to take a look into Invoke-WebRequest or wget (an alias of Invoke-WebRequest). My usage was to pull in the content of this text file during a build on a remote […]

    Read more →

    Tracing all SQL generated by Entity Framework

    by  • March 3, 2013 • .net, sql • 1 Comment

    A nice quick one this week. I spent a little bit of time trying to debug some Entity Framework queries, particularly the parameter values used in a SQL INSERT composed when calling AddObject/SaveChanges. There are a few ways to determine the underlying SQL. If you are only interested in LINQ queries, using ToTraceString() on ObjectQuery […]

    Read more →

    Tweaking MSDeploy arguments to keep existing files in folder during deployment to IIS

    by  • January 31, 2012 • .net, tfs, visual studio • 2 Comments

    I recently got into MSDeploy in order to automate the deployment of web application packages to IIS. A great resource that got me most of the way was Web Deployment Painkillers: Microsoft Visual Studio 2010 & MS Deploy, very useful in getting me started via TFS 2010/VS 2010. What this gave me was the following […]

    Read more →

    The importance of the position of Window.Resources element in WPF XAML markup

    by  • October 5, 2011 • Uncategorized • 0 Comments

    Got burnt by a little gotcha today writing a sample Windows Presentation Foundation (WPF) application. I was manually hooking up a WPF DataGrid control to a Entity Framework data source that was defined in another project, through a combination of XAML and code-behind. I had declared the DataGrid control as follows in Window.xaml: in which […]

    Read more →