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 →Author: admin
C# Constructors and MSIL Code Explosion
C# offers a very convenient syntax to initialize type level members. You can declare and initialize type level members in a one line expression as shown below public class Exploded { int x1 = 10; While this is great for writing clean expressive code I wondered how and what point the members actually get […]
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 →Hosting Coded WFs in WorkflowServiceHost
This post is a very quick one. I have been talking to a few people at www.stackoverflow.com who are quite keen to see if we can get WFSH (WorkflowServiceHost) to host coded WFs as opposed to XAML WFs. Further a couple of people also wanted to see if there is a way to get WFSH […]
Read More →Demystifying WCF and SSL – Part 2 – Creating SSL Certificates
This is the second part in a three part series where I aim to shed some light on various options that are available to use within wsHttpBinding, WCF and SSL certificates. Part 1 of this post is available here In this post we will go over the basics of setting up a SSL certificate which […]
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 →Demystifying WCF and SSL – Part 1
Over the past years I have come across many articles that do a very nice job of explaining the deep intricacies of security and authentication as offered by WCF. There are some excellent blog posts and msdn articles which present a deep dive of each individual security option that you can leverage with WCF. However […]
Read More →