Tag Archives: dot net

Visual Basic .NET, the Second-Class Citizen

From the June 2011 issue of Visual Studio Magazine, one of the best arguments for the “reason” why many professional developers prefer C# to Visual Basic .NET: At the dawn of .NET, the problem was that Visual Basic .NET had more limitations with regard to the framework than C#. Given that Visual Basic .NET was...… read more

LINQ to SQL Extension Methods

LINQ to SQL is a powerful component of .NET, however, I often find myself duplicating the same code across projects. I created the following extension methods to make common operations easier to use. The class adds generic methods for Delete(), Save(), Exists(), and IsAttached(). The IsAttached() method is required to make sure that the data...… read more

Binding Entity Framework Navigation Properties

I’ve been playing around with Entity Framework since the release of .NET 4 and come across a few strange behaviors.  One of the most troublesome has been when attempting to bind a related entity to a column in an ASP.NET GridView control.  In the book Pro Entity Framework 4.0, the author suggestions handling the GridView’s...… read more

Does F# Break a Fundamental Principal of .NET?

I recently read an (old) news brief in InformationWeek (September 14, 2009) about a group at Grange using the F# programming language.  For those unfamiliar with it, F# is a relatively new programming language developed by Microsoft Research to target the .NET platform.  It is a functional language that is a variant of the ML...… read more