Wordpress - chriscavanagh.wordpress.com - Chris Cavanagh's Blog
General Information:
Latest News:
Twin Cities Code Camp 2013 9 Mar 2013 | 09:04 pm
TCCC14 (off-by-one error?) takes place on April 27th. Go register! Even if you just want the free breakfast (donuts, coffee… what more does a geek need?), campus atmosphere and chance to win prizes,...
Multiplayer Physics with Raspberry Pi 22 Jan 2013 | 08:11 pm
What happens when you put node.js and socket.io on a Raspberry Pi, then use them as goop between Box2D (physics engine) demos? All kinds of awesome – Try it here (not sure how long I’ll keep this runn...
Modifying LINQ to SQL command text without Reflection 7 Jul 2012 | 12:05 am
Following my post last year about modifying LINQ to SQL command text (evil, as it calls private methods through reflection) here’s an equally evil, but faster version that pre-compiles most of its wor...
Modifying LINQ to SQL command text again 6 Jul 2012 | 10:37 pm
Last year I posted this article about modifying LINQ to SQL (L2S) command text. It was slightly evil in that it called private methods inside L2S, and it did it through reflection. I have an alterna...
Recursive Methods in Expression Trees 19 Jun 2012 | 04:09 am
Writing a recursive method in C# is easy, but it’s not immediately obvious how to do the same in a LINQ expression tree. Here’s the usual factorial example: To represent this in an expression tree, ...
WPF 4 WebBrowser Update 24 May 2012 | 03:32 pm
Since posting the WPF 4 version of my Awesomium (Chromium-based) browser wrapper, Awesomium introduced its own wrapper. I assumed everyone would just use the new wrapper and everything would be fine....
MVC Strongly-Typed Action Helpers 23 May 2012 | 04:10 pm
Way back in 2009, the MVC Futures assembly introduced “strongly-typed action helpers”. They allowed you to render links using lambda expressions pointing directly to the actions on your controller, r...
Expression Trees + Generic Static Constructors 27 Apr 2012 | 04:09 pm
A great thing about .NET Expression Trees is you can compile them at runtime, and they’ll execute as fast as any .NET code. However, while building and compiling a tree is pretty quick, it’s best if ...
Twin Cities Code Camp 2012 6 Apr 2012 | 10:04 am
Live in Minnesota? http://tccc12.eventbrite.com
LOLCode Parser 20 Mar 2012 | 04:07 pm
On the second Thursday of the month at 5pm, the Rochester, MN .NET User Group meets at Mann Hall. You’re very welcome to join us if you’re in the area. We often have someone interesting presenting s...