|
|
Front Page News
-
|
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...
|
-
|
I just want to link this post from Mircea Trofin with LINQ Framework Design Guidelines, which are very interesting if you want to extend LINQ in some way. In our upcoming Programming Microsoft LINQ book we wrote a whole chapter titled "Extending LINQ"...
|
-
|
Within 2 weeks our new Programming Microsoft LINQ should be finally available! Today I just read a post about a LINQ to Regex implementation that we would have covered in our book if only we had a time machine. When I thought at LINQ implementations in...
|
-
|
The new CTP of Microsoft Robotics Developer Studio implements a LINQ query syntax to define Data Contract Filters on DSS (Decentralized Software Services). I don't have a real experience on Robotics SDK, but I looked at documentation for the LINQ implementation...
|
-
|
I recently used LINQPad and I have to say that is a very very good tool. You can use it to test your LINQ query in a very interactive way. If you want to test LINQ to SQL, it automatically generates the necessary DataContext class and give you an environment...
|
-
|
The beautiful post LINQ Framework Design Guidelines is a valuable source if you write libraries of code in .NET. The introduction of LINQ is going to change some habits and to introduce new needs. These guidelines are really useful to help you write LINQ...
|
-
|
Writing the upcoming Programming Microsoft LINQ book, I encountered the following issue in LINQ to SQL. The Link<T> generic type is part of the deferred loading system for LINQ to SQL entities (it allows to defer the loading of a property, while...
|
-
|
A new white paper, Introducing LINQ to Relational Data , is available on MSDN. It is a very introductory article that highlights the main differences between LINQ to SQL and LINQ to Entities. It is a recommended reading if you hadn't time to look at LINQ...
|
-
|
Programmers used to write SQL queries often want to know a LINQ syntax equivalent to the SELECT NOT IN clause in SQL. Consider this code that returns all the customers who don't have an order in the Orders table. This is one SQL query that returns that...
|
-
|
Our book is now freely available here as an E-Book in PDF format. I'd like to remind you that the book has been written against LINQ May 2007 CTP, however about 80% of its contents are still good for the RTM bits. In the meantime I and Marco are working...
|
-
|
The Beta 2 of Visual Basic 9 changed the way it handles nullable types conversion. In our Introducing Linq book (based on Beta 1 of Visual Studio 2008) we wrote that it wasn't possible to assign a nullable value to the corresponding non-nullable type...
|
-
|
Local type inference allows using var everywhere for local variable declaration. While this is syntactically correct, it is not a good practice, at least in my opinion. I tried to write down what could be a set of best practices using local type inference...
|
|
|
|