Moving to a new location

After a long break, I plan to restart blogging – but in a more personal location so I can blog about a few more things than would make sense under msdn. Hope to see you there Dinesh


.NET RIA Services Resources (for March 2009 Preview)

Some of it is covered in my previous post and on but here is a summary: Bits (prereq: Visual Studio 2008 SP1, Silverlight 3 beta tools for VS): RIA Services March Preview (unveiled last week at MIX) Documentation / video A PDF file with an intro and quick starts is here If you have…


.NET RIA Services is now public

A few folks have asked me what I have been up to after wrapping up LINQ previews and V1. I have not been able to answer that question satisfactorily because what we were working on was non-public (well almost except the mention of now obsolete name “Alexandria” at PDC 2008). Few other folks have wondered…


"Essential LINQ" book to be published tomorrow

I have been underground for a while – trying to wrap up the LINQ book and working on some exciting stuff for Silverlight. For the latter, my lips are sealed until Mix 209. For the former, it is a different story … Last month, I finally finished all the prep work and so did my…


.NET Framework 3.5 SP1: LINQ perf improvements (LINQ to Objects and LINQ to SQL)

There are three perf improvements in the just released SP1. As always, I will let you run your own microbenchmarks or more meaningful app-level benchmarks. LINQ to Objects:   Specialized enumerable: The new implementation recognizes queries that apply Where and/or Select to arrays or List<T>s and fold pipelines of multiple enumerable objects into single specialized…


Templated code gen for LINQ to SQL

This is going to be a brief one. If you are using LINQ to SQL, you should check out Damien’s new templated code generator sample. One of our regrets from LINQ to SQL V1 days was not providing an easy way to tailor the code-gen. This is one step in that direction.  Another major step…


Relational-Object-XML-Object with LINQ to SQL & LINQ to XML

This is old story and I have used parts of it over the last three years to show how LINQ lets you navigate from relational (R) to object (O) or object to XML (X) etc. But for a forthcoming demo, I had to write some quick code today and it looked like it might be worth…


LINQ to SQL Tips 9: Understanding DataContext’s internal caching

Back to the “tips” series after a little break … One common question I get is about caching of data in LINQ to SQL. It means a lot of different things so let’s start with the following baseline: LINQ to SQL was designed to get you objects from the database and to submit the changes…


An account of Bill Gates’ farewell

An unusual subject for this blog that has been mostly about components I have worked on. But the event yesterday was memorable and worth sharing. The event has been covered widely so I won’t even try to broadly summarize. Insted I will list what I found interesting. I was lucky enough (one of 2k lottery…


Design of LINQ to SQL – What was I thinking or was I?

A little break from my “LINQ to SQL tips” series of posts. A recent vote of no confidence on a related component orchestrated by community activists reminded me of many questions I have fielded and how the design team approached the design of LINQ to SQL (and also core LINQ APIs and C# language changes…