|
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 [...]
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 [...]
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 [...]
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.
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.
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)
{
[...]
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 [...]
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, [...]
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 [...]
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 [...]
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 [...]
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?
Get Updates By Email
Popular Post
Tag Cloud
Code Snippets
- Get Current Windows User In C#
- Get Width And Height Of Image In C#
- Get Windows Registry Size With WMI And C#
- Reverse Array Elements Using C#
- Convert Hexadecimal To Number In C#
- Get Free Disk Space Using T-SQL
- SQL Server 2008 – Get All Indexes In A Database
- Get Name Of Current Executing Assembly In C#
- Get CD Or DVD Drive Information Using WMI And C#
- Get Last Row From Table Using LINQ To SQL

