C# Type Constructors and Performance

At the end of my previous post on C# and code explosion within MSIL I had mentioned that when it comes to type constructors or commonly known as “static constructors”  or “class constructors” the beforefieldinit flag can considerably boost the performance of your types. This is my first post in a two part series of […]

Read More →

Netpipe Binding with WCF and the bloody ghosts in the code

We recently had a requirement to put in place a system where we could host WFs without Send/Receive activities into them inside a WorkflowServiceHost (WFSH) and to be able to customize the instances of these WFSH that the system spawns. Thanks to Simon Ince’s (blog here) help on this, we pretty much have it working now. […]

Read More →

Error using TFS Power Tools – Task “WITs” from Group “WorkItemTracking” failed

You might have come across this error while trying to create a new Team Poject using TFS Power Tools 2012-05-28T10:05:52 | Module: Work Item Tracking | Thread: 17 | Uploading work item type from file ‘C:\Documents and Settings\usdr\Local Settings\Temp\TPW_tmp23.tmp\WorkItem Tracking\TypeDefinitions\Bug.xml’…<br>—begin Exception entry—<br>Time: 2012-05-28T10:05:52<br>Module: Engine<br>Event Description: TF30162: Task “WITs” from Group “WorkItemTracking” failed<br>Exception Type: Microsoft.TeamFoundation.Client.PcwException<br>Exception Message: […]

Read More →

Compile a specific changeset with Team Build 2010 (TFS)

By default the Team Foundation Server 2010’s build engine pulls the latest version of the code when you queue a build with any build definition. However it is very easy to override this and specify what changeset or label you want to compile instead of the latest version. To achieve this queue a build definition […]

Read More →