Can Not Find a Program Running in Windows 7? (helpful Keyboard Shortcuts)
Thursday 2 July 2009 @ 10:02 am
  So, if you run a notebook with different monitor configurations, you may find yourself unable to find a program you launched to a different monitor previously.  Happened to me with NotePad++ today.  So, in Vista, you would right click on the taskbar program, choose move, then use the arrow keys to [...]
Comments (0) - Posted in Windows 7  


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 (0) - 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 VSLive speakers including Jim Wooley, one of the authors of the awesome book on LINQ titled 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 [...]
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 (VSLive, Las Vegas).  Both sessions were fun to present and hopefully the audience got as much out of it as I did.  Lots of great questions, several twitter posts and best of all, they both finished on [...]

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 LINQ2SQL is if you don’t compile your queries before executing them.  To be fair, if you are doing Windows Forms Programming, WPF or Silverlight it really does not have much impact.  The reason is that a very complex LINQ query may [...]

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 LINQPAD written by Joseph Albahari.  I have the $19 version which has intellisense, but even without, it would be totally awesome. Today, I discovered you can actually put [...]
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  


My ExtJS Presentation at Microsoft’s Office in San Francisco Last Night
Thursday 21 May 2009 @ 12:07 pm
  Last night, I gave a 90 minute presentation on how to use ExtJS with ASP.NET serving up the data at the San Francisco Microsoft Office to what seemed to be between 50 and 100 people.  I started out with just a basic overview of ExtJS, starting with a hello world app, then, finally [...]

Another Great ExtJS Meetup in San Francisco!
Thursday 21 May 2009 @ 11:45 am
  Last week, we had our 5th Meetup of the San Francisco ExtJS Meetup Group at ClickTime.  Xiaohui Chen and I both presented different aspects of some new features in ExtJS V3. Specifically, I showed you to use the new Proxy Writer to do restful CRUD operations from ExtJS to Asp.Net with ease, and [...]
Comments (0) - Posted in Community, ExtJS  


Sending My Google T-Mobile Android G1 Phone Back to Google
Thursday 21 May 2009 @ 11:37 am
  For the past couple years, I’ve had the T-Mobile Dash Windows Mobile phone.  It’s been a nice phone but not great.  It’s broken a couple times, crashes too often, requires me to carry an extra battery around just to get through the day and gives me an inadequate browsing experience based on the [...]
Comments (14) - Posted in google, mobile  


ExtJS Meetup Tonight in San Francisco, Sample URLs of Running Code Here
Thursday 14 May 2009 @ 7:47 am
  At tonight’s meet up, we will be having several short presentations on the new features in ExtJS version 3.0.  For my short presentation, I will be showing how to build a simple asp.net application that lets you Create, Update, Delete and Edit Membership data using the ASP.NET built in membership providers.  I will [...]

LINQ To SQL Very Slow Performance Without Compile (CompileQuery)
Wednesday 6 May 2009 @ 10:23 am

In this article, it is shown how important it can be to use the CompileQuery class when using LINQ to SQL. Doing a simple query in LINQ to SQL verses ADO.NET is shown to run 37 times slower without taking advantage of the Compile feature in LINQ to SQL. If you are doing the same query over and over in LINQ to SQL, this is a no brainer. I’m surprised I did not know this myself previously.

Performance of LINQ to SQL compiled verses not and ADO.NET

How to Set JavaScript Programmatically on a Page in ASP.NET with Parameters
Sunday 3 May 2009 @ 4:42 pm
  Programmatically setting JavaScript into an ASP.NET page is very straight forward when you do it in code.  That is, in my case, I simply put it in the Page_Load event of the page and have it load from there.  I’m currently working on an ExtJS project that requires me to show some details [...]

Great JavaScript Meetup In San Francsico Last Night!
Thursday 30 April 2009 @ 10:48 am
  My guess is 75 people showed up at Dolores Labs last night for this meetup.  It lasted about two hours and had about 6 great presentations.  Douglas Crockford kicked it off with a discussion on upcoming security models around new versions of JavaScript followed by several other presentations that included a Google engineer [...]

Speaking Wednesday May 20th, 6:30PM, Microsoft Office San Francisco on ExtJS and ASP.NET Membership!
Monday 20 April 2009 @ 9:59 pm
  Come hear about how to see ExtJS integrated with ASP.NET for awesome Membership and Profile Management!  I will speaking at the Microsoft Office at a meeting of Bay.Net Users Group. http://www.baynetug.org/DesktopModules/DetailXEvents.aspx?ItemID=378&mid=49 ASP.NET: Membership with Profile and High Performance ExtJS JavaScript Interface When:  Wednesday, 5/20/2009 at 6:30 PM [...]

Next Page