NEWSLETTERS
 

CIO.com updates, insights and advice on technology, management and your career.

 
 
 
SUBSCRIBE TO CIO
 

Are you involved in setting the direction for your company's IT budget or strategy?

Apply today for a FREE subscription to CIO Magazine!

» Subscription Services

» Reprints

 

 

Reader Feedback

Five Things the Boss Should Know About Microsoft's LINQ

 

Do you think that LINQ is just another in a long series of odd Microsoft technologies? This database-meets-software-development technology could easily save your development staff time and avoid complexity!

View Article »

READER FEEDBACK

Roger Jennings Tue, 2008-06-17 16:12

TechFunk cut and pasted this article verbatim into a blog post of 6/16/2008.

See the "CIO Magazine Posts Article on LINQ and TechFunk Copies It Verbatim" topic of LINQ and Entity Framework Posts for 6/16/2008+.

--rj

Mike Mon, 2008-06-23 22:04

LINQ appears to be a great technology, and while this article does is not wrong on the surface, it says nothing about incorporating this technology into an existing application. If you have visions of ripping out your data logic and moving to LINQ because of its benefits, understand that you have to go through the work of replacing an existing, functional system with a new technology.

Joe Mayo Mon, 2008-06-30 22:37

This is a nice article that illuminates one of the many benefits of .NET technology in that you can access any data source with the same set of skills using LINQ.

In response to Mikes post - I have to disagree. There isn't anything about LINQ that requires you to remove any other technology. Upgrading from .NET 2.0 to .NET 3.5 is a breeze and you can begin using LINQ side-by-side with existing technology right away.

LINQ is more than a database access technology; it is a way to access any data source, including objects.

Joe
http://www.csharp-station.com

Anonymous Tue, 2008-07-01 07:35

So where is the best place to start learning this new technology? How do we get our feet wet on a test project?

Joe Mayo Thu, 2008-07-03 20:16

Anonymous,

Here's an overview paper from Don Box and Anders Hejlsberg:

http://msdn.microsoft.com/en-us/library/bb308959.aspx

If you don't have Visual Studio 2008, you can download Visual C# Express, which is a free IDE:

http://www.microsoft.com/express/

If you need a database, you can also download SQL Server 2005 Express, which is also a free download from the link above.

Also, here's a series of blog posts by Scott Guthrie that form a tutorial for learning LINQ:

http://weblogs.asp.net/scottgu/archive/2007/09/07/linq-to-sql-part-9-using-a-custom-linq-expression-with-the-lt-asp-linqdatasource-gt-control.aspx

And finally, Charlie Calvert's Community Blog is a goldmine of information on all that is LINQ (as well as much other useful information):

http://blogs.msdn.com/charlie/default.aspx

Joe
http://www.csharp-station.com/

eschindler Fri, 2008-07-04 08:28

Thanks, Joe!

Of course, we should also direct readers to John Mueller's book, which is coming out momentarily.--Esther

Deepak Tue, 2008-07-15 01:16

LINQ is definitely revolutionary. The reason I say so is because it enables you to work with different data-sources with one streamlined approach. This means that if you know LINQ you can read-write data from sources such as RDBMS, XML and just plain objects.

DeepakKapoor.Net

Damon Wilder Carr Wed, 2008-08-06 10:07

Excellent article

It is rarely disputed that Linq as delivered in .NET 3.5 is perhaps the single largest 'tactical/operational' win a development team can achieve given the constraints discussed below. Sure there are larger wins we leave on the table daily, and have for over a decade. But this is an easy win where OO is enhanced with Functional Language declarative syntax:

We all have suffered through poor adoption for initiatives reaching into 'fuzzy abstractions'. Rare is the team systemically speaking in 'design patterns' and truly succeeded in Agile via the far greater mandate for OO design skills, not code skills (that is just assumed). Even code reuse is almost a lost cause for many.

Here we have the one thing that works with few exceptions in a (for now) 'code-driven' not 'domain-driven' world. Developers know they need to master this, there is little ambiguity on the tactical aspects, and the bottom line of moving code to declarative over imperative is just too critical to ignore.

Those who cannot support this for legacy work, or other self-imposed (typically) constraints so be it. Your already behind.

There can be little argument why this cannot drive new development as doing otherwise is a drastic acceptance of further mediocrity in aggregate (of course your group is the exception), fear, uncertainty and doubt and another example of the tail wagging the dog in IT hampering its own ability to be of strategic value to the business.

I for one am embarrassed at our track record in this area. There are seriously not many technical barriers these days, only human (also much harder to overcome I admit but utterly illogical to our stakeholders far too often).

My company and I demand that software as an industry, especially in servicing corporate strategy be allowed to become 'domain-driven' and do what we know almost universally know how to do: become that strategic resource.

Kind Regards,
Damon Wilder Carr
domain.dot.net team

Guy Fri, 2008-10-03 13:34

My advice - wait a year, and never ever adopt a 1st release from anyone. Set a reminder on your calendar and see if LINQ is hot stuff in a year or just another toy.

Anand Fri, 2009-04-24 01:44

Everything about linq is nice but if a method contains LINQ query expression and during debug mode if you edit that query or any other non LINQ code within that method you can't compile and continue.
You have to restart the app recompile and only then it will let you continue.

edit and continue will not work for that method.

so i separate all LINQ queries to another method .

This is a very serious handicap.

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

 
  PARTNERS       WEBCASTS    
 

Preparing for the Next Cyber Attack

Ensure you are up-to-speed on the latest security technologies available to keep your network safe in this Executive Guide. Get a thorough assessment of the corporate security threat landscape. Protect your network with data leakage protection, NAC and other technologies explained in this report.

Sponsored by Qwest  Read this Executive Guide »

 

Cloud Building: 8 Ingredients for Internal Clouds

Cloud computing: a fundamentally new way to deploy IT services and functions cost-effectively and quickly. Learn how the VMware vCloud initiative dramatically improves how consumers access their information and experience applications as well as the 8 ingredients to get you going.

Sponsored by VMWare  Read this White Paper »

 

Investing in Business Analytics Technology

You're thinking now is the time to take the plunge into business analytics, but you still have some unanswered questions. This research summary addresses the most common questions and concerns surrounding the successful launch of a business analytics initiative. It also includes real-world examples of organizations already getting return on their investment.

Sponsored by SAS  Read this White Paper »

Resource Alerts

Get instant email notifications by topic when white papers, webcasts, and case studies are added to our library.

Resource Alerts

Get instant email notification when white papers, webcasts, and case studies are added to our library. Don't just be up-to-date—be up to the minute with our new Resource Alerts.

Improving Transparency and Accuracy in IT Cross Charging

During this Webcast you'll learn how KBC Group implemented SAP BusinessObjects Profitability and Cost Management and realized many benefits.   View Now »

 

Cost Savings and Risk Reduction with Effective Systems Management

Join us and see how Novell can help you respond to today's economic challenges by increasing productivity, reducing costs and aligning IT initiatives with overall business goals.  View Now »

 

Capitalize on Your SAP Content

Learn ways to improve your content management by viewing these Open Text webinars today.  View Now »

Resource Alerts

Get instant email notification when white papers, webcasts, and case studies are added to our library. Don't just be up-to-date—be up to the minute with our new Resource Alerts.

 
 
FEATURED SPONSORS
 
 
 
SPONSORED LINKS
 

Introducing the new HP ProLiant G6 server family

Accenture: Outsourcing for Competitive Advantage. More...

Better spam protection with Postini for just $1/user/mo

Introducing the new HP ProLiant G6 server family

infoBOOM! - The Mid-Sized Company CIO's Exclusive Community

Accenture IT Consulting: Logical meets technological. More . . .

The Fraudster Economy Model: Operating a Business in the Underground

Trade in your old laser printer and get up to $1000 back!

Taking the Service Desk to the Next Level

Revolutionizing Enterprise Application Deployment

Why Data Loss is Increasing--and What You Can Do About It

Data Loss Prevention: A Better Way to Approach Security

Learn how to managing client systems in the enterprise.

Build a High-Performance Open Web Platform

Mid-Sized Company CIO Community: infoBOOM!

Enterprise PBX Comparison Guide

Getting Value from Outdated Networking Equipment

Losing Ground: 2009 TMT Global Security Survey

Stop Application Fraud at the Source with Device Reputation

Learn about the VMware vSphere (TM) & Intel (R) Xeon (R) Processor 5500 Series

Learn how a virtualized enterprise can help your company reduce costs

Why Isn't Server Virtualization Saving Us More?

Learn how to save 30% through project & portfolio management.

How Open Source is Changing the Face of Enterprise Software

8 Key Ingredients to Building an Internal Cloud

Accenture IT Consulting: Enabling high performance. More...

Top Five CIO Challenges

Insight makes it easy to spend your Microsoft subsidy check.

Five minute business analytics assessment. Immediate results.

Dangerous Collaboration Practices: 5 Ways IT Can Minimize Risk

Accenture: Outsourcing for uncertain times. Click to learn more.

The Case for Investing in Business Analytics Technology. Read white paper.

Live Webinar: Applying Business Analytics. Click here to learn more

Seven Ways ITIL Can Help You in an Economic Downturn

Developing A Dynamic, Real-Time IT Infrastructure

Maximizing the Business Value of the PC Infrastructure

Communications and Collaboration Needs at Business Organizations

Using Open Source to Deploy Web Applications

Cloud Computing: Read about VMware's compelling vision & set of products

Enterprise PBX Buyer's Guide

Secondary Market Primer: Your Network at Half Price

How Interactive Viewer Reduces the Effort to Meet Visualization Requirements

Top-line Performance that's Bottom-line Efficient

White Paper: 8 Key Ingredients to Building an Internal Cloud

Read about virtualization and consolidation effort best practices

Building the Virtualized Enterprise with VMware Infrastructure

The Global Marketplace Today: Strategies for Tough Times

Top 10 Business and IT Drivers for the Wealth Management Sector

5 Steps to Automating Accounts Payable

Bottom-Line Benefits of Virtualization

 
CIO MARKETPLACE buy a link
 
Software License control, Windows XP/2000 Upgrades

Use your Intranet to manage Software Licenses, plan for Windows XP/2000 upgrades, do Security Audits and more. Click to try and ask for our white paper - PC Management for the Internet Age.

UNIX and Linux Performance Tuning Simplified

SarCheck is a performance analysis and tuning tool for most UNIX & Linux operating systems. It produces recommendations with full explanations, and both supporting graphs and tables. Get the most from your hardware by keeping your systems tuned.

.NET Developer Wanted - Boston - Local Candidates

AIR provides sophisticated analytical tools and software systems to help companies manage that risk. We are seeking a Sr .NET Developer with 8-10 yrs exp in .Net & OO development. ASP.NET, VB.NET skills required. Annual bonus - Apply Now

Get More from Your Oracle Database

DBAs are constantly challenged to increase performance and keep costs down. This paper discusses the industry best-practice Wait-Event analysis and how Confio has combined this with their Resource Mapping Methodology to optimize DB performance.