|
|
Front Page News
-
|
To make a long story short: the ADO.NET team is now responsible of ADO.NET Entity Framework (including LINQ to Entities) and of LINQ to SQL (the last one was originally in charge of the a separated team, tied to the C# compiler). There is an evident overlapping...
|
-
|
If you are at PDC 2008, I'll be at book signing for Programming Microsoft LINQ at bookstore on Tuesday 28, during the coffee break between 3:00 and 3:30 PM. I and Paolo will be happy to meet you and receive your direct feedback about our LINQ book....
|
-
|
Today I needed to use SqlBulkCopy class passing an IEnumerable<T> as a source instead of a IDataReader. Before writing something that someone else could have already written, I made some search and I found this interesting post that solve exactly...
|
-
|
Bart De Smet just wrote a long post about LINQ predicates that can be defined without returning a boolean value. This is something I partially evaluated writing the Programming Microsoft LINQ book, but in his post Bart goes very deep on this topic and...
|
-
|
Paul Stovell made a presentation on " Reactive Programming and Bindable LINQ " at TechED Australia 2008 (unfortunately, I was at the antipode in Italy, but the topic is really interesting). I didn't know there are projects somewhat similar to Bindable...
|
-
|
I just received a mail from Adam Machanic that pointed me to this bug (I would call it a performance issue) about the construction of SQL statements generated by the LINQ to SQL engine. The issue: every string passed as a constant in the query will be...
|
-
|
In the Programming Microsoft LINQ book we dedicated two whole chapters (76 pages) about the writing of a IQueryable LINQ provider: one is about expression trees and the other covers the several ways to extend LINQ, including the writing of an IQueryable...
|
-
|
Dinesh Kulkarni wrote an important post about changes in LINQ introduced by .NET 3.5 SP1 that has been released yesterday. One of the interesting changes is in the Cast<T> operator and its behavior is better described in this post by Ed Maurer....
|
-
|
I have just validated this bug posted on Connect. It seems a compiler issue, I'd like to read a Microsoft answer about this. However, the general issue is that using ArrayList in a lambda expression with a collection initializer could be dangerous. There...
|
-
|
Eric White has written an interesting post titled "Are developers using LINQ?" - there are interesting considerations about the adoption of functional programming too, but the most interesting part for me is the list of comment of the post. A lot of people...
|
-
|
I just read a post about getting multiple results with LINQ to SQL without using stored procedures. This technique is interesting when you have multiple queries returning a few rows each one and you want to save time by skipping some roundtrip between...
|
-
|
A few days ago I found a bug in a program written using LINQ to SQL, which was caused by years of use of SQL. The requirement was something like: get the distinct values of (bla bla bla) sorted alphabetically. An example of the required query with Northwind...
|
-
|
Look at this excellent blog post written by K. Scott Allen . I completely agree with him: don't try to optimize a LINQ query until you measure its performance and understand it is really a bottleneck that needs to be improved. An interesting consideration...
|
-
|
Samuel Jack wrote two interesting posts discussing possible extension methods for LINQ. One is to implement progress reporting of a LINQ query. The other is to implement a way to cancel a running LINQ query . Both implementations are very simple and they...
|
-
|
If you are using the Object Relational Designer of LINQ to SQL creating an entity of an existing table that has some VARCHAR(1) fields, you are going into this issue. The data member created in C# is char instead of string. If the field is always filled...
|
-
|
While you have few reviews, a single bad review lower the overall rate. Today we got a bad review, probably because there was a misunderstanding about the scope of the book. I feel the need to give some information to help other possible readers to make...
|
-
|
Eric White shows some interesting use of LINQ to XML to query an Open XML document. Something that is not immediate to learn when you use LINQ is that you can define your own extension methods to make your queries smarter and more readable. This post...
|
-
|
Two sample chapters of my Programming Microsoft LINQ book are finally available. Links to download pages in the chapters title. Chapter 6 - Tools for LINQ to SQL In this chapter, we took a look at the tools that are available to generate LINQ to SQL entities...
|
-
|
A comment received by one reader of Programming LINQ suggested me to underline a concept that is not so intuitive using LINQ, especially if you come from years of SQL coding. The idea is very simple. Two entities in LINQ might be related in the model....
|
-
|
I and Paolo have been interviewed at TechEd by Ken Rosen. We talk about our experience as book authors. If you are interested in writing a book, or if you simply want to see our faces and hear our italian accent, you can watch the video available in both...
|
-
|
I'm already in Orlando for TechEd 2008 Developers . Tomorrow I and Paolo Pialorsi will be at the TechEd bookshop for a book signing of our just released Programming Microsoft LINQ , scheduled at 4:00PM-4:30PM. I wrote a post a few days a go with the list...
|
-
|
Finally, the Programming Microsoft LINQ book is available . We updated the website that supports our books ( http://programminglinq.com ), where you can download the sample code of the book. What’s in this book? Well, we tried to cover everything that...
|
-
|
In the last days has been released the beta version of Visual Studio 2008 Service Pack 1, including a refresh build of ADO.NET Entity Framework and LINQ to Entities. Here you can find what's new in this build. And here you can find the breaking changes....
|
-
|
I've just seen the announcement of a new LINQ query provider targeting SharePoint contents. It looks really cool and interesting and I'm wondering to play with it. As soon as I started working on LINQ (3 years ago) I thought that a LINQ query provider...
|
-
|
Starting from today we've updated the LINQ Books Web Site ( http://www.programminglinq.com/) in order to support the new "Programming Microsoft LINQ" book that is publicly available since today (May 14th 2008). In the download area you can find the whole...
|
|
|
|