Experiments In Writing

  • Visual Studio SP1 and The Metification of REST

    Metification – verb The act of adding metadata to a web service in order to facilitate tooling and discovery. The act of adding complexity to a web service in order to achieve tight coupling. Pick one. Service Pack 1 for Visual Studio 2008 has just arrived...
  • Optimizing LINQ Queries

    I’ve been asked a few times about how to optimize LINQ code. The first step in optimizing LINQ code is to take some measurements and make sure you really have a problem. It turns out that optimizing LINQ code isn’t that different from optimizing...
  • Using an ORM? Think Objects!

    I recently had some time on airplanes to read through Bitter EJB , POJOs in Action , and Better, Faster, Lighter Java . All three books were good, but the last one was my favorite, and was recommended to me by Ian Cooper . No, I’m not planning on...
  • LINQ Deep Dive at D.C. ALT.NET Next Week

    Matt Podwysocki invited me to speak at the D.C. alt.net meeting next Thursday evening (July 24th). The topic is LINQ. Matt specifically requested a code-heavy presentation, so expect two slides followed by plenty of hot lambda and Expression<T>...
  • Keeping LINQ Code Healthy

    In the BI space I’ve seen a lot of SQL queries succumb to complexity. A data extraction query adds some joins, then some filters, then some nested SELET statements, and it becomes an unhealthy mess in short order. It’s unfortunate, but standard SQL just...
  • Restku

    Haiku is a popular poetic form that has evolved over centuries. Restku is Haiku with a twist. crystal pixels get brighter an abundance of excitement The twist is that the author of a Restku is restricted to using a single verb from this list: get, post...
  • Swimming Upstream Is Hazardous

    Salmon swim upstream, and look at what happens …        Every developer is familiar with the “ work around ”. These are the extra bits of extra code we write to overcome limitations in an API, platform, or framework. But...
  • Fun with Fills in Silverlight 1.0

    I've saw a few people trip over the Fill property of Silverlight objects in JavaScript last week. Let's use the following XAML snippet as an example: < Canvas > < Rectangle x:Name = " _box1 " Canvas.Left = " 10 " Canvas.Top...
  • Silverlight 1.1 Alpha – An Appetite for Exceptions

    The current Silverlight 1.1 alpha will eat exceptions. I’m not sure if the final version will behave similarly, but if you are working with the alpha don’t let this behavior surprise you. For example, consider the following event handlers that listen...
  • The New ASP.NET Framework

    The New ASP.NET Framework ScottGu gave a demo of the new MVC framework for ASP.NET at the ALT.NET Conference . Here are some notes and thoughts I had after watching ScottHanselman's recording . The framework should go live in the spring of 2008. The framework...
  • Silverlight Subtleties

    Moving from a Silverlight 1.0 JavaScript mindset to a Silverlight 1.1 C# mindset isn't terribly difficult, but there are little traps here and there. For example, to download and display an image, you need to create and configure a Downloader object....
  • Hello, .NET Source Code

    ScottGu announced that Microsoft is releasing the source code for the .NET Libraries. The cheering from developers won’t subside for some time. Reflector is a great tool for peering into assemblies, but nothing beats breakpoints and an Immediate...