Getting Stuck in Windows 7 with Directory Showing 0-9,A-H,… Group By Problem
Saturday 27 June 2009 @ 6:02 pm
  So, sometimes I feel like “how did I get myself here”.  If you pushed some buttons and didn’t realize you did something, you may find your directory view looks like the following: Well, to clear it, all you have to do is put your cursor at the very bottom of [...]
Comments (2) - Posted in Windows 7  


Really Cool Feature in Windows 7 RC (Multi-Monitor Support)
Saturday 27 June 2009 @ 7:37 am
  I’ve finally moved my Lenovo W500 over to Windows 7 RC.  What motivated me was my wireless networking was getting really really unstable.  Sometimes it would connect, other times it would not, and it never seemed to want to work at starbucks anymore. So, here I am, and so far, vary happy.  [...]

In ASP.NET, How To Create a DropDownList from an ENUM
Tuesday 16 June 2009 @ 4:05 pm
  So, you have an enum defined as follows: public enum CompanyAddressType { Unknown = 0, Primary = 1, Warehouse = 2, [...]

Interesting LINQ side affect, Pass in empty List<int> using Contains and Get Where 0 == 1. Hmm
Sunday 14 June 2009 @ 8:21 am
  We’ve built a data access layer on top of LINQ2SQL for dynamically building the layer we call for data access.  It’s convenient because we pass in a query object as a parameter that has a bunch of nullable variables in it.  Here is kind of what it looks like: [...]
Comments (4) - Posted in C#, LINQ, LINQ to SQL  


Combing LINQPAD with LINQ In Action From Manning
Tuesday 9 June 2009 @ 9:08 am
  Last night, I had the honor of having dinner with three other LINQ in Action.  Jim is a wealth of knowledge as well as very entertaining.  He had an interesting analogy for what using try/catch statements to handle expected issues.  I’ll leave it up to you to post to his twitter account and [...]
Comments (1) - Posted in LINQ, LINQ to SQL  


My Two Presentations Today at VSLive in Las Vegas (ExtJS, Then High Performance ASP.NET Web Sites)
Monday 8 June 2009 @ 10:41 pm
  Today was my first time doing 2 presentations during the same day at a professional conference (

780 Requests Per Second Verses 110, You Really Need to Compile your LINQ to SQL (LINQ2SQL) Queries
Monday 8 June 2009 @ 10:21 pm
  So, I’ve been on kind of a rant lately about how slow uncompiled LINQ2SQL. So, to put some more substance behind my claims, I’ve written a small test application using Visual Studio 2008 that compares the performance of using LINQ2SQL compiled verses non-compiled on a trivial web page. Here are some [...]

Not Sure If I’ve Said Often Enough.. I LOVE LINQPAD!!!
Thursday 4 June 2009 @ 6:30 am
  I’ve been doing a lot of LINQ2SQL lately and just in case I have not said it loud enough how enthusiastic I am about
Comments (0) - Posted in C#, LINQ, LINQ to SQL  


How Fast are In Memory LINQ Evaluations for Doing Simple Things?
Wednesday 3 June 2009 @ 6:27 pm
  So, I recently blogged about the huge penalty for not compiling your LINQ2SQL.  This problem is so big that it occurred to us that maybe all of LINQ has the problem.  So, time for a simple test.  Below is a very simple program that basically generates a list of Ids.  In one case, [...]

How to Create a Generic Integer List From a List of Objects Using LINQ
Wednesday 3 June 2009 @ 10:02 am
  So, this is very straight forward, but I sometimes forget it.  I figure I’ll do a short blog post on it so next time I search for it, I’ll probably hit my own blog post. So, say you have a list of objects as follows: public partial class CompanyAddressResult : ResultBase [...]
Comments (0) - Posted in C#, LINQ  


Using Reflection in C# to Figure Out if an Integer List Has Values
Monday 1 June 2009 @ 12:04 pm
  So, I’ve struggled some with this and did not have much help with searching.  Here is the problem. You have a declaration that looks like this: 1: public partial class CompanyQuery { [...]
Comments (2) - Posted in C#, Reflection