PC Review


Reply
Thread Tools Rate Thread

Advantages of going with LINQ

 
 
Ronald S. Cook
Guest
Posts: n/a
 
      29th Nov 2007
We're currently architecting an enterprise Windows app using WCF. However,
now with LINQ, we're planning to re-architect that way instead.

I've prepared the below in an attempt to explain/sell the new approach to
our team.

Any feedback would be greatly appreciated.


Early 90's: fat clients
- technology not "normal" for distributed computing


Late 90's: thin clients
- technology available to do it (DCOM, other)
- client hard drive space EXPENSIVE
- computing power of client PCs WEAK
- single place for business tier desirable
- pushing updates to many clients cumbersome


2007: full circle (back to the fat client)
- client hard drive space CHEAP
- computing power of client PCs STRONG
- ClickOnce makes pushing updates to clients EASY


LINQ instead of WCF pros:
- better performance/faster
- one push (ClickOnce) to client covers changes to service (business code)
too
- No need for all developers to have Team Database (since no procs, only
schema)


LINQ instead of WCF cons:
- if huge amount of data to crunch in the business tier with small result
set to be passed back to client, having business tier on server (closer to
database server) would be better since sending huge data across network to
the client would be a performance issue
- if hard line between developers and DBA (large shops), then would probably
want to use LINQ to procs so DBA can maintain control


Thanks,
Ron


 
Reply With Quote
 
 
 
 
Jon Skeet [C# MVP]
Guest
Posts: n/a
 
      29th Nov 2007
Ronald S. Cook <(E-Mail Removed)> wrote:
> We're currently architecting an enterprise Windows app using WCF. However,
> now with LINQ, we're planning to re-architect that way instead.


You make it sound like LINQ and WCF are alternatives to each other -
they're not. It's like saying, "We were going to use SQL Server, but
now we're going to use a web application."

WCF is a way of communicating with services.
LINQ is a set of technologies around querying data, whether in a
database or elsewhere.

The two just don't compete.

--
Jon Skeet - <(E-Mail Removed)>
http://www.pobox.com/~skeet Blog: http://www.msmvps.com/jon.skeet
World class .NET training in the UK: http://iterativetraining.co.uk
 
Reply With Quote
 
Ronald S. Cook
Guest
Posts: n/a
 
      29th Nov 2007
You're right, thanks.


"Jon Skeet [C# MVP]" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Ronald S. Cook <(E-Mail Removed)> wrote:
>> We're currently architecting an enterprise Windows app using WCF.
>> However,
>> now with LINQ, we're planning to re-architect that way instead.

>
> You make it sound like LINQ and WCF are alternatives to each other -
> they're not. It's like saying, "We were going to use SQL Server, but
> now we're going to use a web application."
>
> WCF is a way of communicating with services.
> LINQ is a set of technologies around querying data, whether in a
> database or elsewhere.
>
> The two just don't compete.
>
> --
> Jon Skeet - <(E-Mail Removed)>
> http://www.pobox.com/~skeet Blog: http://www.msmvps.com/jon.skeet
> World class .NET training in the UK: http://iterativetraining.co.uk


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
populate a DataSet via a LINQ query (Linq to XML) Anthony Microsoft C# .NET 12 19th Apr 2010 06:49 AM
Mixing linq to sql and linq to xml (in linqpad) timor.super@gmail.com Microsoft C# .NET 2 11th Jul 2008 12:05 PM
Linq to SQL - Return DataTable as a result of Linq query szwejk Microsoft C# .NET 3 1st Feb 2008 03:07 PM
advantages on LINQ thirumurugan.ga@gmail.com Microsoft C# .NET 4 11th Jan 2008 03:26 PM
In Orcas Linq, When does it happen to convert LINQ to SQL command =?Utf-8?B?UGV0ZXI=?= Microsoft ADO .NET 0 30th Aug 2007 02:38 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:51 AM.