Home

| RSS

LINQ To SQL Join On Multiple Conditions

LINQ To SQL or just plain LINQ allows us to do a join on multiple conditions using an elegant technique. In this post I will show you how to perform a Join on multiple conditions. As an example I will take two tables called House and ShoppingMall.

Both these tables have PostCode and CouncilCode as common [...]

[ More ] September 16th, 2008 | 12 Comments | Posted in Programming |

Geek Rap At CERN

Yesterday Large Hardon Collider went RTM at CERN. The Collider will provide insightful information about moments after Big Bang. Now for most of us Big Bang is just a very very big bang and starting of everything including space and time. But if you are not willing to settle at that and if you are [...]

[ More ] September 10th, 2008 | No Comments | Posted in News |

Channel 9 Visits One .Net Way

Channel 9 does a “This Week On Channel 9” video every week and this week they paid a visit to One .Net Way. They mentioned my post about Retrieving a list of applications using LINQ in their news video. I am very happy to see One .Net Way mentioned on Channel 9. It feels good [...]

[ More ] September 9th, 2008 | No Comments | Posted in News |

Presenting Entity Framework At WDNUG

Tomorrow i.e. Wednesday 10th September, I will present Entity Framework at Wollongong .NET User Group (WDNUG). My presentation will focus on What, Why and How of Entity Framework. WDNUG meets at CSC Offices in Wollongong. You can find more details of the venue here.
I hope to see you there.

[ More ] September 9th, 2008 | No Comments | Posted in News |

Tech Ed NZ 2008 Content Available Online

If you are like me who is missing Tech Ed in Sydney and sulking about it then sulk not anymore my friend. Keynote and other presentations from Tech Ed NZ are available online for your viewing pleasures. I am sure Australian content is not too far away.

[ More ] September 4th, 2008 | No Comments | Posted in News |

Fundamentals: Deep Cloning In C#

To make an object cloneable in .NET we should implement ICloneable interface. ICloneable is a simple interface with only one method Clone(). In this post I will show you how to make a deep clone of an object.

class Program
{
static void Main(string[] args)
{
[...]

[ More ] September 1st, 2008 | 2 Comments | Posted in Programming |

Download F# September CTP

F# September CTP is now available for download here. I have installed the CTP on a Virtual Machine which also has Visual Studio 2008 installed. This CTP also included Visual Studio project templates which can be used to create F# applications.

Hello F#
After installing F# I thought of doing the Hello World ritual to see [...]

[ More ] September 1st, 2008 | 1 Comment | Posted in News |

Use EDMGEN To Generate Entity Framework Model

.NET Framework 3.5 SP1 ships with a tool called edmgen. This tool can be used to generate the EDM (Entity Data Model). Being a command line tool it can be executed from a batch file or a Powershell script.
Edmgen can be used to generate either a full model or selected artifacts such as CSDL, MSI, [...]

[ More ] September 1st, 2008 | No Comments | Posted in Programming |

Get A List Of Installed Applications Using LINQ And C#

To get a list of installed applications we need to look into registry. Microsoft.Win32 namespace contains objects which can be used to work with Windows Registry. In this post I will show you some code where I use the power of LINQ to retrieve and display a list of all applications installed on a machine.
The [...]

[ More ] August 29th, 2008 | 14 Comments | Posted in Programming |

Programmatically Retrieve Information About Windows Services Using ServiceController

ServiceControl can be used to get information about a Windows Service on a machine.  In this post I will show you how to retrieve information about a service using ServiceControl.
To begin with lets examine the properties for ServiceControl. Through the designer we can set the ServiceName property. This can be set to the name of [...]

[ More ] August 29th, 2008 | No Comments | Posted in Programming |

Windows Live Video Messages Coming Soon

Microsoft will launch Live Video Messaging facility on 9th September 2008. I have not yet sent anyone a video message in my life, so I am a bit excited to see something like this. At present you can request an early beta access if you are a member of press. I write a blog, does [...]

[ More ] August 28th, 2008 | No Comments | Posted in News |

New Mac vs PC Ads

Apple guys even though running out of creativity with their Mac vs PC ads are not giving up anytime soon. Here are two latest offerings.
Where is Jerry Seinfeld?

[ More ] August 28th, 2008 | No Comments | Posted in News |