NEWSLETTERS
 

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

 CIO BlackBerry News and Tips
 CIO Research and Analysis
 CIO Microsoft
 CIO Insider
 
 
 
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    
 

Windows 7 Webcast Series

There's a lot of buzz about Windows 7 out there. Each month in our webcast series, listen to analysts and customers discuss how Windows 7 and the Windows Optimized Desktop is impacting large companies around the world. Learn how they evaluated Windows 7, including the cost of deployment, deployment strategies, and tangible benefits.

Sponsored by Microsoft  Listen to on-demand Recordings »

 

Service Level Management Best Practices Life Cycle Overview - Improve Service Levels

Best practices for Service Level Management (SLM) is a process for consistently meeting customer requirements and delivering on IT's promises. See the steps required to ensure high-quality SLM.

Sponsored by Compuware  Read this White Paper »

 

Keeping Your Members Safe from Online Scams and Predators

In order to keep fraudsters out, romance sites must deploy effective solutions that look at information independent of what is supplied by users. A device fingerprinting solution such as iovation ReputationManager™ provides unique insight into the computers being used to create multiple accounts and exposes hidden device-account relationships that identity-based fraud solutions often miss.

Sponsored by iovation  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.

Defend Against Blended Threats: What You Need to Know

Blended Web and email threats are becoming increasingly complex and represent a huge...  View Now »

 

Prescriptive Actions to Reduce Risk

In this Webcast, learn best practices for effective systems management in a heterogeneous environment and keep client systems cost under control.   View Now »

 

Webcast- Vantage 11: Redefining Application Performance Management

Compuware's latest release, Vantage 11, is a major advance in end-to-end application performance management--bringing together proactive issue identification, quantification of business impact and problem resolution into a single solution. Tune in to learn how Vantage 11's top-down approach helps you make better decisions and dramatically lower operations costs.  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
 

Return on Information: Google Enterprise Search pays you back. Get the facts.

VMware. The source for Business Infrastructure Virtualization.

ShoreTel tells businesses to untangle from competitors' complexity and turn to its brilliantly simple UC solution

See how AT&T can help protect your network.

Streamline IT Costs. Boost Performance with WAN Optimization.

Build your 1st app FREE with Force.com

TDWI checklist helps define data readiness for analytics. Download report.

A Clear View Toward Virtualization

Virtualization Technology as a Business Solution

The rules of infrastructure management just changed.

A Clear View Toward Virtualization

Interactive Q&A helps you discover key ways to maximize IT assets.

Ready to virtualize tier one applications? Check your virtualization maturity.

Think you can't afford a Cisco Switch? Cisco Catalyst Switches are now more affordable.

Five minute business analytics assessment. Immediate results.

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

Upgrading to VMware vSphere with vWire

Top 10 Lessons Learned for Corporate 3G Mobile Broadband Deployments

CRM Built for IT: The Executive Guide to Selecting CRM that Meets IT Needs

Return on Information: Google Enterprise Search pays you back

ROI of Application Delivery Controllers

Making Consumer Two-Factor Authentication Simple and Cost-Effective

Mining the Cloud to Ease the Enterprise Compliance Burden

Solve Five Key IT Security Challenges with Cloud-Based Authentication

White Paper: Right-Sizing Your Power Infrastructure

AT&T Synaptic Storage as a Service. Expand on demand

Trend Micro ranked #1 against real-world malware. Read more.

Webinar: Jump-start your in-house e-discovery with Ringtail QuickCull from FTI Technology

Top Five CIO Challenges

Read the RSA report: Security for Business Innovation

64-page prescriptive guide to security, compliance, and IT operations.

Increase UPS efficiency without sacrificing protection.

eZine: A Roadmap to Reducing IT Complexity

Reduce risk, gain agility. See how Progress can help your business.

Virtualization Technology as a Business Solution

eZine: A Roadmap to Reducing IT Complexity

World-class trading technology solutions from NYSE Technologies.

If You're Paying for Telecom, You're Paying Too Much. Contact Asentinel Today.

Trade-In your old printer and save up to $1,000 plus free recycling!

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

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

Removing Barriers To Better Server Virtualization Efficiency

4G Revisited. The Continued Evolution of Wireless Mobility.

What's Next for Enterprise Resource Planning?

Maximizing website Return on Information with high-quality search

Gartner Magic Quadrant, Application Delivery Controllers 2009

Authentication as a Service by Forrester Research

Cloud-Based Authentication for Next-Generation Extranets

Cut Costs & Green Your IT Operations with PC Power Management

White Paper: 4 Customer Service Myths

 
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.