Archive for the 'LINQ' Category

Linq to XSD preview released

Last Monday, the Microsoft XML Team released the first Linq to XSD preview.

While the LINQ to XML programmer operates on generic XML trees, the LINQ to XSD programmer operates on typed XML trees — instances of .NET types that model the XML types of a specific XML schema (XSD). […] LINQ to XSD is integrated into Visual Studio; so you just tag an XML schema as [a] ‘LINQ to XSD schema’, build your project, and the automatically derived object model is then part of your solution — just as if XML schemas were .NET types.

I only had a quick look, but I have to say it looks very promissing! Send them your feedback, but hurry, I want this to be included in Visual Studio Orcas.


Creating a Data Access Layer with Linq to SQL, part 2

Last time, we looked at how Linq To SQL might impact how we think about what a Data Access Layer (DAL) is, based on the dependencies between assemblies. This time, we’ll take a different approach: let’s look at typical Linq to SQL code, and try to decide where to put it. I’ll use a code sample from the “DLinq Overview for CSharp Developers” document included in the Linq May CTP (in C# 3.0, but the same applies to VB9).

Continue reading ‘Creating a Data Access Layer with Linq to SQL, part 2’

Creating a Data Access Layer with Linq to SQL, part 1

There is no doubt that Linq to SQL will have an enormous impact on the way we write data access layers. I wouldn’t be surprised to find out that the impact is so profound, that we might even have to reconsider the very nature of a data access layer. In fact, what is a data access layer (DAL) anyway?

Continue reading ‘Creating a Data Access Layer with Linq to SQL, part 1’

First day at Tech·Ed

It’s been an exciting day today at Tech·Ed.

I went to see Mike Pelton’s session on WPF, and I felt like a kid in a toy store, saying “Mammy, I want that too!”. It really looks nice, very developer friendly and powerful. This will definitely change the nature of Windows applications. And I don’t think it will just impact games and little nice tools that your grandma uses to burn DVD’s. The ease with which you can compose user interfaces will have a profound impact on business applications too, even if those don’t need the fancy graphics and 3D animations. That good old combobox will never look the same again.

The other session that was really impressive was the one on LINQ by Anders Hejlsberg. I had read about LINQ and knew it would be impressive, but the power of this thing was still amazing. I guess it’s a bit like a chainsaw, sometimes you need one but you don’t give it your kids to play with, too dangerous. But the thing is, if you handle it carefully, its’ a real powertool that can save you many hours of work. Especially if, like mine, most of your applications have that database in the back and add lots of XML to the mix.

Tomorrow will bring even more LINQ and WPF, but first I have to go to a party. Talk to you later.

RSS My U2U Blog

  • An error has occurred; the feed is probably down. Try again later.

RSS Top blogs linking to here

  • An error has occurred; the feed is probably down. Try again later.