The Wayward WebLog

Oh, what a tangled web

June, 2007

Posts
  • The Wayward WebLog

    IQueryable’s Deep Dark Secret

    • 7 Comments
    I love the IQueryable interface, but it’s got a dark checkered past that most of you might not know about. IQueryable is a great way to expose your API or domain model for querying or provide a specialized query processor that can be used directly by LINQ. It defines the pattern for you to gather-up a user’s query and present it to your processing engine as a single expression tree that you can either transform or interpret. It’s the way LINQ becomes ‘integrated’ for many LINQ to XXX products. Yet it was not supposed to be that way; with all that ease of use, plugging automatically into LINQ with an abundance of pre-written query operators at your disposal. You were not supposed to use it for your own ends. It was not meant for you at all. ...
  • The Wayward WebLog

    LINQ to SQL: The Mapping Engine

    • 14 Comments
    The primary purpose of any ORM system is to map relational data onto objects in your programming environment. Mapping here refers to the meaning in the mathematical sense that there is a correspondence from one item to the other. For example, a database row might map to an object, or a field in a database might map to a property. Some mappings are simple, like the ones I’ve already mentioned; others are more complex such as parts of multiple rows combining to form a single object. ...
  • The Wayward WebLog

    LINQ to SQL: Objects all the way down

    • 21 Comments
    There are a lot of different opinions on just what LINQ to SQL is or is not. Some of them are actually based on investigation by people who have kicked the tires and taken a test drive. Being its architect, I realize that I am the foremost expert on what’s under the hood, yet that alone does not give me the omniscience to know how the product measures up to everyone’s expectations. What it does give me is the ability to share with you the impetus behind the design and hope that gives you enough insight to make up your own mind....
  • The Wayward WebLog

    LINQ to SQL: Learning to Crawl

    • 6 Comments
    Rico Mariani, our performance expert amongst other things, has a blog post detailing worst case peformance shown by LINQ to SQL in last May's CTP. You can see for yourself that performance really sucked. :-) Fortunately, that was the prototype and lots...
  • The Wayward WebLog

    Agile at Microsoft

    • 8 Comments
    I wasn’t always a proponent of Agile development practices. To tell you the truth, I didn’t even know what they were. Before I came to Microsoft I used to just do what I was told and simply worked the way everyone else worked....
  • The Wayward WebLog

    LINQ to SQL: Under the Microscope

    • 6 Comments
    Rico continues his series on LINQ to SQL performance. In this post he takes a look at the breakdown of where the time is being spent. It's not looking good for the extra overhead of query translation. Rico ponders a solution....
  • The Wayward WebLog

    LINQ to SQL: Go Rico Go!

    • 1 Comments
    Rico has his third installment on LINQ to SQL performance up on his site and he finally lets us in on what he thinks the problems are/were....
  • The Wayward WebLog

    The Blue Screen of Mort

    • 4 Comments
    It happened just the other day when I least expected it. No one would have expected it. Not me, not you, not your cousin, your grand-father or your grand-father’s cousin’s dog; no one. Because there was no warning, not even a hint, not a glint or glimmer...
  • The Wayward WebLog

    LINQ to SQL: Ignorance is Bliss

    • 4 Comments
    Ian Cooper has written a great article talking about LINQ to SQL and persistence ignorance, and his successes using TDD with projects using LINQ to SQL. I don't normally link to someone else's post. Especially with such a great title. But what-the...
  • The Wayward WebLog

    Rotten to the Multi-Core

    • 6 Comments
    Everyone’s trying to figure out the next big software gimmick that’s going to make utilizing your multi-core machines super easy. Let’s face it, having to write code with locks and threads is not going to be it. We’ve had that capability for a long time and only the cream of the crop developers even dared to tread there, and even fewer were actually capable of getting it right. The average programmer, including me on most days when I’m not hyper caffeinated, need a better mouse trap to make writing and executing code in parallel an everyday task. ...
Page 1 of 2 (12 items) 12