Experiences running multiple instances of 2010 build service on a single VM

I think my biggest issue with TFS2010 is the problem that a build controller is tied to a single Team Project Collection (TPC). For a company like mine where we run a TPC for each client this means we have had to start to generate a good number of virtualised build controller/agents. It is especially irritating as I know that the volume of builds on any given controller is low. ...

September 13, 2010 · 4 min · Richard Fennell

Talking about mocking with Typemock a The of The Developers Group in October

On the 20th October I will be speaking at an afternoon event hosted by The Developer Group at EMC offices in London. My subject will be using Typemock Isolator to address testing problems in both well designed code (nice IoC patterns etc) and in nasty legacy code where you have to use all the trick Isolator allows. Hope to see you there

September 13, 2010 · 1 min · Richard Fennell

Stupid mistake over Javascript parameters

I have been using the Google Maps JavaScript API today. I lost too much time over a really stupid error. I was trying to set the zoom level on a map using the call map.setZoom(); I had set my initial zoom level to 5 (the scale is 1-17 I think) in the map load, when I called setZoom to 11 all was fine, but if I set it to any other number is reverted to 5. This different effect for different numbers was a real red herring. The problem was down to how I was handling the variable containing the zoom level prior to passing it to setZoom method. When it was set to 11 it was set explicitly e.g. ...

September 10, 2010 · 1 min · Richard Fennell

Problem faking multiple SPLists with Typemock Isolator in a single test

I have found a problem with repeated calls to indexed SharePoint Lists with Typemock Isolator 6.0.3. This what I am trying to do… The Problem I am using Typemock Isolator to allow me to develop a SharePoint Webpart outside of the SharePoint environment (there is a video about this on the Typemock site). My SharePoint Webpart uses data drawn from a pair of SharePoint lists to draw a map using Google maps API; so in my test harness web site page I have the following code in the constructor that fakes out the two SPLists and populates them with test content. ...

September 10, 2010 · 4 min · Richard Fennell

My Typemock video have been published

I have a couple of new video’s on on the Typepmock Experts site, why not take a look, the titles are Using Typemock Isolator to enable rapid development Using Typemock Isolator and Ivonna for unit testing the UI

September 9, 2010 · 1 min · Richard Fennell

I am speaking at the VBug Autumn Conference

The VBug Autumn Conference is on the Wed 27th & Thurs 28th October at Holywell Park, Loughborough. The published agenda this far is **Day One (Wed 27th Oct):**Top of the Pops with Sharepoint 2010 – Dave McMahon Cache Out with Windows Server AppFabric – Phil Pursglove Mapping the Cloud – How far can we stretch it? Johannes Kebeck Silverlight Development on Windows Phone 7 – Andy Wigley **Day Two (Thurs 28th Oct): **TFS (actual title TBC) – Richard Fennell Silverlight 4 (actual title TBC) – Richard Costall Others to be confirmed…including Azure, Expression Blend & BI ...

September 9, 2010 · 1 min · Richard Fennell

Running Android on my HTC Diamond2

I have posted in the past that I am not a huge fan of my phone, so I read Martin Hinshelwood’s experiences with putting Android on his HTC HD with interest. I have tended to leave my phone as a consumer device i.e. it does what it does, I tend to not fiddle too much as long as it will make calls, sync email and allow me to get the cricket scores on the BBC website, the essentials of life. However, I had a spare SD card and a bit of time. So it was off to the Diamond2(Topaz) XDADevelopers forums to see what I needed. ...

September 8, 2010 · 2 min · Richard Fennell

Does anyone need a VS2010 Custom Build Activity for StyleCop?

There is a noticeable omission form the tooling for StyleCop that you cannot integrate it into a TFS 2010 Build directly. There is a custom task to do it as part of MSBuild Extension pack, but this is designed for TFS 2008. So when I had to wire in StyleCop to our 2010 build process I hit a problem, I could Edit the .csproj files for each project to wire in StyleCop Use an MSBuild activity in my 2010 build Write my own custom activity. I decided to follow the final option, it did not look too bad as the source needed is provided in the StyleCop SDK. Well after a good deal of fiddling I have it basically working. Again I found the process of developing a custom activity a little irritating. ...

September 3, 2010 · 2 min · Richard Fennell

New book on Refactoring with Visual Studio 2010 from Packt Publishing

Recently Packt Publishing sent me a copy of ‘Refactoring with Microsoft Visual Studio 2010’ by Peter Ritchie, I have to say I have rather impressed by it. My only major issue with it is that of the title, this book covers much more than the refactoring features of 2010. It provides a very clear example driven discussion of the use and application of both refactoring patterns and design patterns. I think this would be an excellent book for a developer who want to start to apply design patterns to their C# code. The examples being more real world than Head First’s ‘Design Patterns’ (and the examples are in C# as opposed to Java) and the book being a far easier read than the classic ‘Design patterns : elements of reusable object-oriented software’ ...

September 3, 2010 · 2 min · Richard Fennell

DDD Dublin call for speakers is open

There is a call for speaker for DDD in Dublin on the 9th of October, that is not that far away is it! [Updated 1 Sep 2010] The link would help http://developerdeveloperdeveloper.com/dddie10/

August 31, 2010 · 1 min · Richard Fennell