.Net creator sees developer future with LINQ

A new Microsoft framework called LINQ simplifies how data is integrated into .Net applications.

As the man credited with creating .Net, Anders Hejlsberg has been in charge of making it easier for developers to build increasingly complex applications for years.

With a new technology called .Net Language Integrated Query, or LINQ, introduced by Microsoft at its Professional Developers Conference (PDC) Tuesday, he said the software giant has taken another step forward toward solving a common problem for developers: how to integrate various sources of data into applications built with object-oriented programming models.

"With a lot of programs today, you're not only saying what you want the program to do, you are saying in painful detail how you want it done," said Hejlsberg, a Microsoft technical fellow. "The way we get to take advantage of all of the progress in CPUs and memory is offloading some of that 'how to' to the infrastructure."

One way to do this is to simplify how developers bring relational data that is stored in databases more seamlessly into .Net applications, he said. LINQ is Microsoft's early attempt at bridging the gap between data and object-oriented programming, Hejlsberg said.

The framework, which is available to developers at the PDC as a community technical preview, adds data-query capability to .Net. This capability applies to all forms of data, so developers can query data from various sources, such as databases or XML (Extensible Markup Language) documents, right within their Visual Basic (VB) and C# code, Hejlsberg said. VB and C# are two common languages used to develop .Net applications.

Currently, the most common way to bring data from databases into an application developed in .Net is through SQL (structured query language). However, SQL uses a completely different vocabulary from languages such as C# and VB that .Net developers use to build applications, so it takes a lot of coding to bring the two languages together in one development framework, Hejlsberg said.

"Programmers writing enterprise applications [say] that sometimes when it comes to data, they feel more like plumbers than programmers" because they have to create ways to link the two languages to access data, he said. "There is no native understanding of the query language in C# or Visual Basic," Hejlsberg said.

Another problem with SQL is it can only be used to query data in relational databases. If developers want to access data from an XML document or from a source other than a database, where much of enterprise data now lives, they have to do it another way, Hejlsberg said. "There is a lack of coverage when it comes to query," he said.

Eventually, as LINQ becomes more fully developed, it will support all languages used for writing applications on .Net, Hejlsberg said."The dream is to create a single programming model for objects, relational data and XML," he said.

This will improve the productivity of .Net developers because they will no longer have to use two programming models to bring data into enterprise applications, he said. Additionally, it will allow them to leverage what they already know to accomplish a new task, thus evolving the development process without requiring developers to learn a lot of new skills.

"The way we truly move forward in development is to take the stuff you already know and add things that are missing," Hejlsberg said. "The body of stuff that is captured in the .Net framework or in the .Net languages ... today is vastly huger than the capabilities in query. So if you're faced with adding the .Net framework to query or query to the .Net framework, it's a lot easier to do the latter. That's effectively what we're doing."

Microsoft is not disclosing how LINQ will become a formal part of its product portfolio. However, it's likely the framework will be integrated in future versions of Microsoft's SQL Server database and Visual Studio tools platform, Hejlsberg said.

Join the newsletter!


Sign up to gain exclusive access to email subscriptions, event invitations, competitions, giveaways, and much more.

Membership is free, and your security and privacy remain protected. View our privacy policy before signing up.

Error: Please check your email address.
Keep up with the latest tech news, reviews and previews by subscribing to the Good Gear Guide newsletter.

Elizabeth Montalbano

IDG News Service
Show Comments

Brand Post

Most Popular Reviews

Latest Articles


PCW Evaluation Team

Tom Pope

Dynabook Portégé X30L-G

Ultimately this laptop has achieved everything I would hope for in a laptop for work, while fitting that into a form factor and weight that is remarkable.

Tom Sellers


This smart laptop was enjoyable to use and great to work on – creating content was super simple.

Lolita Wang


It really doesn’t get more “gaming laptop” than this.

Jack Jeffries


As the Maserati or BMW of laptops, it would fit perfectly in the hands of a professional needing firepower under the hood, sophistication and class on the surface, and gaming prowess (sports mode if you will) in between.

Taylor Carr


The MSI PS63 is an amazing laptop and I would definitely consider buying one in the future.

Christopher Low

Brother RJ-4230B

This small mobile printer is exactly what I need for invoicing and other jobs such as sending fellow tradesman details or step-by-step instructions that I can easily print off from my phone or the Web.

Featured Content

Product Launch Showcase

Don’t have an account? Sign up here

Don't have an account? Sign up now

Forgot password?